On Sat, Aug 22, 2009 at 05:50:51PM +0200, Petter Reinholdtsen wrote: > [Aurelien Jarno] > > It is possible, > > Right. > > > but that just mean we need to split our script in 4 or 5 scripts. > > Then I am lost again. How could this work earlier with one script, if > it can't work without many script with dependency based boot > sequencing. One should be able to get a script into any position in > the boot with dependencies, and if that worked earlier, why not any > more? What package contain the script? I am, as you can see, curious > how it used to be done. >
Let's give an example. Our script, among other things does: - Ensure that /etc/mtab is a symlink to /proc/mounts, and that has to be done before mtab.sh so that it don't remove /dev. It also needs to start after checkroot to be able to write on the file system. - Setup the permissions in /dev. It roughly corresponds to udev, and needs to provide udev, otherwise insserv is not able to solve the dependencies. So freebsd-utils needs checkroot, which needs mountdevsubfs, which should start udev which is provided by freebsd-utils => insserv fails. The patch among other things make sure that mtab.sh don't destroy /dev and ensure that /etc/mtab is a symlink to /proc/mounts, so the dependency on checkroot can be dropped. -- Aurelien Jarno GPG: 1024D/F1BCDB73 [email protected] http://www.aurel32.net -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]

