Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 24 Jun 1998 12:21:45 +0200 (CEST)
From:      zgabor@zg.CoDe.hu
To:        freebsd.org!FreeBSD-gnats-submit@zg.CoDe.hu
Subject:   bin/7043: fstat(1)
Message-ID:  <199806241021.MAA00740@CoDe.hu>

next in thread | raw e-mail | index | archive | help

>Number:         7043
>Category:       bin
>Synopsis:       the fstat command doesn't know ISOFS, MSDOSFS, etc
>Confidential:   yes
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:
>Keywords:
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jun 24 03:30:01 PDT 1998
>Last-Modified:
>Originator:     Zahemszky Gabor
>Organization:
CoDe Ltd.
>Release:        FreeBSD 2.2.6-RELEASE i386
>Environment:

	2.2.6-RELEASE with a mounted CD or DOS-type fs

>Description:

	The fstat(1) comamnd doesn't know anything about ISOFS, MSDOSFS, etc.
As from the src (1.7.2.5), the only supported vnode tagtypes are:
UFS, MFS, NFS.  It's a big problem, as one cannot find info about
files/processes using CD-ROMs, files on Dos filesystems (and on the other
filesystems - well most of them doesn't work - as I know).  By the way,
the output is not so understandable:
$ mount /cdrom
$ cd /cdrom
$ fstat -p $$
....
logname	   sh		pid	wd -         - ?(e)     -
....
$ mount /dos
$ cd /dos
$ fstat -p $$
....
logname	   sh		pid	wd -         - ?(10)     -
....

>From the source (and from sys/vnode.h) I found, that it's the enum value
of the fs tyep - but maybe it would be better to write it ...

>How-To-Repeat:

	Mount a CD or a DOS partition or a devfs/(cfs)Codafs/or any other
type of filesystem, and run fstat.

>Fix:
	
	

>Audit-Trail:
>Unformatted:

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



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