mirror of
https://github.com/morgan9e/systemd
synced 2026-04-15 17:06:39 +09:00
fstab-generator: Do not check deviceless filesystems
There is no need to check those.
This commit is contained in:
committed by
Zbigniew Jędrzejewski-Szmek
parent
b043846208
commit
fb02a2775a
@@ -42,6 +42,11 @@ int generator_write_fsck_deps(
|
||||
assert(what);
|
||||
assert(where);
|
||||
|
||||
if (fstype_is_deviceless(fstype)) {
|
||||
log_debug("Not checking deviceless filesystem \"%s\".", fstype);
|
||||
return 0;
|
||||
}
|
||||
|
||||
if (!is_device_path(what)) {
|
||||
log_warning("Checking was requested for \"%s\", but it is not a device.", what);
|
||||
return 0;
|
||||
|
||||
Reference in New Issue
Block a user