Summary: | sys-fs/cryptsetup: /etc/init.d/dmcrypt should check partition type before mkswap | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Daniel Bahrdt <daniel.bugs.gentoo.org> |
Component: | [OLD] Core system | Assignee: | Gentoo's Team for Core System packages <base-system> |
Status: | RESOLVED DUPLICATE | ||
Severity: | normal | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Daniel Bahrdt
2009-10-14 14:53:10 UTC
*** Bug 289058 has been marked as a duplicate of this bug. *** I just want to share some kind of workaround until this gets fixed: swap=crypt-swap source="$(fdisk -l /dev/sda | grep 'sda9' | grep -wq 'swap' && echo '/dev/sda9')" fdisk only works on partitioned disks. it fails on files, loop setups, ... *** This bug has been marked as a duplicate of bug 248495 *** |