fs.rst
changeset 648 d46bffeb8fa9
parent 647 100203a7752b
child 697 454bc71092a7
equal deleted inserted replaced
647:100203a7752b 648:d46bffeb8fa9
    42   http://msdn.microsoft.com/en-us/library/aa365247.aspx
    42   http://msdn.microsoft.com/en-us/library/aa365247.aspx
    43                 Naming Files, Paths, and Namespaces
    43                 Naming Files, Paths, and Namespaces
    44 
    44 
    45 * Block device attributes.
    45 * Block device attributes.
    46 
    46 
       
    47 ** How get UUID and label?
       
    48 
    47 Include UUID (Universally Unique Identifier) and labels.
    49 Include UUID (Universally Unique Identifier) and labels.
    48 
    50 
    49   $ ls -l /dev/disk/by-uuid/
    51   $ ls -l /dev/disk/by-uuid/
    50 lrwxrwxrwx 1 root root 10 2010-11-01 23:41 46B6-1FD4 -> ../../sdb2
    52 lrwxrwxrwx 1 root root 10 2010-11-01 23:41 46B6-1FD4 -> ../../sdb2
    51 lrwxrwxrwx 1 root root 10 2010-11-01 23:41 4C30299030298256 -> ../../sda1
    53 lrwxrwxrwx 1 root root 10 2010-11-01 23:41 4C30299030298256 -> ../../sda1
    81 E: ID_VENDOR=ATA
    83 E: ID_VENDOR=ATA
    82 E: ID_MODEL=WDC_WD1600JS-00M
    84 E: ID_MODEL=WDC_WD1600JS-00M
    83 E: ID_REVISION=02.0
    85 E: ID_REVISION=02.0
    84 ...
    86 ...
    85 
    87 
       
    88 ** How set UUID and label?
       
    89 
       
    90 For ext2/ext3 fs:
       
    91 
       
    92   $ sudo tune2fs /dev/hdb1 -U `uuid`
       
    93 
    86 * Linux fs under Windows.
    94 * Linux fs under Windows.
    87 
    95 
    88 ** Ext2 IFS.
    96 ** Ext2 IFS.
    89 
    97 
    90 It provides Windows NT4.0/2000/XP/2003/Vista/2008 with full access to Linux Ext2 volumes (read
    98 It provides Windows NT4.0/2000/XP/2003/Vista/2008 with full access to Linux Ext2 volumes (read