Tag Info

New answers tagged

1

You wrote: It surprises me to see find iterate/walk through the complete filesystem when I do a simple find -inum 12345 find, by definition, does a tree walk starting at the given directory or directories, with a default starting directory of .. find -inum 12345 will walk through the entire directory tree starting with the current working directory. ...


0

Inode numbers don't matter to normal applications. This is partly because there's little use for inode numbers, and partly because if an application depended on inode numbers, it would stop working after a backup-and-restore cycle. So backup systems don't restore the inode numbers, so applications don't depend on them, so backup systems don't need to restore ...


1

The very simple reason is that at least for the ext2/ext3/ext4 type filesystems the filenames are stored via the directory entries data stored in directory type files. This means that those files that are from type directory have a more or less intricate system to store filenames (of the files inside of the directory) and the inodes which lead to the data ...


-3

UNIX has three syscalls: lstat(),fstat(),stat() All of these system calls return a stat structure, which contains the following fields: struct stat { dev_t st_dev; /* ID of device containing file */ ino_t st_ino; /* inode number */ mode_t st_mode; /* protection */ nlink_t st_nlink; /* number of ...



Top 50 recent answers are included