From jonny@coppe.ufrj.br  Sun Mar  1 04:05:04 1998
Received: from gaia.coppe.ufrj.br (cisigw.coppe.ufrj.br [146.164.5.200])
          by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id EAA05368
          for <FreeBSD-gnats-submit@freebsd.org>; Sun, 1 Mar 1998 04:05:03 -0800 (PST)
          (envelope-from jonny@coppe.ufrj.br)
Received: (from jonny@localhost)
	by gaia.coppe.ufrj.br (8.8.8/8.8.8) id JAA13238;
	Sun, 1 Mar 1998 09:05:01 -0300 (EST)
	(envelope-from jonny)
Message-Id: <199803011205.JAA13238@gaia.coppe.ufrj.br>
Date: Sun, 1 Mar 1998 09:05:01 -0300 (EST)
From: Joao Carlos Mendes Luis <jonny@coppe.ufrj.br>
Reply-To: jonny@coppe.ufrj.br
To: FreeBSD-gnats-submit@freebsd.org
Subject: df -t does not support devfs
X-Send-Pr-Version: 3.2

>Number:         5880
>Category:       bin
>Synopsis:       df -t does not support devfs
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Mar  1 04:10:01 PST 1998
>Closed-Date:    Tue Jan 9 00:16:21 PST 2001
>Last-Modified:  Tue Jan 09 00:17:18 PST 2001
>Originator:     Joao Carlos Mendes Luis
>Release:        FreeBSD 2.2.5-STABLE i386
>Organization:
COPPE/UFRJ
>Environment:

	FreeBSD -stable

>Description:

	df -t flag does not recognize devfs

>How-To-Repeat:

	Just type:

	df -t devfs

>Fix:
	
	The source patches for this particular problem are incredibly
      simple, but it could use some higher level interface like
      getvfsbyname() or similar and avoid having to change here
      everytime a new fs type is added.  Since I don't have experience
      with that, I'll not try a patch.

	Probably changing to true vfs interface is also needed by
      other programs.

>Release-Note:
>Audit-Trail:

From: Alfred Perlstein <bright@hotjobs.com>
To: freebsd-gnats-submit@freebsd.org, jonny@coppe.ufrj.br
Cc:  Subject: Re: bin/5880: df -t does not support devfs
Date: Fri, 11 Sep 1998 10:58:15 -0500

 it seems slightly fixed now:
 
 ~ % df -t devfs
 Filesystem  1K-blocks     Used    Avail Capacity  Mounted on
 /dev/wd0s1a     39647    20272    16204    56%    /
 devfs              16       16        0   100%    /dev            
 
 the: /dev/wd0s1a     39647    20272    16204    56%    /
 
 concerns me though.
 
 -- 
 Alfred Perlstein - Programmer, HotJobs Inc. - www.hotjobs.com
 -- There are operating systems, and then there's FreeBSD.
 -- http://www.freebsd.org/                        3.0-current

From: Adrian Chadd <adrian@freeBSD.org>
To: freebsd-gnats-submit@freeBSD.org, jonny@coppe.ufrj.br
Cc:  
Subject: Re: bin/5880: sf -t does not support devfs
Date: Tue, 9 Jan 2001 00:13:41 +0100

 Hi,
 
 The "new" devfs in -current seems to do df -t correctly now:
 
 pimping# df -t devfs
 Filesystem  1K-blocks     Used    Avail Capacity  Mounted on
 devfs               1        1        0   100%    /dev/
 
 I'm going to close this PR because I think the code now DTRT.
 
 Thanks!
 
 
 Adrian
 
 -- 
 Adrian Chadd			"Programming is like sex:
 <adrian@freebsd.org>		   One mistake and you have to support for
 				    a lifetime." -- rec.humor.funny
 
 
State-Changed-From-To: open->closed 
State-Changed-By: adrian 
State-Changed-When: Tue Jan 9 00:16:21 PST 2001 
State-Changed-Why:  


The new devfs seems to do the right thing with df -t. 


http://www.freebsd.org/cgi/query-pr.cgi?pr=5880 
>Unformatted:
