This one time, at band camp, Petter Reinholdtsen said: > > Package: hdparm > Version: 6.1-7 > Severity: wishlist > > To be able to check boot script order, and also to be able to start > boot scripts in parallel, it is important to know the dependencies of > the various boot scripts. The Linux Software Base specifies a init.d > header file format useful for this purpose, and adding such header to > the init.d scripts would make it possible for me to use this > information to check the current sequence and speed up the debian > boot. > > <URL:http://refspecs.freestandards.org/LSB_2.1.0/LSB-generic/LSB-generic/initscrcomconv.html> > documents the LSB header format. Some debian notes are available from > <URL:http://wiki.debian.org/?LSBInitScripts>. > > Here is a proposed dependency header to document the dependencies of > hdparm. It is slightly tested using the insserv package and the new > parallell booting support in sysvinit. > > ### BEGIN INIT INFO > # Provides: hdparm > # Required-Start: mountvirtfs > # Required-Stop: > # Default-Start: S 1 2 3 4 5 > # Default-Stop: 0 6 > ### END INIT INFO
Default-Start should really only be S, except that if a device node is created by udev or something later, it will run again for that device node. I do not know if that makes a difference in this setup, though. Also, it seems that hdparm should start after udev and/or coldplug has created the real device node for the root fs, if they are present. So, from my reading of things, this gives us: ### BEGIN INIT INFO # Provides: hdparm # Required-Start: mountvirtfs # Should-Start: udev coldplug # Required-Stop: # Default-Start: S # Default-Stop: 0 6 ### END INIT INFO Does that look right to you? Does coldplug even use an init script (I don't know, having given up on md maintained packages for now)? Take care, and thanks, -- ----------------------------------------------------------------- | ,''`. Stephen Gran | | : :' : [EMAIL PROTECTED] | | `. `' Debian user, admin, and developer | | `- http://www.debian.org | -----------------------------------------------------------------
signature.asc
Description: Digital signature