[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:

On Fri, Mar 5, 2010 at 3:31 PM, Osamu Aoki <osamu@debian.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?


Reply to: