summaryrefslogtreecommitdiff
path: root/src/switchroot
diff options
context:
space:
mode:
authorColin Walters <walters@verbum.org>2017-05-12 15:55:12 -0400
committerAtomic Bot <atomic-devel@projectatomic.io>2017-05-16 16:13:05 +0000
commitf21f500e40ba0d2c0881ecdaf876f8510e8c64ba (patch)
tree364049602e3b2d6601cc9d7f2fbd91d08c528588 /src/switchroot
parent19827a996597a8df2ddbb344e4da1661488df99c (diff)
downloadostree-f21f500e40ba0d2c0881ecdaf876f8510e8c64ba.tar.gz
switchroot/remount: Trim set of remounted filesystems
I really have no idea what I was thinking with that list of mount points. It seems arbitrary. Sadly `git log` doesn't help, and there's no comments. Basically, the only mounts we should care about are those that libostree creates. Which are just `/sysroot` and `/var`. Systemd will handle the other things like `/tmp`, it's not our job, and we shouldn't touch them. Closes: #859 Approved by: jlebon
Diffstat (limited to 'src/switchroot')
-rw-r--r--src/switchroot/ostree-remount.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/switchroot/ostree-remount.c b/src/switchroot/ostree-remount.c
index bd4d1253..e19de183 100644
--- a/src/switchroot/ostree-remount.c
+++ b/src/switchroot/ostree-remount.c
@@ -41,7 +41,7 @@
int
main(int argc, char *argv[])
{
- const char *remounts[] = { "/sysroot", "/etc", "/home", "/root", "/tmp", "/var", NULL };
+ const char *remounts[] = { "/sysroot", "/var", NULL };
struct stat stbuf;
int i;