Difference between revisions of "Talk:Persistent block device naming"

From ArchWiki
Jump to: navigation, search
Line 21: Line 21:
 
:It works, yes. But I prefer LABEL over UUID:
 
:It works, yes. But I prefer LABEL over UUID:
 
:<tt>LABEL=HOME-jfs /home nodev,nosuid,noatime 0 2</tt>
 
:<tt>LABEL=HOME-jfs /home nodev,nosuid,noatime 0 2</tt>
 +
 
: --[[User:Byte|byte]] 08:19, 19 December 2006 (EST)
 
: --[[User:Byte|byte]] 08:19, 19 December 2006 (EST)
  
Line 30: Line 31:
 
:--[[User:Kozaki|kozaki]] 15:19, 7 January 2007 (PST)
 
:--[[User:Kozaki|kozaki]] 15:19, 7 January 2007 (PST)
  
but I havn't this /dev/disk/by-label direction,why?
+
----
 +
but I havn't this /dev/disk/by-label directary,why?
 +
mawchmail@gmail.com

Revision as of 02:22, 17 March 2007

Enabling persistent naming in /etc/fstab is easy, just replace the device name in the first column by the new persistent name. In my example I would replace /dev/sda7 by one of the following:

/dev/disk/by-label/home or /dev/disk/by-uuid/31f8eb0d-612b-4805-835e-0e6d8b8c5591 Do so for all the partitions in your fstab file.


... is this really truely ?

I have to use :

UUID=31f8eb0d-612b-4805-835e-0e6d8b8c5591 /home

or I understood somewhat wrongly.

piwi



It works, yes. But I prefer LABEL over UUID:
LABEL=HOME-jfs /home nodev,nosuid,noatime 0 2
--byte 08:19, 19 December 2006 (EST)



Found this howto easy & very usefull :) Have got a few HDDs & USBKeys that love to be (disk-label) mounted so easy but still a sure way (by easy i mean, compared to udev rules ;).

--kozaki 15:19, 7 January 2007 (PST)

but I havn't this /dev/disk/by-label directary,why? mawchmail@gmail.com