[opensuse] Ugly names for disks
12.3 with LXDE Hi I have a USB disk for backup that I can take off the premises . It used to mount at: /media/disk but now it mounts to: /run/media/lynn/55bf1731-cd0c-49d1-8995-04139022821f I can live with the /run/media/lynn bit, but really, "55bf1731-cd0c-49d1-8995-04139022821f"? Can I change it to something more readable? Thanks, L x -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 04/07/2013 01:25 PM, lynn wrote:
12.3 with LXDE
Hi I have a USB disk for backup that I can take off the premises . It used to mount at: /media/disk but now it mounts to: /run/media/lynn/55bf1731-cd0c-49d1-8995-04139022821f
I can live with the /run/media/lynn bit, but really, "55bf1731-cd0c-49d1-8995-04139022821f"?
Can I change it to something more readable?
- likewise : my experience also . . . when i plug in my usb disk , which hwinfo --usb shows is seen as device "sdc" : from konsole, as root, i command : #umount /dev/sdc* .................. next, i mount /dev/sdc on /mnt . . . [ and use rsync to do backup ] ............. best regards -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 04/07/2013 12:25 PM, lynn wrote:
12.3 with LXDE
Hi I have a USB disk for backup that I can take off the premises . It used to mount at: /media/disk but now it mounts to: /run/media/lynn/55bf1731-cd0c-49d1-8995-04139022821f
I can live with the /run/media/lynn bit, but really, "55bf1731-cd0c-49d1-8995-04139022821f"?
Can I change it to something more readable? Thanks, L x
If it is an ext[234]fs do a tunefs -L myname /dev/sdXY as root where myname is the name you want to to displayed (<= 16 characters), X is the drive letter and Y the partition number. Best regards Robert -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 07/04/13 21:42, Robert Klein wrote:
On 04/07/2013 12:25 PM, lynn wrote:
12.3 with LXDE
Hi I have a USB disk for backup that I can take off the premises . It used to mount at: /media/disk but now it mounts to: /run/media/lynn/55bf1731-cd0c-49d1-8995-04139022821f
I can live with the /run/media/lynn bit, but really, "55bf1731-cd0c-49d1-8995-04139022821f"?
Can I change it to something more readable? Thanks, L x
If it is an ext[234]fs do a
tunefs -L myname /dev/sdXY
as root where myname is the name you want to to displayed (<= 16 characters), X is the drive letter and Y the partition number.
Is this a permanent change or does one need to run this everytime the device is being mounted? BC -- Using openSUSE 12.3 x86_64 KDE 4.10.2 & kernel 3.8.6-1 on a system with- AMD FX 8-core 3.6/4.2GHz processor 16GB PC14900/1866MHz Quad Channel Corsair "Vengeance" RAM Gigabyte AMD3+ m/board; Gigabyte nVidia GTX550Ti 1GB DDR5 GPU -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Dne Ne 7. dubna 2013 22:29:00, Basil Chupin napsal(a):
On 07/04/13 21:42, Robert Klein wrote:
On 04/07/2013 12:25 PM, lynn wrote:
12.3 with LXDE
Hi I have a USB disk for backup that I can take off the premises . It used to mount at: /media/disk but now it mounts to: /run/media/lynn/55bf1731-cd0c-49d1-8995-04139022821f
I can live with the /run/media/lynn bit, but really, "55bf1731-cd0c-49d1-8995-04139022821f"?
Can I change it to something more readable? Thanks, L x
If it is an ext[234]fs do a
tunefs -L myname /dev/sdXY
as root where myname is the name you want to to displayed (<= 16 characters), X is the drive letter and Y the partition number.
Is this a permanent change or does one need to run this everytime the device is being mounted?
Unless something is broken, it is permanent. :-)
BC
Have a nice day, Vojtěch -- Vojtěch Zeisek Komunita openSUSE GNU/Linuxu Community of the openSUSE GNU/Linux http://www.opensuse.org/ http://trapa.cz/
On 2013-04-07 22:29 (GMT+1000) Basil Chupin composed:
Robert Klein wrote:
lynn wrote:
Can I change it to something more readable?
If it is an ext[234]fs do a
tunefs -L myname /dev/sdXY
as root where myname is the name you want to to displayed (<= 16 characters), X is the drive letter and Y the partition number.
Is this a permanent change or does one need to run this everytime the device is being mounted?
It lasts until you reformat or run tune2fs -L again. IOW, it has the same persistence as a UUID. Creating a volume label here at mkfs time is standard procedure: mkfs -t ext# -L memorablelabel devicename. If at installation time any formatting is done or new partition created, I assign a volume label then, _and_ during installation I specify mounting by label for all partitions with native filesystems. -- "The wise are known for their understanding, and pleasant words are persuasive." Proverbs 16:21 (New Living Translation) Team OS/2 ** Reg. Linux User #211409 ** a11y rocks! Felix Miata *** http://fm.no-ip.com/ -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 07/04/13 13:42, Robert Klein wrote:
On 04/07/2013 12:25 PM, lynn wrote:
12.3 with LXDE
Hi I have a USB disk for backup that I can take off the premises . It used to mount at: /media/disk but now it mounts to: /run/media/lynn/55bf1731-cd0c-49d1-8995-04139022821f
I can live with the /run/media/lynn bit, but really, "55bf1731-cd0c-49d1-8995-04139022821f"?
Can I change it to something more readable? Thanks, L x
If it is an ext[234]fs do a
tunefs -L myname /dev/sdXY
as root where myname is the name you want to to displayed (<= 16 characters), X is the drive letter and Y the partition number.
Best regards Robert
Hi everyone That works fine. It's tune2fs e.g. tune2fs -L disk /dev/sdf1 Thanks, L x -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
lynn said the following on 04/07/2013 06:25 AM:
12.3 with LXDE
Hi I have a USB disk for backup that I can take off the premises . It used to mount at: /media/disk but now it mounts to: /run/media/lynn/55bf1731-cd0c-49d1-8995-04139022821f
I can live with the /run/media/lynn bit, but really, "55bf1731-cd0c-49d1-8995-04139022821f"?
Can I change it to something more readable?
Yes; what people aren't saying is IF the usb has no name THEN it gets mounted by the UUID So give it a name. Robert Klein tells you how with ext[234]fs The man page for mlabel(1) or dosfslabel(8) tells you how for the DOS formatted devices. If you want to get round the "/run/media/lynn" but and go back to the Good Old "/media" way of life, we've recently discussed how to tweak the way udisks2 works by adding a udev.d rule. Check this last month's archives. -- We'll give you your money back if not satisfied, but we do suspect that we will be quite satisfied with your money. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 07/04/13 22:49, Anton Aylward wrote:
lynn said the following on 04/07/2013 06:25 AM:
12.3 with LXDE
Hi I have a USB disk for backup that I can take off the premises . It used to mount at: /media/disk but now it mounts to: /run/media/lynn/55bf1731-cd0c-49d1-8995-04139022821f
I can live with the /run/media/lynn bit, but really, "55bf1731-cd0c-49d1-8995-04139022821f"?
Can I change it to something more readable? Yes; what people aren't saying is
IF the usb has no name THEN it gets mounted by the UUID So give it a name. Robert Klein tells you how with ext[234]fs The man page for mlabel(1) or dosfslabel(8) tells you how for the DOS formatted devices.
If you want to get round the "/run/media/lynn" but and go back to the Good Old "/media" way of life, we've recently discussed how to tweak the way udisks2 works by adding a udev.d rule. Check this last month's archives.
The way I read that exchange was that it all to do with udisk and not udisk2. Are you saying that the same fix can be applied to udusk2? BC -- Using openSUSE 12.3 x86_64 KDE 4.10.2 & kernel 3.8.6-1 on a system with- AMD FX 8-core 3.6/4.2GHz processor 16GB PC14900/1866MHz Quad Channel Corsair "Vengeance" RAM Gigabyte AMD3+ m/board; Gigabyte nVidia GTX550Ti 1GB DDR5 GPU -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 08/04/13 22:06, Basil Chupin wrote: <snip>
Are you saying that the same fix can be applied to udusk2?
Only after dark ..... -- Robin K Wellington "Harbour City" New Zealand -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 08/04/13 20:25, Robin Klitscher wrote:
On 08/04/13 22:06, Basil Chupin wrote: <snip>
Are you saying that the same fix can be applied to udusk2?
Only after dark .....
Ah, and with a new moon trying to break through the dark clouds as well I imagine? BC -- Using openSUSE 12.3 x86_64 KDE 4.10.2 & kernel 3.8.6-1 on a system with- AMD FX 8-core 3.6/4.2GHz processor 16GB PC14900/1866MHz Quad Channel Corsair "Vengeance" RAM Gigabyte AMD3+ m/board; Gigabyte nVidia GTX550Ti 1GB DDR5 GPU -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 08/04/13 20:40, Basil Chupin wrote:
On 08/04/13 20:25, Robin Klitscher wrote:
On 08/04/13 22:06, Basil Chupin wrote: <snip>
Are you saying that the same fix can be applied to udusk2?
Only after dark .....
Ah, and with a new moon trying to break through the dark clouds as well I imagine?
BC Well, what do you know...a coincidence or what? :-)
Today there happens to be a new moon and I just applied the "fix" which Patrick provided to have USB devices when connected to mount in /media -- and the fix also works in udisks2 :-) . BC -- Using openSUSE 12.3 x86_64 KDE 4.10.2 & kernel 3.8.6-2 on a system with- AMD FX 8-core 3.6/4.2GHz processor 16GB PC14900/1866MHz Quad Channel Corsair "Vengeance" RAM Gigabyte AMD3+ m/board; Gigabyte nVidia GTX550Ti 1GB DDR5 GPU -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
participants (8)
-
Anton Aylward
-
Basil Chupin
-
ellanios82
-
Felix Miata
-
lynn
-
Robert Klein
-
Robin Klitscher
-
Vojtěch Zeisek