Added "Change a FS-LABEL" tip
authorMichael Prokop <mika@grml.org>
Fri, 23 Mar 2007 21:16:22 +0000 (22:16 +0100)
committerMichael Prokop <mika@grml.org>
Fri, 23 Mar 2007 21:16:22 +0000 (22:16 +0100)
debian/changelog
grml_tips

index cf5c49d..37837ba 100644 (file)
@@ -1,3 +1,9 @@
+grml-tips (0.3.27) unstable; urgency=low
+
+  * Added 'Change a FS-LABEL' tip.
+
+ -- Michael Prokop <mika@grml.org>  Fri, 23 Mar 2007 22:16:06 +0100
+
 grml-tips (0.3.26) unstable; urgency=low
 
   * Update block_dump tip, merge the two existing tips.
index de47abc..1ed3439 100644 (file)
--- a/grml_tips
+++ b/grml_tips
@@ -2099,6 +2099,30 @@ reiserfs without vol_id:
 reiser4 without vol_id:
 # debugfs.reiser4 /dev/sda1 | grep label
 -- 
+Change a FS-LABEL:
+
+swap:
+# mkswap -L $LABEL /dev/sda1
+
+ext2/ext3:
+# e2label /dev/sda1 $LABEL
+
+reiserfs:
+# reiserfstune -l $LABEL /dev/sda1
+
+jfs:
+# jfs_tune -L $LABEL /dev/sda1
+
+xfs:
+# xfs_admin -L $LABEL /dev/sda1
+
+fat/vfat:
+# echo 'drive i: file="/dev/sda1"' >> ~/.mtoolsrc
+# mlabel -s i:$LABEL
+
+ntfs:
+# ntfslabel /dev/sda1 /dev/sda1
+-- 
 Disable pdiffs feature of APT:
 
 Permanent: