Re: discussing [2006031503183331996]
"Thomas \"fake\" Jakobi" <fake-o+BlaNWM+K2Y/[email protected]> Wed, 15 Mar 2006 23:56:27 +0100
| Newsgroups | gmane.linux.distributions.rock.devel |
|---|---|
| Message-ID | <[email protected]> |
hi, Tobias Hintze schrieb: > talking of https://www.rocklinux.net/submaster/smadm.cgi?i=2006031503183331996 > [...] > that's a problem in e.g. stage=9 > the files must not exist for the above. you are absolutely right. i will write a patch right now. > we have some options here: > > 1.) rm -rf $root/lib/udev/devices before creating it. > ----------------------------------------------------- > pro: sane /lib/udev/devices > con: we might wipe out user-created devices in that dir > (we could offer another dir for such to the user) i'd rather not do this in favour of 3) > > 2.) `test -e` each link before creating > --------------------------------------- > con: user might still cause problems by putting > wrong files into that dir that wouldn't solve the problem, as the files wouldn't show up in the flist after stage 9 anymore (because they wouldn't be created). > > 3.) `rm -f` each single node before creating > -------------------------------------------- > con: dunno this is the correct solution. rm -f the link, create it. that way, it will work regardless wether the symlinks exist, and will show up in the flist correctly. greets, fake