On Apr  9, 2001, Jean-Louis Martineau <[EMAIL PROTECTED]> wrote:

> On Mon, Apr 09, 2001 at 12:22:36PM -0300, Alexandre Oliva wrote:
>> On Apr  9, 2001, Jean-Louis Martineau <[EMAIL PROTECTED]> wrote:
>> 
>> >> Here's a patch that fixes the bug.  Obviously, the last hunk is enough
>> >> to fix the bug, but I'm posting exactly what I'm about to check in:
>> >> 2.4.2 branch and mainline.

>> > But your patch break / for linux :-(

>> You sure?  It appears to work for me, both `/dev/something' and
>> `LABEL=/' in /etc/fstab.

> We search /proc/mounts before /etc/mtab.

> /dev/root doesn't exist and this entry of /proc/mounts should not be accepted.

I see.

Looks like we need an additional argument in search_fstab, say
check_dev, and get amname_to_devname to call search_fstab first with
check_dev == 1, so as to reject any entries whose device names don't
exist, then, if none are found (as it would be the case in Tru64),
retry iwth check_dev == 0.

-- 
Alexandre Oliva   Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer                  aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp        oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist    *Please* write to mailing lists, not to me

Reply via email to