From owner-freebsd-current Fri Nov 30 7:55:37 2001 Delivered-To: freebsd-current@freebsd.org Received: from noos.fr (r178m112.cybercable.tm.fr [195.132.178.112]) by hub.freebsd.org (Postfix) with ESMTP id 65FC337B405 for ; Fri, 30 Nov 2001 07:55:32 -0800 (PST) Received: (from mux@localhost) by noos.fr (8.11.6/8.11.4) id fAUFtUi12309; Fri, 30 Nov 2001 16:55:30 +0100 (CET) (envelope-from mux) Date: Fri, 30 Nov 2001 16:55:30 +0100 From: Maxime Henrion To: current@FreeBSD.org Cc: Joerg Wunsch Subject: Re: df -l broken Message-ID: <20011130165530.A9979@nebula.noos.fr> 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> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200111300748.fAU7m9P10384@uriah.heep.sax.de> User-Agent: Mutt/1.3.23i Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Joerg Wunsch wrote: > Maxime Henrion 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