Updated to configure-mounts_0.4 (same url)
should autodetect up to 2 TYPE="crypto_LUKS" (as seen by blkid) volumes and exclude them when setting up linux parts.
Tested here (only, so far) with one newly-made LUKS partition. Script does not now hang. Existing fstab entry is kept, it's "raw device" gets excluded from appends. Whether or not it is open or mounted already.
mount -a is not a problem, if the LUKS is not open, simply the message:
- Code: Select all
mount: special device /dev/mapper/sdc2 does not exist
Also, a grep error when processing a swapfile is (seemingly) fixed