История изменений
Исправление etwrq, (текущая версия) :
man mount:
EXIT STATUS
mount has the following exit status values (the bits can be ORed):
0
success
1
incorrect invocation or permissions
2
system error (out of memory, cannot fork, no more loop devices)
4
internal mount bug
8
user interrupt
16
problems writing or locking /etc/mtab
32
mount failure
64
some mount succeeded
The command mount -a returns 0 (all succeeded), 32 (all failed), or 64 (some failed, some succeeded).
можно обработать результат mount -a -O _netdev и принять необходимое решение.
ну или как предлагают выше, systemd dependencies
ps. три раза цитата man mount... hobbit тут троллинг или что?:)
Исправление etwrq, :
man mount:
EXIT STATUS
mount has the following exit status values (the bits can be ORed):
0
success
1
incorrect invocation or permissions
2
system error (out of memory, cannot fork, no more loop devices)
4
internal mount bug
8
user interrupt
16
problems writing or locking /etc/mtab
32
mount failure
64
some mount succeeded
The command mount -a returns 0 (all succeeded), 32 (all failed), or 64 (some failed, some succeeded).
можно обработать результат mount -a -O _netdev и принять необходимое решение.
ну или как предлагают выше, systemd dependencies
Исходная версия etwrq, :
man mount:
EXIT STATUS
mount has the following exit status values (the bits can be ORed):
0
success
1
incorrect invocation or permissions
2
system error (out of memory, cannot fork, no more loop devices)
4
internal mount bug
8
user interrupt
16
problems writing or locking /etc/mtab
32
mount failure
64
some mount succeeded
The command mount -a returns 0 (all succeeded), 32 (all failed), or 64 (some failed, some succeeded).
можно обработать результат mount -a -O _netdev и принять необходимое решение