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

Re: Debian Boot Floppies CVS: boot-floppies porter

On Thu Nov 04, 1999 at 03:30:45PM -0800, Matt Porter wrote:
> CVSROOT:	/cvs/debian-boot
> Module name:	boot-floppies
> Changes by:	porter	1999-11-04 15:30:45
> Added files:
> 	scripts/rootdisk/prototype/etc: fstab 
> Log message:
> New busybox mount expects to find /etc/fstab else it errors (loudly).

Sorry about that.  The problem is that the kernel doesn't know
what the device name of the root device is (no dev special file
since / isn't mounted yet), so in /proc/mounts it lies and puts
in "/dev/root".  To get the real root device, we can call 
getfsfile(), but inside getfsfile() _libc_ pokes at /etc/fstab 
and whines rather cryptically if it can't find it.  It seemed
better to let busybox's whining be loud and obvious instead...

The new version of busybox (I just finished it and will be merging
it into boot floppies tonight) allows (at the cost of 1.4k extra)
you to use an /etc/mtab and bypasses the need for /etc/fstab
(It is probably not worth it to use mtab though). 


Erik B. Andersen   Web:    http://www.xmission.com/~andersen/ 
                   email:  andersee@debian.org
--This message was written using 73% post-consumer electrons--

Reply to: