On 06 January 2012 at 9:53pm, Cameron Simpson wrote:
> Ok, so per my test suggestion, what does:
> 
>   find / \! -fstype ext4 -print -prune
> 
> show?

It prints just the root. (I.e. "/" appears alone on a line.)
What is that saying?



> Is it useful to go:
> 
>   find / \! -type d -fstype ext4 -print -prune

This prints all the files in my two ext4 mounts under /, and none
out of the ext3 mount or the other 'system' mounts like /proc or /sys.
Importantly, it prints no files in the root fs itself.

On my F13 system, it looks like it is printing ALL files under root
except the ones in non-ext4 directories.  (I interupted it before it
finished.)

> What does "man find" say about the -fstype test? I haven't an F15 box to
> hand to check against. Does that paragraph differ from the man on F13?

They are word-for-word identical.

It appears to act as though / is NOT ext4.  However:

   df / returns:

   /dev/mapper/vg00-lv_root 157237076 125230856  32006220  80% /

and

   blkid /dev/mapper/vg00-lv_root  returns:

   /dev/mapper/vg00-lv_root: UUID=<elided> TYPE="ext4" 

Here's more info:

On my F13 system

  find /bin -fstype ext4 -print
 
prints everything in /bin (which is an ordinary dir under /).

On my F15 system the same command prints nothing.

I'm thoroughly confused.

Dean
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org

Reply via email to