mirror of https://github.com/k3s-io/k3s
![]() The `file` command used here to check whether a device is formatted is not available for CoreOS. The effect is that the mounter tries to mount an unformatted volume which fails. This makes it quite tedious to use persistent volumes in CoreOS. This patch replaces the `file` command with `lsblk` which is available in CoreOS. I checked that it's also available on RHEL, Debian, Ubuntu and SLES. |
||
---|---|---|
.. | ||
doc.go | ||
fake.go | ||
mount.go | ||
mount_linux.go | ||
mount_linux_test.go | ||
mount_unsupported.go | ||
nsenter_mount.go | ||
nsenter_mount_unsupported.go | ||
safe_format_and_mount_test.go |