From owner-freebsd-bugs Wed Jun 24 03:30:36 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id DAA27244 for freebsd-bugs-outgoing; Wed, 24 Jun 1998 03:30:36 -0700 (PDT) (envelope-from owner-freebsd-bugs@FreeBSD.ORG) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id DAA27159 for ; Wed, 24 Jun 1998 03:30:14 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id DAA08218; Wed, 24 Jun 1998 03:30:01 -0700 (PDT) Received: from mail.euroweb.hu (mail.euroweb.hu [193.226.220.4]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id DAA25890 for ; Wed, 24 Jun 1998 03:23:52 -0700 (PDT) (envelope-from hu006co@mail.euroweb.hu) Received: (from hu006co@localhost) by mail.euroweb.hu (8.8.5/8.8.5) id MAA09584 for freebsd.org!FreeBSD-gnats-submit; Wed, 24 Jun 1998 12:22:59 +0200 (MET DST) Received: (from zgabor@localhost) by CoDe.hu (8.8.8/8.8.8) id MAA00740; Wed, 24 Jun 1998 12:21:45 +0200 (CEST) (envelope-from zgabor) Message-Id: <199806241021.MAA00740@CoDe.hu> Date: Wed, 24 Jun 1998 12:21:45 +0200 (CEST) From: zgabor@zg.CoDe.hu Reply-To: zgabor@zg.CoDe.hu To: freebsd.org!FreeBSD-gnats-submit@zg.CoDe.hu X-Send-Pr-Version: 3.2 Subject: bin/7043: fstat(1) Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >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