mirror of
https://github.com/nchevsky/systemrescue-zfs.git
synced 2026-04-21 06:03:41 +00:00
don't try to mount swap space in mountall
This commit is contained in:
parent
9b2bb13393
commit
c0a1af428a
1 changed files with 3 additions and 2 deletions
|
|
@ -121,9 +121,10 @@ is_mountable()
|
|||
fi
|
||||
|
||||
if [[ "$BLKID" == *"TYPE=\"linux_raid_member\""* ]] ||
|
||||
[[ "$BLKID" == *"TYPE=\"LVM2_member\""* ]]; then
|
||||
[[ "$BLKID" == *"TYPE=\"LVM2_member\""* ]] ||
|
||||
[[ "$BLKID" == *"TYPE=\"swap\""* ]]; then
|
||||
# these are not directly mountable
|
||||
[[ $VERBOSE -eq 1 ]] && echo "$DEV is not mountable (RAID or LVM)"
|
||||
[[ $VERBOSE -eq 1 ]] && echo "$DEV is not mountable (swap, RAID or LVM)"
|
||||
false
|
||||
return
|
||||
fi
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue