X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=grml_tips;h=1ed3439d807a10a474f5b9814d17a106d76df422;hb=0af15bf28002df1377b5e2a0c648efe7893157b4;hp=29fa9963917ed0c64bcaf037d22b5504fc427ad8;hpb=ec4516da3042ce4f53d5c2c07dbbd957f6801afd;p=grml-tips.git diff --git a/grml_tips b/grml_tips index 29fa996..1ed3439 100644 --- a/grml_tips +++ b/grml_tips @@ -1758,6 +1758,8 @@ Start X and lock console via exiting: -- Which process is writing to disk and/or causes the disk to spin up? +First of all use lsof to check what's going on. Does not help? -> + # echo 1 > /proc/sys/vm/block_dump The command sets a sysctl to cause the kernel to log all disk @@ -2097,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: