Re: "find" problem

2012-01-07 Thread Dean S. Messing
On 07 January 2012 at 20:02:21 +1100, Cameron Simpson wrote: > On 06Jan2012 23:29, Dean S. Messing wrote: > | In doing more experimenting with find, I discovered that > | / is evidently fstype "rootfs", whatever that is. > > Interesting. > > | Looking in /etc/mtab I see: > |rootfs / rootfs r

Re: "find" problem

2012-01-07 Thread JB
Dean S. Messing sharplabs.com> writes: > > 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? >

Re: "find" problem

2012-01-07 Thread Cameron Simpson
On 06Jan2012 23:29, Dean S. Messing wrote: | In doing more experimenting with find, I discovered that | / is evidently fstype "rootfs", whatever that is. Interesting. | Looking in /etc/mtab I see: |rootfs / rootfs rw 0 0 I was going to suggest you run the "mount" command, but I see you're a

Re: "find" problem

2012-01-06 Thread Dean S. Messing
In doing more experimenting with find, I discovered that / is evidently fstype "rootfs", whatever that is. Looking in /etc/mtab I see: rootfs / rootfs rw 0 0 and /dev/mapper/vg00-lv_root / ext4 rw,relatime,user_xattr,acl,barrier=1,stripe=32,data=ordered 0 0 In fact, find / -fst

Re: "find" problem

2012-01-06 Thread Dean S. Messing
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

Re: "find" problem

2012-01-06 Thread Cameron Simpson
On 06Jan2012 16:04, Dean S. Messing wrote: | On 06 January 2012 at 15:59pm, Cameron Simpson wrote: | > It is also worth noting that your find may not find nested ext4 mounts. | > Supposing an ext4 mount point is mounted inside an ext3 mount? Your | > prune will prevent find from descending deep en

Re: "find" problem

2012-01-06 Thread Cameron Simpson
On 06Jan2012 15:50, Dean S. Messing wrote: | On 06 January, 2012 at 3:47pm, Cameron Simpson wrote: | > On 06Jan2012 12:43, Dean S. Messing wrote: | > | On my F13 machine, | > | | > | find / \! -fstype ext4 -prune -o -print | > | | > | prints every file that is in an ext4 filesystem mount

Re: "find" problem

2012-01-06 Thread Dean S. Messing
On 06 January 2012 at 15:59pm, Cameron Simpson wrote: > On 07Jan2012 08:28, I wrote: > | On 06Jan2012 12:43, Dean S. Messing wrote: > | | On my F13 machine, > | | > | | find / \! -fstype ext4 -prune -o -print > | | > | | prints every file that is in an ext4 filesystem mounted on /, and p

Re: "find" problem

2012-01-06 Thread Dean S. Messing
On 06 January, 2012 at 3:47pm, Cameron Simpson wrote: > On 06Jan2012 12:43, Dean S. Messing 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. > |

Re: "find" problem

2012-01-06 Thread Cameron Simpson
On 07Jan2012 08:28, I wrote: | On 06Jan2012 12:43, Dean S. Messing 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

Re: "find" problem

2012-01-06 Thread Cameron Simpson
On 06Jan2012 12:43, Dean S. Messing 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

"find" problem

2012-01-06 Thread Dean S. Messing
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? -- users mailing list users@lists.fedoraproject.org To unsu