Re: r40099 - in trunk/packages/rootskel: debian
On Tue, Aug 22, 2006 at 04:17:56PM -0400, Joey Hess wrote:
> Joey Hess wrote:
> > Colin Watson wrote:
> > > Modified: trunk/packages/rootskel/src-bootfloppy/sbin/init
> > > ==============================================================================
> > > --- trunk/packages/rootskel/src-bootfloppy/sbin/init (original)
> > > +++ trunk/packages/rootskel/src-bootfloppy/sbin/init Mon Aug 21 14:46:15 2006
> > > @@ -96,12 +96,7 @@
> > > # be inserted at any time.
> > > DEVS=""
> > > if [ -z "$INSTALL_MEDIA_DEV" ]; then
> > > - if [ -d /dev/floppy ]; then
> > > - DEVS=/dev/floppy/?
> > > - fi
> > > - if [ -d /dev/scsi ]; then
> > > - DEVS="$DEVS `find /dev/scsi`"
> > > - fi
> > > + DEVS="`list-devices floppy` `list-devices disk` `list-devices partition`"
> >
> > This can't work.. the boot floppy does not have di-utils or udev on it.
>
> Also, I've checked ninou's 2.6 floppy code and it makedevs the floppy
> devices it uses based on what's in /sys/block/fd*. So there's no need
> to worry about adding this stuff to floppies; the 2.4 floppy code will
> only work with devfs and the 2.6 only with udev. Reverting this change..
Whoops. Sorry about that. Does ninou's code create devfs-style paths
(e.g. /dev/floppy/? as opposed to /dev/fd?), then?
--
Colin Watson [cjwatson@debian.org]
Reply to: