util-linux.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* behavior of "# mount /dev"
@ 2011-11-08  8:01 KIMURA Masaru
  2011-11-09  0:09 ` Davidlohr Bueso
  0 siblings, 1 reply; 5+ messages in thread
From: KIMURA Masaru @ 2011-11-08  8:01 UTC (permalink / raw)
  To: util-linux

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2011-11-09 10:32 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-11-08  8:01 behavior of "# mount /dev" KIMURA Masaru
2011-11-09  0:09 ` Davidlohr Bueso
2011-11-09  1:47   ` KIMURA Masaru
2011-11-09  9:23     ` Karel Zak
     [not found]       ` <CAPYQg30QdL8evykx4tfiO+K35ZFTuKOVxY_R08nKz5F=-imsVg@mail.gmail.com>
2011-11-09 10:32         ` KIMURA Masaru

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).