Path: utzoo!utgpu!water!watmath!clyde!burl!codas!ablnc!maxwell From: maxwell@ablnc.ATT.COM (Robert Maxwell) Newsgroups: comp.unix.questions Subject: Re: Accessing files by inode #s Summary: System V find Keywords: inode find Message-ID: <451@ablnc.ATT.COM> Date: 1 Feb 88 14:43:46 GMT References: <831@dolqci.UUCP> <530@celerity.UUCP> <3258@psuvax1.psu.edu> Organization: AT&T, Maitland, Florida Lines: 40 In article <3258@psuvax1.psu.edu>, schwartz@gondor.cs.psu.edu (Scott E. Schwartz) writes: > In article <530@celerity.UUCP> jjw@celerity.UUCP (Jim (JJ) Whelan) writes: > > >> find -inum -exec \; > > >The find will traverse file mount points so you may locate files in file > >systems other than the one you are interested in. Be especially careful > >with using "rm -f" as the command. > > If you are playing with "-inum" it is probably a good idea to use "-xdev" > also, if you want to prevent find from traversing other filesystems. > Do all versions of find support -xdev? 4.3BSD and SunOS3.4 find have it, > at any rate. > System V doesn't have the -xdev option, but recent versions, at least on the 3B2-600 and 3B15 have a -mount option which does the same thing. My users manual for the 3B15 R2.1 doesn't document it, but the option exists in R2.1.1. As the new versions of Sys V are released, I assume the option will show up on other systems. n e w s f o o d . -- ----------------------------------------------------------------------------- Bob Maxwell AT&T DP&CT | All standard (and most non_standard) Maitland, FL ihnp4!ablnc!maxwell | disclaimers apply. -----------------------------------------------------------------------------