find / -fstype local traverses non-local filesystems
On Sat, 24 Feb 2001 17:04:44 +1030, Matthew Thyer [EMAIL PROTECTED] said: find seems to be traversing all file systems (local and non-local) but just not reporting the found file when its on a non-local filesystem. As has been discussed many times before, this is correct behavior. If you want `find' to not traverse a directory, use the `-prune' primary. -GAWollman -- Garrett A. Wollman | O Siem / We are all family / O Siem / We're all the same [EMAIL PROTECTED] | O Siem / The fires of freedom Opinions not those of| Dance in the burning flame MIT, LCS, CRS, or NSA| - Susan Aglukark and Chad Irschick To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
Re: find / -fstype local traverses non-local filesystems
Garrett Wollman wrote: On Sat, 24 Feb 2001 17:04:44 +1030, Matthew Thyer [EMAIL PROTECTED] said: find seems to be traversing all file systems (local and non-local) but just not reporting the found file when its on a non-local filesystem. As has been discussed many times before, this is correct behavior. If you want `find' to not traverse a directory, use the `-prune' primary. Or -x to keep it on a single device/filesystem. -- "Where am I, and what am I doing in this handbasket?" Wes Peters Softweyr LLC [EMAIL PROTECTED] http://softweyr.com/ To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
find / -fstype local traverses non-local filesystems
rlogin olde sudo find / -fstype local -name UPDATING ls -l /usr/src/UPDATING -rw-r--r-- 1 me wheel 20477 Feb 18 21:48 /usr/src/UPDATING df Filesystem 1K-blocks UsedAvail Capacity Mounted on /dev/ad0s2a 198399 1506323189683%/ /dev/ad0s2e 2622211 1497532 91490362%/usr procfs 440 100%/proc linprocfs 440 100%/usr/compat/linux/proc /dev/ad0s1 1050164 428128 62203641%/C /dev/ad0s3a 20550421 1890638 0%/scratch /dev/acd0c647152 6471520 100%/cdrom new:/usr/ports 8024556 3265929 411666344%/usr/ports new:/usr/src 8024556 3265929 411666344%/usr/src new:/usr/obj 8024556 3265929 411666344%/usr/obj new:/usr/sup 8024556 3265929 411666344%/usr/sup This looks fine I know. The problem is that the find took forever and the disk on host new was thrashing away most of the time. find seems to be traversing all file systems (local and non-local) but just not reporting the found file when its on a non-local filesystem. To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message