You are not logged in.

#1 2016-02-11 20:34:17

bzhao
Member
Registered: 2015-10-31
Posts: 11

---bind option is missing for mount command output

Hi all,

Today under my Arch Linux system, I suddenly found that the "mount" command output cannot show the bind option for  the bind mountting.
Actually I have been using the "mount" command to check bind mountting status in my system under Ubuntu system.

I am having bind mount in /etc/fstab file as:

/mnt/sda3/home /home none bind 0 0
/mnt/sda3/opt  /opt none bind 0 0

But "sudo mount " output like:

/dev/sda3 on /home type ext4 (rw,relatime,errors=remount-ro,data=ordered)
/dev/sda3 on /opt type ext4 (rw,relatime,errors=remount-ro,data=ordered)

What 's going on?  Actually my system is runing very normally

Offline

#2 2016-02-11 20:40:55

alphaniner
Member
From: Ancapistan
Registered: 2010-07-12
Posts: 2,810

Re: ---bind option is missing for mount command output

Unfortunately, it's been like that for as long as I can remember. Output of df is also affected.


But whether the Constitution really be one thing, or another, this much is certain - that it has either authorized such a government as we have had, or has been powerless to prevent it. In either case, it is unfit to exist.
-Lysander Spooner

Offline

#3 2016-02-11 20:49:15

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 11,787
Website

Re: ---bind option is missing for mount command output

I imagine ubuntu patch their util-linux package to change the output of mount for bind mounts. For the record, Arch's behaviour is the same as CentOS'.

Also for the record, 'sudo mount' is unnecessary. Just 'mount' will output the same thing.

Last edited by WorMzy (2016-02-11 21:41:43)


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#4 2016-02-11 21:02:01

bzhao
Member
Registered: 2015-10-31
Posts: 11

Re: ---bind option is missing for mount command output

Thanks for your quick feedback, the kernel is going too fast,  The Arch system really cannot be used in server deployment.

Offline

Board footer

Powered by FluxBB