[ale] determining blocksize?

John Wells jb at devsea.com
Tue Dec 16 14:31:46 EST 2003


Hmmm...no stat or /usr/bin/stat on my box.  Time to fire up apt!

Thanks,
John

Stephan Uphoff said:
>
> 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
>
>
> _______________________________________________
> Ale mailing list
> Ale at ale.org
> http://www.ale.org/mailman/listinfo/ale
>



More information about the Ale mailing list