Fedora 15 and mount points

Tom H tomh0665 at gmail.com
Thu Aug 11 22:43:22 UTC 2011


On Thu, Aug 11, 2011 at 4:10 PM,  <aragonx at dcsnow.com> wrote:
>> On Wed, Aug 10, 2011 at 6:49 PM, <aragonx at dcsnow.com> wrote:
>>>
>>> Anyway, I found that I have multiple mount points that I didn't define
>>> in
>>> the install and are not in fstab.  Is there an easy way to get rid of
>>> the
>>> duplication?  A quick Google search suggested disabling sandbox but I
>>
>> take a look at findmnt and lsblk.
>
> The same information with no additional clarity was displayed by those two
> commands.  Another Google search provided me with:
> https://bugzilla.redhat.com/show_bug.cgi?id=701176
> and
> http://forums.fedoraforum.org/showthread.php?t=263221
>
> Seems this is a known *feature* of F-15 and no one is all that interested in
> changing it.  Unfortunately, I have a good number of scripts that use the
> output of df and mount that would need modified for this.  The /var/tmp
> mount is especially troubling...

I thought that their outputs, especially that of findmnt, would've
clarified the output of mount, except for the three sandbox bind
mounts.

Suggestions for replacing mount in your scripts:
findmnt -lnu -o SOURCE,TARGET,FSTYPE,OPTIONS
findmnt -lnsu -o SOURCE,TARGET,FSTYPE,OPTIONS
findmnt -o SOURCE,TARGET,FSTYPE,OPTIONS -S /dev/sda1
findmnt -o SOURCE,TARGET,FSTYPE,OPTIONS -T /
findmnt -n -o SOURCE,TARGET,FSTYPE,OPTIONS -S /dev/sda1
findmnt -n -o SOURCE,TARGET,FSTYPE,OPTIONS -T /


More information about the users mailing list