2016年12月21日 星期三

改xfs檔案系統的標籤(LABEL)

目前一般Linux的檔案系統是ext4,如果要修改某檔案系統的標籤可以用tune2fs。但如果是xfs檔案系統,則必須要用xfs_admin這個指令:
  • 安裝xfsprogs
  • mkfs.xfs /dev/sde2
  • xfs_admin -L TEMP /dev/sde2
  • mount /dev/sde2 /temp
上述指令的意思是:安裝完xfsprogs之後,會有mkfs.xfs可以將sde2這個磁區格式化成xfs filesystem,再用xfs_admin將此磁區的標籤(LABEL)改成TEMP,最後掛載到/temp

_EOF_

1 則留言:

  1. Signs of WU_S_ALREADY_DOWNLOADED:
    When your computer freezes or locks up at random.
    When your computer crashes when you are running Windows Operating System.
    If 0x00240008 pops up and causes a program to shutdown or your computer to crash.
    Your computer is running slow, taking a long time to boot up, and you suspect WU_S_ALREADY_DOWNLOADED by Windows Operating System is the cause.

    For newbies and experts alike, a reliable registry cleanup software is key to ensure that you can resolve computer issues like Error 0x00240008 seamlessly. Through this software, it can save you time and effort including the possible hassle of having to purchase a new computer.

    回覆刪除