From: Osamu Aoki on 5 Mar 2010 07:50 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(a)lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org Archive: http://lists.debian.org/20100305123106.GA8376(a)osamu.debian.net
From: Constantine on 5 Mar 2010 08:00 blkid On Fri, Mar 5, 2010 at 3:31 PM, Osamu Aoki <osamu(a)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(a)lists.debian.org > with a subject of "unsubscribe". Trouble? Contact > listmaster(a)lists.debian.org > Archive: http://lists.debian.org/20100305123106.GA8376(a)osamu.debian.net > >
From: Arthur Marsh on 21 Mar 2010 08:10 Constantine wrote, on 05/03/10 23:24: > blkid > > On Fri, Mar 5, 2010 at 3:31 PM, Osamu Aoki <osamu(a)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. -- To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org Archive: http://lists.debian.org/3ieh77-ct4.ln1(a)ppp121-45-136-118.lns11.adl6.internode.on.net
From: Ron Johnson on 21 Mar 2010 08:50 On 2010-03-21 07:03, Arthur Marsh wrote: > Constantine wrote, on 05/03/10 23:24: >> blkid >> >> On Fri, Mar 5, 2010 at 3:31 PM, Osamu Aoki <osamu(a)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? > *You* should not need to set the UUID. It should just magically be there. $ /sbin/blkid -t TYPE=swap /dev/sdb1: TYPE="swap" LABEL="swap1" \ UUID="c69f59ff-b928-4232-b44c-8da0f12c52db" Or did my (regularly updated Sid) system "get what it needed" before Aug-2009? -- Obsession with "preserving cultural heritage" is a racist impediment to moral, physical and intellectual progress. -- To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org Archive: http://lists.debian.org/4BA61508.8060007(a)cox.net
From: Tom H on 21 Mar 2010 11:50 >>>> 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 ? >>> blkid >> 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? > *You* should not need to set the UUID. It should just magically be there. > $ /sbin/blkid -t TYPE=swap > /dev/sdb1: TYPE="swap" LABEL="swap1" \ > UUID="c69f59ff-b928-4232-b44c-8da0f12c52db" You can cnahe the UUID of any ext partition with tune2fs -U <uuid> /dev/... but you then have to edit the fstab(s) that mount that partition with a UUID and the menu.lst/grub.cfg that refers to that partition with a UUID. -- To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org Archive: http://lists.debian.org/6d4219cc1003210842h6f15734co48bba6691932a437(a)mail.gmail.com
|
Next
|
Last
Pages: 1 2 3 4 5 Prev: TCP wrapper and hostname issue Next: Panner and Gnome Terminal lag time. |