fstab-generator: add x-systemd.mount-timeout (#4603)
authorChristian Hesse <mail@eworm.de>
Fri, 11 Nov 2016 14:08:57 +0000 (15:08 +0100)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Fri, 11 Nov 2016 14:08:57 +0000 (09:08 -0500)
commit110773f6c934c37f058d273ee55cf2fd0010b329
tree5f49049d2a10a42245e78d55eeb3ff745fdb6469
parent9f7672b3bcff200405b722e105b57809781caa3b
fstab-generator: add x-systemd.mount-timeout (#4603)

This adds a new systemd fstab option x-systemd.mount-timeout. The option
adds a timeout value that specifies how long systemd waits for the mount
command to finish. It allows to mount huge btrfs volumes without issues.

This is equivalent to adding option TimeoutSec= to [Mount] section in a
mount unit file.

fixes #4055
man/systemd.mount.xml
src/fstab-generator/fstab-generator.c