[Pkg-ltsp-devel] Bug#424989: local swap option should scan LVM as well as normal partitions

vagrant at freegeek.org vagrant at freegeek.org
Sat Jun 2 08:15:07 UTC 2007


tags 424989 wontfix
thanks

On Fri, May 18, 2007 at 03:54:34PM +0530, Joshua Pritikin wrote:
> Currently sfdisk is used to search for local swap. I'd like to swap
> to an LVM logical volume. Perhaps it would be possible to scan
> /proc/partitions instead of using sfdisk.

unfortunately, /proc/partitions does not provide information about which
partitions are swap partitions. the current code relies on the partition
type being set to swap.

i'm hesitant to implement a feature that scans each and every device for
a swap signature(which wouldn't even work if encrypted swap was used),
which would be required to look for lvm devices. obviously, lvm related
tools would also have to be present for any such code to work.

> Sorry, I am not in a position to offer a patch.

without a patch, and the above concerns, i'm marking this as wontfix.

if someone can come up with an elegant patch that addresses the above
concerns, of course it would be reconsidered.

live well,
  vagrant




More information about the Pkg-ltsp-devel mailing list