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

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



Hi
there are couple ways on how to retrieve UUID but all of then are
essentially accessing the same information you already have with your
ls command. Try here:

http://www.linuxconfig.org/how-to-retrieve-and-change-partitions-universally-unique-identifier-uuid-on-linux

for more info...

lubo

On Fri, Mar 5, 2010 at 11: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
>
>
> --
> To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
> Archive: [🔎] 20100305123106.GA8376@osamu.debian.net">http://lists.debian.org/[🔎] 20100305123106.GA8376@osamu.debian.net
>
>


Reply to: