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

Re: r40099 - in trunk/packages/rootskel: debian



Joey Hess wrote:
> Colin Watson wrote:
> > +  [ Colin Watson ]
> > +  * src-bootfloppy/sbin/init: Use list-devices to find storage devices.
> > +
> >   -- Frans Pop <fjp@debian.org>  Sun, 20 Aug 2006 00:20:43 +0200
> >  
> >  rootskel (1.34) unstable; urgency=low
> > 
> > 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..

-- 
see shy jo

Attachment: signature.asc
Description: Digital signature


Reply to: