From owner-freebsd-current Mon Nov 26 11:43:33 2001 Delivered-To: freebsd-current@freebsd.org Received: from smtpzilla1.xs4all.nl (smtpzilla1.xs4all.nl [194.109.127.137]) by hub.freebsd.org (Postfix) with ESMTP id 0D5F337B405 for ; Mon, 26 Nov 2001 11:43:29 -0800 (PST) Received: from trantor.xs4all.nl (trantor.xs4all.nl [194.109.61.248]) by smtpzilla1.xs4all.nl (8.12.0/8.12.0) with ESMTP id fAQJhQl9045190; Mon, 26 Nov 2001 20:43:27 +0100 (CET) Received: from trantor.xs4all.nl (localhost [127.0.0.1]) by trantor.xs4all.nl (8.11.6/8.9.3) with ESMTP id fAQJhP655909; Mon, 26 Nov 2001 20:43:25 +0100 (MET) (envelope-from paulz@trantor.xs4all.nl) Message-Id: <200111261943.fAQJhP655909@trantor.xs4all.nl> X-Mailer: exmh version 2.5 07/13/2001 with nmh-1.0.4 To: Maxime Henrion Cc: current@FreeBSD.org, Paul van der Zwan , paulz@trantor.xs4all.nl Subject: Re: df -l broken In-Reply-To: Message from Maxime Henrion of "Mon, 26 Nov 2001 00:05:31 +0100." <20011126000531.A280@nebula.noos.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Mon, 26 Nov 2001 20:43:25 +0100 From: Paul van der Zwan 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 > Paul van der Zwan wrote: > > > > I noticed the -l option of the df command is broken. It is supposed to > > print df for local filesystems but on my system it prints nothing at all. > > I had a quick look at the code , as far as I can tell it uses sysctl to > > figure out the mounted filesystems but thinks all of them are non-local and > > ignores them. > > Using sysctl -a I could not find any entries which looked vaguely like > > describing a mount.. > > > > Paul > > Could you please test the attached patch ? I did it in a hurry but it > may fix the problem. > It looks ok to me, just the local mounts show up.. Paul -- Paul van der Zwan paulz @ trantor.xs4all.nl "I think I'll move to theory, everything works in theory..." To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message