home *** CD-ROM | disk | FTP | other *** search
- From: franks@hpuamsa.neth.hp.com (Frank Slootweg CRC)
- Date: Wed, 22 Jul 1992 14:13:57 GMT
- Subject: Re: fs(filesystem) structures
- Message-ID: <28510290@hpuamsa.neth.hp.com>
- Organization: Hewlett-Packard, The Netherlands
- Path: sparky!uunet!cs.utexas.edu!zaphod.mps.ohio-state.edu!sdd.hp.com!hpscdc!hplextra!hpcc05!hpbbn!hpuamsa!franks
- Newsgroups: comp.sys.hp
- References: <1992Jul19.194809.9856@CS.ORST.EDU>
- Lines: 22
-
- Assuming you want to look at the filesystems on disk(s) (i.e. not in
- memory): See fs(4) (That wasn't too hard was it? :-)) and take it from
- there. See also the System Administration Concepts manual.
-
- > I'm looking for the info in the fs(filesystem) structures & would like to
- > know the best(most direct) way of accessing it.
-
- The most direct way may not be the "best" (i.e. portable) way. See
- also opendir, readdir, telldir, seekdir, rewinddir, closedir(3C),
- stat(2), etc..
-
- > If not, is there a direct way to access the
- > root i-node(is it guaranteed to be in a certain position in the inode table)?
-
- The root inode is inode number 2 (see fs(4)).
-
- Hope this helps.
-
- Perhaps it is wise to explain what you try to accomplish. You posting
- was rather terse and left a lot of guessing.
-
- Frank Slootweg, HP, Dutch Customer Response Center
-