block: fall back to external mount helper
authorJo-Philipp Wich <jo@mein.io>
Fri, 21 Oct 2016 14:53:57 +0000 (16:53 +0200)
committerJo-Philipp Wich <jo@mein.io>
Fri, 21 Oct 2016 16:45:08 +0000 (18:45 +0200)
commitf027c681e91aa1839134cb66cf965bb1995c033c
treee679be36e7e69e5bc7d337dca5186124b3dfe15f
parent13345aa36e13038a02a6dccf6b5181d9961dc2e0
block: fall back to external mount helper

If the mount(2) syscall fails with ENOENT, attempt to mount the filesystem
using an external "/sbin/mount.$fstype" command.

This allows filesystems which do not have direct kernel support, like fuse-
or network filesystems.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
block.c