26.04.2024, 16:55 UhrDeutsch | English
Hallo Gast [ Registrierung | Anmelden ]
Letzte Änderung am 2006-08-20 03:35:43 von Richard proofing

Erweiterungen:
For a ext3 partition:
e2label /dev/sda2 old2

For a reiserfs partition:
reiserfstune -l new2 /dev/sdb2

Details for reiserfs (3.6) partition:
root@kanotix:/home/jan# umount /dev/sdb2
Details for !ext3 partition:
root@kanotix:/home/jan# e2label /dev/sda2? old2?


Löschungen:
For a ext3 partition:
e2label /dev/sda2 old2

For a reiserfs partition:
reiserfstune -l new2 /dev/sdb2

Details for reiserfs (3.6) partition:
root@kanotix:/home/jan# umount /dev/sdb2
Details for !ext3 partition:
root@kanotix:/home/jan# e2label /dev/sda2? old2?
root@kanotix:/home/jan#
%%



Editiert am 2006-08-09 21:05:36 von RoEn

Erweiterungen:
The KDE desktop displays partitions on USB drives as: sda1, sda2, sdb1, sdb2, sdb3, ...
The KDE desktop displays partitions on USB drives as: old1, old2, new1, new2, new3, ...
For a ext3 partition:
Details for ext3 partition:


Löschungen:
The KDE desktop displays partitions on USB drives as: sda1?, sda2?, sdb1?, sdb2?, sdb3?, ...
The KDE desktop displays partitions on USB drives as: old1?, old2?, new1?, new2?, new3?, ...
For a ext3? partition:
Details for ext3? partition:



Editiert am 2006-08-09 20:57:23 von RoEn

Erweiterungen:

How to label partitions of USB HDDs

The KDE desktop displays partitions on USB drives as: 10 GB, 50 GB, 34GB, 23 GB, 25GB , ... Very hard to identify whats what:
e2label /dev/sda2 old2

reiserfstune -l new2 /dev/sdb2

root@kanotix:/home/jan# 

root@kanotix:/home/jan# e2label /dev/sda2 old2

zurück


Löschungen:
How to label partitions of USB HDDs.

The KDE desktop displays partitions on USB drives as: 10 GB, 50 GB, 34GB, 23 GB, 25GB , ...
Very hard to identify whats what:
e2label /dev/sda2? old2?
reiserfstune -l new2? /dev/sdb2?
:code:
root@kanotix:/home/jan#
:code:
:code:
root@kanotix:/home/jan# e2label /dev/sda2? old2?
:code:



älteste bekannte Version dieser Seite wurde bearbeitet am 2005-12-01 12:28:58 von JanMartin [ ]

How to label partitions of USB HDDs.

This is valid for the KDE desktop of kanotix 2005-04 and its release candidates.
Has been tested with kanotix 2005-04 rc 17.

Link to related topic in Forum.

Kanotix 2005-03
The KDE desktop displays partitions on USB drives as: sda1?, sda2?, sdb1?, sdb2?, sdb3?, ...

Kanotix 2005-04
The KDE desktop displays partitions on USB drives as: 10 GB, 50 GB, 34GB, 23 GB, 25GB , ...
Very hard to identify whats what:
>img>usb_partitions_unlabeled.png

Kanotix 2005-04, after labeling:
The KDE desktop displays partitions on USB drives as: old1?, old2?, new1?, new2?, new3?, ...
Way better!
>img>usb_partitions_labeled.png

Of course you can be a bit more creative than me with the label names!

The solution is to label the partitions, to give them names.
After labeling just remove and reattach the USB cable or reboot the PC to see the new labels.

This does not work with partitions on the build-in HDD of my PC.
It seems one would have to edit the fstab (etc/fstb) file to.

Also every filesystem has its own commands for labeling.
Please add your experience with other filesystems!

Examples that worked for me:

For a ext3? partition:
e2label /dev/sda2? old2?

For a reiserfs partition:
reiserfstune -l new2? /dev/sdb2?

Details for reiserfs (3.6) partition:

:code:
root@kanotix:/home/jan# umount /dev/sdb2?
root@kanotix:/home/jan# reiserfstune -l new2? /dev/sdb2?
reiserfstune: Journal device has not been specified. Assuming journal is on the main device (/dev/sdb2?).

Current parameters:

Filesystem state: consistent

Reiserfs super block in block 16 on 0x812 of format 3.6 with standard journal
Count of blocks on the device: 14902288
Number of bitmaps: 455
Blocksize: 4096
Free blocks (count of blocks - used [journal, bitmaps, data, reserved] blocks): 14893622
Root block: 8211
Filesystem is clean
Tree height: 2
Hash function used to sort names: "r5"
Objectid map size 2, max 972
Journal parameters:
        1. [0x0]
      1. [0x63909653]
    1. 8193 blocks (including 1 for journal header) (first block 18)
  1. transaction length 1024 blocks
  2. batch size 900 blocks
  3. commit age 30
Blocks reserved by journal: 0
Fs state field: 0x0:
sb_version: 2
inode generation number: 0
UUID: cadebd8b?-0c2f-4615-9b25-343d962bebf5?
LABEL: new2?
Set flags in SB:
        1. CLEAN
root@kanotix:/home/jan#
:code:

Details for ext3? partition:

:code:
root@kanotix:/home/jan# e2label /dev/sda2? old2?
root@kanotix:/home/jan#
:code:
Letzte Revision :
Letzter Editor :
Eigentümer :
 
Deutsch | English
Logos and trademarks are the property of their respective owners, comments are property of their posters, the rest is © 2004 - 2006 by Jörg Schirottke (Kano).
Consult Impressum and Legal Terms for details. Kanotix is Free Software released under the GNU/GPL license.
This CMS is powered by PostNuke, all themes used at this site are released under the GNU/GPL license. designed and hosted by w3you. Our web server is running on Kanotix64-2006.