Skip to content

Commit 98fe89b

Browse files
Alex Stewartamstewart
authored andcommitted
fstab: mount securityfs
The sescurityfs is a kernel virtual filesystem that provides access to security devices like TPMs. Mount it to the sysfs so that it can be used to read TPM events. Signed-off-by: Alex Stewart <alex.stewart@emerson.com>
1 parent 2ced68b commit 98fe89b

File tree

1 file changed

+6
-5
lines changed
  • recipes-core/base-files/base-files/x64

1 file changed

+6
-5
lines changed

recipes-core/base-files/base-files/x64/fstab

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
# stock fstab - you probably want to override this with a machine specific one
22

3-
/dev/root / auto defaults 1 1
4-
proc /proc proc defaults 0 0
5-
devpts /dev/pts devpts mode=0620,gid=5 0 0
6-
tmpfs /run tmpfs mode=0755,nodev,nosuid,strictatime 0 0
7-
tmpfs /var/volatile tmpfs size=26% 0 0
3+
/dev/root / auto defaults 1 1
4+
proc /proc proc defaults 0 0
5+
devpts /dev/pts devpts mode=0620,gid=5 0 0
6+
tmpfs /run tmpfs mode=0755,nodev,nosuid,strictatime 0 0
7+
tmpfs /var/volatile tmpfs size=26% 0 0
8+
securityfs /sys/kernel/security securityfs defaults 0 0
89

910
# uncomment this if your device has a SD/MMC/Transflash slot
1011
#/dev/mmcblk0p1 /media/card auto defaults,sync,noauto 0 0

0 commit comments

Comments
 (0)