From b4efdf97203ddf781c17f77be84cc61516a077d2 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Fri, 29 Jun 2012 16:14:01 +0200 Subject: remount-fs: also remount /usr according to fstab --- src/core/dbus-manager.c | 4 +++- src/remount-fs/remount-fs.c | 5 +++-- 2 files changed, 6 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/core/dbus-manager.c b/src/core/dbus-manager.c index cd827ca458..f8a5400055 100644 --- a/src/core/dbus-manager.c +++ b/src/core/dbus-manager.c @@ -114,7 +114,9 @@ " \n" \ " \n" \ " \n" \ - " \n" \ + " \n" \ + " \n" \ + " \n" \ " \n" \ " \n" \ " \n" \ 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); -- cgit v1.2.3-54-g00ecf