# HG changeset patch # User Oleksandr Gavenko # Date 1288645417 -7200 # Node ID d46bffeb8fa9b08dfa59912d13f3c94d6002850c # Parent 100203a7752bda30cc985f6ab0ff58a7df2bb9bd How set UUID and label? diff -r 100203a7752b -r d46bffeb8fa9 fs.rst --- a/fs.rst Mon Nov 01 22:39:47 2010 +0200 +++ b/fs.rst Mon Nov 01 23:03:37 2010 +0200 @@ -44,6 +44,8 @@ * Block device attributes. +** How get UUID and label? + Include UUID (Universally Unique Identifier) and labels. $ ls -l /dev/disk/by-uuid/ @@ -83,6 +85,12 @@ E: ID_REVISION=02.0 ... +** How set UUID and label? + +For ext2/ext3 fs: + + $ sudo tune2fs /dev/hdb1 -U `uuid` + * Linux fs under Windows. ** Ext2 IFS.