[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH] install udev rules into rules.d



On Fri, Jul 23, Ian Jackson wrote:

> Olaf Hering writes ("[Xen-devel] [PATCH] install udev rules into rules.d"):
> > -       $(INSTALL_DATA) $$i $(DESTDIR)$(UDEV_RULES_DIR); \
> > -       ln -sf ../$$i $(DESTDIR)$(UDEV_RULES_DIR)/rules.d; \
> > +       $(INSTALL_DATA) $$i $(DESTDIR)$(UDEV_RULES_DIR)/rules.d; \
> 
> What will this do if run on a system which already has the symlink
> arrangement from the previous versions of Xen ?  Perhaps some kind of
> fixing up is necessary.

I tried strace -f -o x -s 123 install a b, and b was unlinked first.
So it appears that the patch above is save.
Packing systems get this symlink-to-file thing right as well.

Olaf

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.