AT&T UNIX™PC Unix System V Users Manual - tenox

AT&T UNIX™PC Unix System V Users Manual - tenox AT&T UNIX™PC Unix System V Users Manual - tenox

01.01.2013 Views

I I �I I I I I � I I 1� 1 1 I I I I I ,� I I I I I I I I I I I I

!NODE ( 4) NAME inode - format of an inode SYNOPSIS #include #include FILES lusr lincludelsyslino.h SEE ALSO stat(2), fs(4), types(S). INODE ( 4) DESCRIPTION An i-node for a plain file or directory in a file system has the following structure defined by . I* I node structure as it appears on a disk block. *I struct dinode { ushort di_mode; I* mode and type of file *I short di_nlink; I* number of links to file *I ushort di_uid; I* owner's user id *I ushort di_gid; I* owner's group id *I off_t di_size; I* number of bytes in file *I char di_addr[40]; I* disk block addresses *I time_t di_atime; I* time last accessed *I time_t di_mtime; I* time last modified *I time_t di_ctime; I* time created *I }; I* * the 40 address bytes: * 39 used; 13 addresses * of 3 bytes each. *I For the meaning of the defined types off_t and time_t see types(S). - 1 -

I<br />

I<br />

�I<br />

I<br />

I<br />

I<br />

I<br />

� I<br />

I<br />

1� 1<br />

1<br />

I<br />

I<br />

I<br />

I<br />

I<br />

,�<br />

I<br />

I<br />

I<br />

I<br />

I<br />

I<br />

I<br />

I<br />

I<br />

I<br />

I<br />

I

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!