* Option to create missing mount point
@ 2014-02-18 14:50 Phillip Susi
2014-02-18 15:16 ` Karel Zak
0 siblings, 1 reply; 2+ messages in thread
From: Phillip Susi @ 2014-02-18 14:50 UTC (permalink / raw)
To: util-linux
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
A debian bug has requested that mount create the mount point if it
does not exist yet. My initial reaction was no, but one use case does
seem to be a good reason. That would be if you want to set up a tmpfs
mount with several sub mounts in /etc/fstab. You currently can't do
that since when the tmpfs is mounted, it is empty. Is this something
that might be a good idea?
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (MingW32)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/
iQEcBAEBAgAGBQJTA3MlAAoJEI5FoCIzSKrwb0EH/RN9N2CflAi5xhegkPk+wtcH
pJnoHZROF2vID8eRy4tLxIoWhsKDAhIjEG7GWWOnrQwBpTJqf36+4ah8djuYAZDq
TfVIuEG/Ww1ByoP2K7AqgN2URKW8Z91SxSZM2PLLAg91lg7nM8WTbnhCm2znOABj
lQsXEYdKh/8n8bb8w/SULhF3ffbj0tMPpnY3LjI1RkbQcp3CjqqBtmJG4XM9M0L0
7PUAdDpk2FiiWGYi/PfMMajfjeb8S80n+v/Gmvz0LJWPBkdeW2hP1gosyGL3gKgm
MzpV8bInWV18s0qWcqgrfxoS8mWxgTSZowf0/cQVkNKnsleET3UMxo/Qo55O1n4=
=Cdtu
-----END PGP SIGNATURE-----
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Option to create missing mount point
2014-02-18 14:50 Option to create missing mount point Phillip Susi
@ 2014-02-18 15:16 ` Karel Zak
0 siblings, 0 replies; 2+ messages in thread
From: Karel Zak @ 2014-02-18 15:16 UTC (permalink / raw)
To: Phillip Susi; +Cc: util-linux
On Tue, Feb 18, 2014 at 09:50:13AM -0500, Phillip Susi wrote:
> A debian bug has requested that mount create the mount point if it
> does not exist yet. My initial reaction was no, but one use case does
> seem to be a good reason. That would be if you want to set up a tmpfs
> mount with several sub mounts in /etc/fstab. You currently can't do
> that since when the tmpfs is mounted, it is empty. Is this something
> that might be a good idea?
Yes, v2.23 release notes:
mount(8):
- supports new userspace mount option x-mount.mkdir[=<mode>] to
create mountpoints on demand
it's also in man page :)
Karel
--
Karel Zak <kzak@redhat.com>
http://karelzak.blogspot.com
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-02-18 15:24 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-02-18 14:50 Option to create missing mount point Phillip Susi
2014-02-18 15:16 ` Karel Zak
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox