[Bug 2035616] Re: Enable swap partitions in nvme disks
cleary
2035616 at bugs.launchpad.net
Wed Sep 20 04:39:07 UTC 2023
*** This bug is a duplicate of bug 2023605 ***
https://bugs.launchpad.net/bugs/2023605
This is a duplicate of
https://bugs.launchpad.net/ubuntu/+source/casper/+bug/2023605
Also, this patch returns bogus strings in the case that there are no
devices matching the regex strings - eg with no nvme, I get:
/dev/vda1
/dev/vda2
/dev/vda3
/dev/nvme[0-9]n[0-9]p[0-9]*
The patch in 2023605 uses `find` which is more robust with it's non-
match handling, and adjusts the logic of the whole enabling section so
we're not looping twice and potentially having to consider variable
scoping on the $devices variable.
** This bug has been marked a duplicate of bug 2023605
swap is not discovered for nvme devices
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to casper in Ubuntu.
https://bugs.launchpad.net/bugs/2035616
Title:
Enable swap partitions in nvme disks
Status in casper package in Ubuntu:
New
Bug description:
Hi, the code that automatically enables swap partitions, currently
doesn't match nvme disks:
https://git.launchpad.net/casper/tree/scripts/casper-bottom/13swap#n30
It should be modified to:
for device in /dev/[hsv]d[a-z][0-9]* /dev/nvme[0-9]n[0-9]p[0-9]*; do
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/casper/+bug/2035616/+subscriptions
More information about the foundations-bugs
mailing list