Re: rm --no-traverse-mount-points [Re: stop rm at same-dev bind mounts

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

 



2011/9/10 Jim Meyering <jim@xxxxxxxxxxxx>:
> Thanks for the example, but I don't see how that option name is
> misleading.  A "file system" is the thing you create with "mkfs".
> Even though normally there is only one mount point per file system,
> the fact that with bind mounts there can be many doesn't change
> the name of the thing occupying the underlying device: a file system.
>
> I think you want a new option, say --no-traverse-mount-points.

The term "file system" can of course have different meaning to
different people - you could also argue it means "file system type",
with unexpected results for the interpretation of "--one-file-system".
Anyway, that is nitpicking on my side; obviously it was clear what I
meant: An option to make rm walk the tree, ignoring (=not following)
mount points. Thanks for opening the ticket.

As a side note: I am not sure whether that also means it should remove
stuff normally hidden by such a mountpoint?

As long as such a "--no-traverse-mount-points" option is not available
yet for rm, I am still looking for suggestions on how to achieve the
same effect in a shell script.

-- 
Thomas Moschny <thomas.moschny@xxxxxxxxx>
-- 
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/devel



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux