"find" problem

Cameron Simpson cs at zip.com.au
Fri Jan 6 21:28:45 UTC 2012


On 06Jan2012 12:43, Dean S. Messing <deanm at sharplabs.com> wrote:
| On my F13 machine, 
| 
|       find / \! -fstype ext4 -prune -o -print
| 
| prints every file that is in an ext4 filesystem mounted on /, and prunes
| those in any other type of fs.
| 
| On my F15 the same command prints nothing.  Why might that be?

Is / an ext4 fs? If not, the find will terminate immediately.
I would run the find with a -print before the -prune and withjout th
trailing print - see what the find is pruning.

Cheers,
-- 
Cameron Simpson <cs at zip.com.au> DoD#743
http://www.cskk.ezoshosting.com/cs/

Giving money and power to the government is like giving whiskey and car keys
to teenaged boys.       - P J O'Rourke


More information about the users mailing list