LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-22-2008, 02:25 AM   #1
bhanu001
LQ Newbie
 
Registered: Feb 2008
Location: Pune, Maharastra, India
Posts: 9

Rep: Reputation: 0
Cool Inodes across the File Systems


1. The inode number is unique for every file in a File System. Do files across
file systems have same inode numbers ?

2. And how to view super-block of a file system ?

3. Is it possible for a part of a subtree of the file system in any directory to be present across two file systems ?
 
Old 02-22-2008, 07:07 AM   #2
b0uncer
LQ Guru
 
Registered: Aug 2003
Distribution: CentOS, OS X
Posts: 5,131

Rep: Reputation: Disabled
Sounds (to me) like homework - is it?
 
Old 02-22-2008, 07:14 AM   #3
bhanu001
LQ Newbie
 
Registered: Feb 2008
Location: Pune, Maharastra, India
Posts: 9

Original Poster
Rep: Reputation: 0
Talking Reply

I am very sorry that you have mistaken this to be my homework. I am a student of Mathematics and because of sheer intrest I happen to buy some book on OPERATING SYSTEM by Tanenbaum. So if you can, Please clear my doubt. THANK YOU for responding.
 
Old 02-22-2008, 07:45 AM   #4
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
Quote:
Originally Posted by bhanu001 View Post
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 View Post
2. And how to view super-block of a file system ?
Debugfs, see "set_super_value"?


Quote:
Originally Posted by bhanu001 View Post
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).
 
Old 02-22-2008, 08:00 AM   #5
bhanu001
LQ Newbie
 
Registered: Feb 2008
Location: Pune, Maharastra, India
Posts: 9

Original Poster
Rep: Reputation: 0
Wink Reply

Thank you very much for your reply (and ofcourse for your patience). Since
I am a beginner for a few days I will have such ignorant doubts. I hope YOU ALL pardon me and HELP me in understanding LINUX OPERATING SYSTEM better. with love, BHANU.
 
Old 02-22-2008, 08:30 AM   #6
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
No problem, you're welcome. Please don't use caps like that though, there's no need to shout, we hear you loud and clear.
 
  


Reply

Tags
file, inode, systems



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
File Systems spaceballs Slackware 57 09-27-2007 07:05 AM
fsck move file when removing inodes? allasso Linux - General 2 09-26-2006 05:22 PM
LXer: Cluster File Systems Attains World Leadership Position In High Performance File System LXer Syndicated Linux News 0 07-14-2006 06:21 AM
Inodes an File System Management okter Programming 1 05-13-2005 06:01 PM
Is arrangement of file systems will differ if we copy a file from FAT 32 to ext 3 ? anindyanuri Linux - Software 2 02-20-2005 11:39 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:24 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration