Subject: Re: fsdb print
To: Al Urbaitis <avu@lanl.gov>
From: Manuel Bouyer <bouyer@antioche.eu.org>
List: netbsd-help
Date: 11/09/2005 23:18:06
On Wed, Nov 09, 2005 at 11:40:18AM -0700, Al Urbaitis wrote:
> Hello
>
> I seem to be missing something with the fsdb print command.
> It produces a lovely formatted output like this...
>
> current inode: directory
> I=2 MODE=40755 SIZE=1024
> MTIME=Oct 1 10:13:38 2004 [540000000 nsec]
> CTIME=Oct 1 10:13:38 2004 [540000000 nsec]
> ATIME=Nov 9 09:34:18 2005 [440000000 nsec]
> OWNER=root GRP=wheel LINKCNT=35 FLAGS=0x0 BLKCNT=0x2 GEN=0x0
>
> I expected something that i would have to grep for
> filenames and such. How do I get it to print
> the contents of the directory file ?
No, 'print' just prints the properties of the inode. To get directories
entries you can use ls (yes, this is a fsdb command too :)
--
Manuel Bouyer <bouyer@antioche.eu.org>
NetBSD: 26 ans d'experience feront toujours la difference
--