Lines 128-134
Link Here
|
128 |
|
128 |
|
129 |
# We need to properly canonicalize partitions with mount points and partitions |
129 |
# We need to properly canonicalize partitions with mount points and partitions |
130 |
# used in RAID |
130 |
# used in RAID |
131 |
grep "^/dev/" /proc/mounts | parse_proc_mounts >"$OS_PROBER_TMP/mounted-map" || true |
131 |
list_mounts >"$OS_PROBER_TMP/mounted-map" || true |
132 |
: >"$OS_PROBER_TMP/swaps-map" |
132 |
: >"$OS_PROBER_TMP/swaps-map" |
133 |
if [ -f /proc/swaps ]; then |
133 |
if [ -f /proc/swaps ]; then |
134 |
grep "^/dev/" /proc/swaps | parse_proc_swaps >"$OS_PROBER_TMP/swaps-map" || true |
134 |
grep "^/dev/" /proc/swaps | parse_proc_swaps >"$OS_PROBER_TMP/swaps-map" || true |