getpwent for indoes?
Peter Klosky
peter at BASKIN.UUCP
Thu Oct 23 05:40:28 AEST 1986
A little more investigation has shown that du() and ls() may in fact
tell the truth about file size under 4.2 file systems in terms
of the number of blocks used; looks like there are more
fields available from stat() than in historic systems such
as System V. I wondered why our 4.2 manual did not list the du()
bug present in System V as a "limitation." Now I know.
So stat() may tell the truth about some things, though perhaps
not the whole truth.
Of course, I still don't know how to cat a file by inode number
under 4.2; in specific, the concept of cylinder groups has me
confused. Is there just one i-list or many on a given file system?
More information about the Comp.unix
mailing list