diff options
author | Kay Sievers <kay@vrfy.org> | 2013-02-27 13:07:09 +0100 |
---|---|---|
committer | Kay Sievers <kay@vrfy.org> | 2013-02-27 13:08:20 +0100 |
commit | c06bf414042cd1bf94e0af63e9e2a0c291bfc546 (patch) | |
tree | d25e0fafb4ecb9fa946fa09770cf6f4b0c9d1ca7 /src/core/mount-setup.c | |
parent | d95b1fb315f62313be5bee5bee3b2d1467868a7d (diff) |
mount-setup: mount pstore filesystem
Diffstat (limited to 'src/core/mount-setup.c')
-rw-r--r-- | src/core/mount-setup.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/src/core/mount-setup.c b/src/core/mount-setup.c index e7e2736615..dab3601467 100644 --- a/src/core/mount-setup.c +++ b/src/core/mount-setup.c @@ -77,10 +77,6 @@ static const MountPoint mount_table[] = { NULL, MNT_FATAL|MNT_IN_CONTAINER }, { "securityfs", "/sys/kernel/security", "securityfs", NULL, MS_NOSUID|MS_NOEXEC|MS_NODEV, NULL, MNT_NONE }, -#ifdef ENABLE_EFI - { "efivarfs", "/sys/firmware/efi/efivars", "efivarfs", NULL, MS_NOSUID|MS_NOEXEC|MS_NODEV, - is_efi_boot, MNT_NONE }, -#endif { "tmpfs", "/dev/shm", "tmpfs", "mode=1777", MS_NOSUID|MS_NODEV|MS_STRICTATIME, NULL, MNT_FATAL|MNT_IN_CONTAINER }, { "devpts", "/dev/pts", "devpts", "mode=620,gid=" STRINGIFY(TTY_GID), MS_NOSUID|MS_NOEXEC, @@ -91,6 +87,12 @@ static const MountPoint mount_table[] = { NULL, MNT_IN_CONTAINER }, { "cgroup", "/sys/fs/cgroup/systemd", "cgroup", "none,name=systemd", MS_NOSUID|MS_NOEXEC|MS_NODEV, NULL, MNT_IN_CONTAINER }, + { "pstore", "/sys/fs/pstore", "pstore", NULL, MS_NOSUID|MS_NOEXEC|MS_NODEV, + NULL, MNT_NONE }, +#ifdef ENABLE_EFI + { "efivarfs", "/sys/firmware/efi/efivars", "efivarfs", NULL, MS_NOSUID|MS_NOEXEC|MS_NODEV, + is_efi_boot, MNT_NONE }, +#endif }; /* These are API file systems that might be mounted by other software, |