udev 1.42 : vol_id missing

Tobias Gasser lfs at ebp-gasser.ch
Sat Jun 20 01:54:33 PDT 2009


Bryan Kadzban schrieb:
> Tobias Gasser wrote:
> Out of curiosity: did your util-linux-ng version of mkswap build with, or
> without, UUID support?  (See the output of configure.)  That's the part
> that I believe is still missing in 2.15.1.  :-)

i can't see anything in the configure output fitting your request, but

$# mkswap /dev/sda7
Settig up swapspace version 1, size = 1614496 KiB
no label, UUID=9ccc4b77-961f-4213-ac24-2d8a2ca93b41

$# mkswap -Lswap /dev/sda7
Settig up swapspace version 1, size = 1614496 KiB
LABEL=swap, UUID=f6014807-59bb-4983-9d07-3b827db33121

$# mkswap --version
mkswap (util-linux-ng 2.15.1)

$# mkswap -h
Usage: mkswap [-c] [-pPAGESZ] [-L label] [-U UUID] /dev/name [blocks]



> If this builds a mkswap that skips adding UUIDs to new swap partitions,
> then I'm not sure it's the best fix.  Certainly not long-term, when
> util-linux-ng-2.16 is supposed to be out "real soon now" with libuuid included.

the uuid is listed immediatly after in /dev/disk/by-uuid, the label
(when applicated) in /dev/disk/by-label.


> Of course, that depends on when "real soon now" actually is...
[grin]


with e2fsprogs 1.41.6, util-linux-ng 2.15.1 and udev 1.42 it looks like
everything behaves as expected. just use the svn-20090611 with the
updated e2fsprog and util-linux-ng including "--with-fsprobe=builtin"
for util-linux-ng


tobias




More information about the lfs-dev mailing list