On 2002-05-19 06:26, Dima Dorfman wrote:
> Paul Herman <[EMAIL PROTECTED]> wrote:
> >
> > bash$ /usr/obj/usr/src/usr.bin/fstat/fstat -s /tmp /kernel
> > INODE  DEV    SIZE     BLOCKS MODE   FLAGS  LNK UID GID ATIME      MTIME     CTIME 
>     NAME
> > 235    226304 4114305  8096   100555 400000 1   0   0   1021779222 
>10217403541021740354 /kernel
> > 56651  226304 512      4      041777 000000 6   0   0   1021787523 
>10217876571021787657 /tmp
> >
> > so you can parse it however you like.  Either way, ls(1) or
> > fstat(1), as long as you can get the info you need.  :-)
>
> This looks much better than my extention.  I look forward to seeing
> this get into the tree.

True.  And it's only logical to have fstat print the `struct stat'
fields.  That would make things a *lot* easier, when trying to make
mergemaster.sh avoid all kinds of perl ;-)

-- 
Giorgos Keramidas    - http://www.FreeBSD.org
[EMAIL PROTECTED] - The Power to Serve

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to