mountpoint-util: move 'norecovery' detection into its own helper call

And let's also ask the kernel explicitly for support.
This commit is contained in:
Lennart Poettering
2023-03-09 21:56:42 +01:00
parent 4e6d305ae2
commit 034ebc47a2
4 changed files with 25 additions and 1 deletions
+1
View File
@@ -49,6 +49,7 @@ bool fstype_is_blockdev_backed(const char *fstype);
bool fstype_is_ro(const char *fsype);
bool fstype_can_discard(const char *fstype);
bool fstype_can_uid_gid(const char *fstype);
bool fstype_can_norecovery(const char *fstype);
int dev_is_devtmpfs(void);