mount command absurdly verbose?
Ralf Corsepius
rc040203 at freenet.de
Tue Nov 22 15:38:00 UTC 2011
On 11/22/2011 04:09 PM, Andras Simon wrote:
> 2011/11/22, Ralf Corsepius<rc040203 at freenet.de>:
>> On 11/22/2011 01:57 PM, Andras Simon wrote:
>
> [...]
>
>>> I use df.
>>
>> Not that much better:
>>
>> Real world example:
>>
>> $ df
>> Filesystem 1K-blocks Used Available Use% Mounted on
>> rootfs 50395844 32372316 15463528 68% /
>> ..
>> tmpfs 3057628 46748 3010880 2% /run
>> /dev/sda3 50395844 32372316 15463528 68% /
>> tmpfs 3057628 46748 3010880 2% /run
>> ...
>> /dev/sdb8 638902480 153233668 453214376 26% /users/user1
>> /dev/sdb8 638902480 153233668 453214376 26% /users/user2
>> /dev/sdb8 638902480 153233668 453214376 26% /users/user3
>> ...
>
> Hmmm. I wonder why /dev/sdb8 is mounted to 3 different places?
These are autofs-automounted local homes.
autofs mounts these home directories "on-demand", switching between
nfs-mounts and bind-mounts, depending on whether they are local or remote.
In this case, they currently are all local.
FWIW:
f14's mount displayed them this way:
# mount
..
/home/user1 on /users/user1 type none (rw,bind)
...
This reflects the actual situation and is human readable.
f16's "mount" displays them this way:
# mount
...
/dev/sdb8 on /users/user1 type ext4
(rw,relatime,seclabel,user_xattr,acl,barrier=1,data=ordered)
...
IMO, this unreadable and all wrong.
Ralf
More information about the users
mailing list