[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[ale] determining blocksize?
- Subject: [ale] determining blocksize?
- From: ups at stups.com (Stephan Uphoff)
- Date: Tue Dec 16 14:25:08 2003
- In-reply-to: Message from Geoffrey <[email protected]> of "Tue, 16 Dec 2003 13:42:10 EST." <[email protected]>
Geoffrey wrote:
> Stephan Uphoff wrote:
> > Don't know about a utility - but stat(2) on any file/directory of the
> > fs should provide what you need.
> >
> > Just stating that such a utility is best written in C on this list
> > should yield 10 alternative implementations in 20 languages ;-)
>
> How about /usr/bin/stat ????
Yep - my mistake - I tried stat on the wrong box.
I guess /usr/bin/stat on my file server is just a little bit outdated
and can not display the required information ;-)
$ stat /etc/redhat-release
File: "/etc/redhat-release"
Size: 35 Filetype: Regular File
Mode: (0644/-rw-r--r--) Uid: ( 0/ root) Gid: ( 0/ root)
Device: 8,1 Inode: 22593 Links: 1
Access: Tue Dec 16 21:57:41 2003(00000.00:13:26)
Modify: Mon Apr 19 20:07:37 1999(01702.03:03:30)
Change: Mon Oct 16 19:14:35 2000(01156.03:56:32)
$cat /etc/redhat-release
Red Hat Linux release 6.0 (Hedwig)
Newer versions (just checked on R9.0 and FreeBSD) seem to have the required
functionality and support even neat command line arguments.
Stephan