Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 30 Nov 2001 16:55:30 +0100
From:      Maxime Henrion <mux@qualys.com>
To:        current@FreeBSD.org
Cc:        Joerg Wunsch <joerg_wunsch@uriah.heep.sax.de>
Subject:   Re: df -l broken
Message-ID:  <20011130165530.A9979@nebula.noos.fr>
In-Reply-To: <200111300748.fAU7m9P10384@uriah.heep.sax.de>
References:  <200111252141.fAPLf1639599@trantor.xs4all.nl> <200111252256.fAPMubV20382@bunrab.catwhisker.org> <20011126000722.B280@nebula.noos.fr> <20011126222855.A14973@rtfm.net> <200111300046.fAU0kT653075@mikko.rsa.com> <20011130021335.A284@nebula.noos.fr> <200111300748.fAU7m9P10384@uriah.heep.sax.de>

next in thread | previous in thread | raw e-mail | index | archive | help
Joerg Wunsch wrote:
> Maxime Henrion <mux@qualys.com> wrote:
> 
> > I looked at the code a bit more closely and you're entirely right.  I
> > think I figured out why my patch caused a core dump.  Here is a more
> > correct patch that should fix the problem without causing core dumps.
> 
> Seems to work.  mount(8) has still the problem though:

Great, I'll file a PR for it.  Thanks for the feedback !

> uriah # mount -t local
> uriah # kldload nfs
> uriah # mount -t local
> uriah # mount -t nonfs
> /dev/da0a on / (ufs, local, soft-updates)
> devfs on /dev (devfs, local)
> /dev/vinum/var on /var (ufs, local, soft-updates)
> /dev/vinum/usr on /usr (ufs, local, soft-updates)
> /dev/vinum/home on /home (ufs, local, soft-updates)
> /dev/vinum/home_cvs on /home/cvs (ufs, NFS exported, local, soft-updates)
> /dev/vinum/src on /usr/src (ufs, local, soft-updates)
> /dev/vinum/othersrc on /usr/othersrc (ufs, local, soft-updates)
> /dev/vinum/obj on /usr/obj (ufs, local, soft-updates)
> /dev/vinum/ports on /usr/ports (ufs, local, soft-updates)
> /dev/vinum/distfiles on /usr/ports/distfiles (ufs, NFS exported, local, soft-updates)
> /dev/vinum/news on /var/spool/news (ufs, local, soft-updates)
> /dev/vinum/tmp on /tmp (ufs, NFS exported, local, soft-updates)
> /dev/vinum/release on /usr/release (ufs, NFS exported, local, soft-updates)
> /dev/vinum/junk on /junk (ufs, local, soft-updates)
> procfs on /proc (procfs, local, read-only)

I fail to see why should ``mount -t local'' work.  I don't see anything
related in the mount(8) manpage.  To my knowledge, -t is only used when
specifying a particular fs type (nfs, msdosfs, ...) optionally prepended
with a ``no''.  If you point me to the relevant documentation, I'll be
happy to fix this bug too.

Thanks,
Maxime Henrion
-- 
Don't be fooled by cheap finnish imitations ; BSD is the One True Code

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20011130165530.A9979>