extjs中元数据_下列关于文件系统中元数据(比如ext2中的inode)的基本

inode结构体定义:

struct ext2_inode {

__le16            i_mode;                       /* File mode

文件模式:普通文件、目录、字符设备等等

*/

__le16            i_uid;                             /*

Low 16 bits of Owner Uid

拥有者

ID*/

__le32            i_size;                            /*

Size in bytes

文件大小

*/

__le32            i_atime;         /* Access time

最近访问时间

*/

__le32            i_ctime;         /* Creation time

创建时间

*/

__le32            i_mtime;       /* Modification time

修改时间

*/

__le32            i_dtime;        /* Deletion Time

删除时间

*/

__le16            i_gid;               /* Low 16 bits of

Group Id

用户组

ID*/

__le16            i_links_count;         /* Links count

连接数

*/

__le32            i_blocks;        /* Blocks count

物理块的数量

*/

__le32            i_flags;            /* File flags */

union {

struct {

__le32  l_i_reserved1;

} linux1;

struct {

__le32  h_i_translator;

} hurd1;

struct {

__le32  m_i_reserved1;

} masix1;

}

osd1;                                                       /* OS

dependent 1

所属操作系统

*/

__le32            i_block[EXT2_N_BLOCKS];/* Pointers to blocks

至多可以有

15

个“指针”

指向真正存放文件数据的地方

*/

__le32            i_generation;           /* File version

(for NFS)

文件版本

*/

__le32            i_file_acl;     /* File ACL

文件访问权限

*/

__le32            i_dir_acl;      /* Directory ACL

目录访问权限

*/

__le32            i_faddr;          /* Fragment address

片地址

*/

union {

struct {

__u8  l_i_frag;         /*

Fragment number */

__u8  l_i_fsize;        /*

Fragment size */

__u16             i_pad1;

__le16            l_i_uid_high;           /*

these 2 fields    */

__le16            l_i_gid_high;            /*

were reserved2[0] */

__u32             l_i_reserved2;

} linux2;

struct {

__u8  h_i_frag;        /*

Fragment number */

__u8  h_i_fsize;      /*

Fragment size */

__le16            h_i_mode_high;

__le16            h_i_uid_high;

__le16            h_i_gid_high;

__le32            h_i_author;

} hurd2;

struct {

__u8  m_i_frag;      /*

Fragment number */

__u8  m_i_fsize;     /*

Fragment size */

__u16             m_pad1;

__u32             m_i_reserved2[2];

} masix2;

}

osd2;                                                       /* OS

dependent 2 */

};

没有访问权限的记录。访问权限是根据所属用户的权限而定的。

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值