Re: How to obtain UUID of drives (squeeze udev lacks vol_id)
On 2010-03-21 07:03, Arthur Marsh wrote:
Constantine wrote, on 05/03/10 23:24:
On Fri, Mar 5, 2010 at 3:31 PM, Osamu Aoki <firstname.lastname@example.org> wrote:
Recent udev packges in squeeze/sid lack vol_id command since 22 Aug 2009
(146-1). What is the best way to obtain UUID of partition?
I could read it like ...
$ ls -l /dev/disk/by-uuid|grep sda4
Is this the best way? Any thoughts ?
man -k uuid
will *not* find the blkid man page )-:.
Also, how does one set the UUID of a currently in use swap partition
(such as one created before the mkswap command added a UUID by default)
*without* re-running mkswap?
*You* should not need to set the UUID. It should just magically be
$ /sbin/blkid -t TYPE=swap
/dev/sdb1: TYPE="swap" LABEL="swap1" \
Or did my (regularly updated Sid) system "get what it needed" before
Obsession with "preserving cultural heritage" is a racist impediment
to moral, physical and intellectual progress.