166
166
# If this is a GPT partition, mark it as no-auto mounting, to avoid
167
167
# auto-activating it on boot
168
172
if [ "$(blkid -p -s PART_ENTRY_SCHEME -o value "$swap")" = "gpt" ]; then
169
173
# Correctly handle NVMe/MMC drives, as well as any similar physical
170
174
# block device that follow the "/dev/foo0p1" pattern (LP: #1597154)