behavior of "# mount /dev"

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

 



Hi,

A user continues to mumble about behavior of "# mount /dev" in this list [1].
He said, he did accidentally type

 # mount /dev

and "ls /dev" shows only initctl under /dev.

"man mount" said,

       If only directory or device is given, for example:

              mount /dir

       then mount looks for a mountpoint and if not found then for a
device in the /etc/fstab file.

so I guess this is an undocumented behavior.

Naohiro Aota explains that this is expected tmpfs' behavior in kernel. [2]
And I think "just don't do such thing."
But this user still doesn't accept this undocumented mount behavior.

any thought?

[1] http://ml.gentoo.gr.jp/users/201111.month/2194.html
[2] http://ml.gentoo.gr.jp/users/201111.month/2195.html
--
To unsubscribe from this list: send the line "unsubscribe util-linux" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux