Skip to content

Commit

Permalink
Remove /run special mount, because it is sometimes not there (#66)
Browse files Browse the repository at this point in the history
  • Loading branch information
majst01 authored Sep 13, 2021
1 parent 3cc1d3f commit d1651a9
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion cmd/storage/filesystem.go
Original file line number Diff line number Diff line change
Expand Up @@ -400,7 +400,6 @@ var (
{source: "efivarfs", target: "/sys/firmware/efi/efivars", fstype: "efivarfs", flags: 0, data: ""},
{source: "tmpfs", target: "/tmp", fstype: "tmpfs", flags: 0, data: ""},
// /dev and /run are bind mounts, a bind mount must have MS_BIND flags set see man 2 mount
{source: "/run", target: "/run", fstype: "", flags: syscall.MS_BIND, data: ""},
{source: "/dev", target: "/dev", fstype: "", flags: syscall.MS_BIND, data: ""},
}
)
Expand Down

0 comments on commit d1651a9

Please sign in to comment.