[Nottingham] find and recursive home mounts

Mike Martin mike at redtux.org.uk
Mon Dec 5 17:35:00 UTC 2011


Hi hoping someone knows a solution this scenario

I have two boxen which have each others home directories mounted on home ie:

box1 has home directory of box2 mounted on ~/box2
box2 has home directory of box1 mounted on ~/box1

both using sshfs, though I would expect same issue with NFA/CIFS

however when I use find eg;

find <dir>  -iname  'VIDEO_TS' -type d

it loops recursively forever, descending into the two links recursively
dir/DVD/VIDEO_TS
dir/box2/box1/DVD/VIDEO_TS
dir/box2/box1/box2/box1/DVD/VIDEO_TS

anyone knows of any way to avoid this?



More information about the Nottingham mailing list