Inodes!

Christopher Ness nesscg at mcmaster.ca
Tue Mar 9 18:28:55 UTC 2004


On Tue, 2004-03-09 at 13:00, Nelson Guedes Paulo Junior wrote:
> I've found this on /usr/include/ext2fs/ext2_fs.h
                                  ^^^^^^
I expect you will be using ext3fs with a default fedora install.

> /*
>  * Structure of an inode on the disk
>  */
> struct ext2_inode {
> 	__u16	i_mode;		/* File mode */
> 	__u16	i_uid;		/* Low 16 bits of Owner Uid */
> 	__u32	i_size;		/* Size in bytes */
> 	__u32	i_atime;	/* Access time */
> 	__u32	i_ctime;	/* Creation time */
> 	__u32	i_mtime;	/* Modification time */
> 	__u32	i_dtime;	/* Deletion Time */
> 
> Note that it has a Creation Time. Is this right?
> Normally I would expect a "inode modification time", not
> the Creation time of an archive.

The modification time is below that.  :)  Check out `man 2 stat` for
more info about inodes.  You can also inspect inodes from the CLI using
the `stat` program for any file.

# stat -c "Last Access: %x Last Modify: %y Last Change: %z"
./filename.goes.here

Cheers,
Chris
-- 
Software Engineering IV,
McMaster University
PGP Public Key: http://nesser.org/pgp-key/

13:15:49 up 19 min, 2 users, load average: 0.02, 0.14, 0.17 

Please avoid sending me Word or PowerPoint attachments.
See http://www.fsf.org/philosophy/no-word-attachments.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20040309/092290f5/attachment-0001.sig>


More information about the fedora-list mailing list