From: Michael Prokop Date: Fri, 23 Mar 2007 21:16:22 +0000 (+0100) Subject: Added "Change a FS-LABEL" tip X-Git-Tag: 0.3.27~1 X-Git-Url: http://git.grml.org/?p=grml-tips.git;a=commitdiff_plain;h=0af15bf28002df1377b5e2a0c648efe7893157b4 Added "Change a FS-LABEL" tip --- diff --git a/debian/changelog b/debian/changelog index cf5c49d..37837ba 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +grml-tips (0.3.27) unstable; urgency=low + + * Added 'Change a FS-LABEL' tip. + + -- Michael Prokop 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. diff --git a/grml_tips b/grml_tips index de47abc..1ed3439 100644 --- 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: