搜尋此網誌

2011年10月21日 星期五

EFI Shell commands -- VOL(顯示或改變一個特定檔案系統的標籤值)

Displays or changes the volume label for a specified file system.

VOL [fs] [-n | -d]

    fs       - File system name
    -n       - New volume label
    -d       - Delete current volume label

Note:
    1. The following characters cannot be used in a Volume Label:
       % ^ * + = [ ] | : ; " < > ? / ..
    2. No spaces are allowed in a Volume Label.
    3. If the fs parameter is not specified, fs defaults to the current file
       system.

Examples:
  * To display the volume label of the current file system:
    fs0:\> vol
    Volume has no label (rw)
          1,457,664 bytes total disk space
          1,149,440 bytes available on disk
                512 bytes in each allocation unit

  * To change the volume label of file system fs0:\
    shell> vol fs0 -n help_test
    Volume HELP_TEST (rw)
          1,457,664 bytes total disk space
          1,149,440 bytes available on disk
                512 bytes in each allocation unit

  * To delete the volume label of file system fs0:\
    fs0:\> vol fs0 -d
    Volume has no label (rw)
          1,457,664 bytes total disk space
            220,160 bytes available on disk
                512 bytes in each allocation unit

沒有留言:

張貼留言