Re: Inodes!

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

Attachment: signature.asc
Description: This is a digitally signed message part


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux