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

busybox: doesn't use /etc/mtab



Hi,
I'm just working on integrating new busybox into dbootstrap.
The old mount_xx()/do_umount() used /etc/mtab for information about
mounted filesystems. The new busybox uses /proc/mounts. These two
files are almost identical  (except for /proc/mounts lists
root device as /dev/root instead of the correct one, and misses
sometimes additional options).

I think that the old way (/etc/mtab) should be used.
What if /proc is not mounted? And of source dbootstrap needs to be updated.

				Petr Cech
--
Debian GNU/Linux maintainer - www.debian.{org,cz}
           cech@atrey.karlin.mff.cuni.cz


Reply to: