mirror of
https://github.com/troglobit/finit.git
synced 2026-10-24 11:54:36 +00:00
Allow fsck for read-only mounted filesystems
When starting up a system booted from initramfs / may already be mounted (read-only), so we can safely fsck it before proceeding to remount it as read-write later (possibly). Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
1 parent
e3884597a5
commit
389328c99f
3 files changed
+33
-11
No files matched your search
+1
-1
@@ -88,7 +88,7 @@ static inline int create(char *path, mode_t mode, uid_t uid, gid_t gid)
|
||||
return 0;
|
||||
}
|
||||
|
||||
int ismnt (char *file, char *dir);
|
||||
int ismnt (char *file, char *dir, char *mode);
|
||||
int fismnt (char *dir);
|
||||
|
||||
#endif /* FINIT_HELPERS_H_ */
|
||||
|
||||
Reference in new issue
Block a user