On Sat, Feb 20, 2010 at 09:05:37PM +0100, Goswin von Brederlow wrote: > > I'm experimenting with running fsck for / from the initramfs to avoid > the extra reboot when the filesystem is changed. The initramfs has no > /etc/mtab (as that is obsolete anyway) but /proc/mounts. I think it > would be good for e2fsck to use /proc/mounts to check if a filesystem > is mounted preferably or as fallback when /etc/mtab does not exist.
Why do you think it's not using /proc/mounts? As you can see in lib/ext2fs/ismounted.c, /proc/mounts is used as a fallback when /etc/mtab does not exist. Regards, - Ted -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org