Showing posts with label partition. Show all posts
Showing posts with label partition. Show all posts

Tuesday, April 1, 2008

Change partition volume labels on linux

** VFAT

  • set new label :: mlabel -i /dev/sdb1 -n ::BABIL
  • show label :: mlabel -i /dev/sdb1 -s ::
** NTFS

  • ntfslabel /dev/sdb1 BABIL
** EXT2/3


  • e2label /dev/sda1 BABIL
** JFS

  • set new label :: jfs_tune -L BABIL /dev/sdb1
  • show label :: jfs_tune -l /dev/sdb1
** ReiserFS

  • reiserfstune -l 'BABIL' /dev/sdb1
** XFS

  • set new label :: xfs_admin -L BABIL /dev/sdb1
  • show label :: xfs_admin -l /dev/sdb1