Re: Option to create missing mount point

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

 



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@xxxxxxxxxx>
 http://karelzak.blogspot.com
--
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