[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: How to obtain UUID of drives (squeeze udev lacks vol_id)



Constantine wrote, on 05/03/10 23:24:
blkid

On Fri, Mar 5, 2010 at 3:31 PM, Osamu Aoki <osamu@debian.org> wrote:

Hi,

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 ?

Osamu

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=565124

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?

Arthur.


Reply to: