From 0af15bf28002df1377b5e2a0c648efe7893157b4 Mon Sep 17 00:00:00 2001 From: Michael Prokop Date: Fri, 23 Mar 2007 22:16:22 +0100 Subject: [PATCH] Added "Change a FS-LABEL" tip --- debian/changelog | 6 ++++++ grml_tips | 24 ++++++++++++++++++++++++ 2 files changed, 30 insertions(+) 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: -- 2.1.4