home *** CD-ROM | disk | FTP | other *** search
- From: daveb@rtech.uucp (Dave Brower)
-
- In article <8024@ut-sally.UUCP> jsdy@hadron.uucp (Joseph S. D. Yao) writes:
- >In article <8018@ut-sally.UUCP> rbj@icst-cmr.arpa writes:
- >>I would also like to see an option not to cross mount points, that is
- >>stay on the same partition. This should be added to several major utilities.
- >Other than that, this is awfully hard to do unless you are willing
- >to break modularity by sticking info about the FS into programs
- >which have no need to know about it whatsoever.
-
- Hmmm. Since stat(2) returns
-
- struct stat {
- dev_t st_dev; /* device inode resides on */
- ino_t st_ino; /* this inode's number */
- .
- };
-
- it should be easy enough to see when you've crossed a device boundary,
- and this seems portable under POSIX. Why do you need additional info
- about the FS?
-
- -dB
-
- Volume-Number: Volume 11, Number 28
-
-