[PATCH 2/2] mount: -T OTHERTAB support

Natanael Copa ncopa at alpinelinux.org
Mon Mar 16 21:08:37 UTC 2015


On Sun, 15 Mar 2015 01:07:02 +0000
Isaac Dunham <ibid.ag at gmail.com> wrote:

> Also, I'm thinking about adding "mount -m"; this is an extension over
> util-linux mount, which would create the mountpoint if it doesn't
> exist.
> I've asked on the util-linux list about whether that option is spoken
> for, and if there's any interest in seeing it in util-linux.

...

> I note that the option x-mount.mkdir is equivalent to the option I've
> been contemplating, and might be more useful...

FWIW. I find either mount -m or support for x-mount.mkdir useful. Alpine
Linux runs with a tmpfs root so we have added a hack to create missing
dirs:

http://git.alpinelinux.org/cgit/aports/tree/main/alpine-baselayout/mkmntdirs.c

and a patch for openrc:
http://git.alpinelinux.org/cgit/aports/tree/main/openrc/openrc-0.4.3-mkmntdirs.patch

It would be nice to get rid of it.

Adding this feature to mdev.conf would not be satisfactory since we
also have optional support for udev.

-nc


More information about the busybox mailing list