We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 10bc4dc commit be32a12Copy full SHA for be32a12
pkg/cidata/cidata.TEMPLATE.d/boot/05-persistent-data-volume.sh
@@ -21,6 +21,7 @@ if [ "$(awk '$2 == "/" {print $3}' /proc/mounts)" == "tmpfs" ]; then
21
for DISK in ${DISKS}; do
22
IN_USE=false
23
# Looking for a disk that is not mounted or partitioned
24
+ # shellcheck disable=SC2013
25
for PART in $(awk '/^\/dev\// {gsub("/dev/", ""); print $1}' /proc/mounts); do
26
if [ "${DISK}" == "${PART}" ] || [ -e /sys/block/${DISK}/${PART} ]; then
27
IN_USE=true
0 commit comments