From: Payal Rathod <payal-fs@scriptkitchen.com>
To: reiserfs-list@namesys.com
Subject: a bit OT: traditional Unix filesystems
Date: Thu, 14 Sep 2006 13:05:44 -0400 [thread overview]
Message-ID: <20060914170544.GA7793@tranquility.scriptkitchen.com> (raw)
Hi,
I have a small OT query on working of traditional filesystem of Unix.
Can someone comment/correct me on the query below?
If i type $ cat /tmp/payal.txt (according to my knowledge) inode of / is
found out (2) from super-block. From there physical location of "/" is
read (i.e. the directory entry) and from there inode of tmp is found
out. Then directory entry of tmp is read and inode of payal.txt is found
out and then data blocks of that file are read.
Am I correct in this?
Now if tmp is on different partition or harddisk, how will directory
entry of "?" point it out exactly? As far as I know, directory entry
contains names and inode number and not the device details, then how
does it exactly work? I googled a lot for it, but didn't find exact
answer. Can someone please explain?
With warm regards,
-Payal
next reply other threads:[~2006-09-14 17:05 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-09-14 17:05 Payal Rathod [this message]
2006-09-14 17:13 ` a bit OT: traditional Unix filesystems Danny Milosavljevic
2006-09-14 19:43 ` Quinn Harris
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20060914170544.GA7793@tranquility.scriptkitchen.com \
--to=payal-fs@scriptkitchen.com \
--cc=reiserfs-list@namesys.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.