diff options
author | Lennart Poettering <lennart@poettering.net> | 2012-06-29 16:14:01 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2012-06-29 16:14:43 +0200 |
commit | b4efdf97203ddf781c17f77be84cc61516a077d2 (patch) | |
tree | e630e4ec0be6d922ea6a28cc8f40281e1856b7cb /src/remount-fs | |
parent | 5b6a2c5aab9893ba82acf90696f83e4d48db2b19 (diff) |
remount-fs: also remount /usr according to fstab
Diffstat (limited to 'src/remount-fs')
-rw-r--r-- | src/remount-fs/remount-fs.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/remount-fs/remount-fs.c b/src/remount-fs/remount-fs.c index ef68e506e5..8b3aaeb32c 100644 --- a/src/remount-fs/remount-fs.c +++ b/src/remount-fs/remount-fs.c @@ -79,9 +79,10 @@ int main(int argc, char *argv[]) { int k; char *s; - /* Remount the root fs and all API VFS */ + /* Remount the root fs, /usr and all API VFS */ if (!mount_point_is_api(me->mnt_dir) && - !path_equal(me->mnt_dir, "/")) + !path_equal(me->mnt_dir, "/") && + !path_equal(me->mnt_dir, "/usr")) continue; log_debug("Remounting %s", me->mnt_dir); |