Quote:
Originally Posted by bhanu001
1. The inode number is unique for every file in a File System. Do files across
file systems have same inode numbers ?
|
Toplevel, yes ( virtual filesystems like /proc and /sys have inode 1 and root has inode 2 ) but below, no. See for yourself and compare output of 'ls -1l|sort' on two machines.
Quote:
Originally Posted by bhanu001
2. And how to view super-block of a file system ?
|
Debugfs, see "set_super_value"?
Quote:
Originally Posted by bhanu001
3. Is it possible for a part of a subtree of the file system in any directory to be present across two file systems ?
|
mounted /var, fdisk, new partition, mkfs, mount /new/partition, "mount --bind /new/partition/log /var/log"?
* While homework is easy to spot when the OP blatantly copies over verbage from Teh Book or copies it across fora here or elsewhere, IMHO asking the homework question is justified (and any of your fellow LQ members is allowed to ask) for a lot of technical questions where the OP only states his or her questions but doesn't offer any trace of thought or experimenting (not mandatory but it helps).