Re: "find" problem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxxxxxxxxx
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


[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux