Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] Wie Titel/Label einer optischen Disk ausgeben?
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) Diskussionsforum
View previous topic :: View next topic  
Author Message
3PO
Veteran
Veteran


Joined: 26 Nov 2006
Posts: 1110
Location: Schwabenländle

PostPosted: Wed May 08, 2013 2:39 pm    Post subject: [SOLVED] Wie Titel/Label einer optischen Disk ausgeben? Reply with quote

Hallo Zusammen,

ich habe folgendes Problem:

Wenn ich eine CD oder DVD brenne, kann ich diese ja einen Namen, z.B. "MY_DISK", vergeben.

Wenn ich nun diese DVD in mein DVD-LW einlege, wird sie mit Dolphin auch als "MY_DISK" angezeigt.

Soweit, so gut, aber wie kann ich mir diese Info auf der Console anzeigen lassen?


Last edited by 3PO on Wed May 08, 2013 6:53 pm; edited 1 time in total
Back to top
View user's profile Send private message
3PO
Veteran
Veteran


Joined: 26 Nov 2006
Posts: 1110
Location: Schwabenländle

PostPosted: Wed May 08, 2013 6:51 pm    Post subject: Reply with quote

Hat sich erledigt, ich habe eine Lösung gefunden. :)

Es geht damit:

Code:
blkid -o value -s LABEL /dev/sr0


Oder aber auch so:

Code:
udevadm info -n /dev/sr0 -q property | sed -n 's/^ID_FS_LABEL=//p'
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) Diskussionsforum All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum