Re: [opensuse] Volume Labels



On Thu, Nov 29, 2007 at 02:27:22PM -0700, Donald D Henson wrote:
Greg KH wrote:
On Thu, Nov 29, 2007 at 06:09:51AM -0700, Donald D Henson wrote:
I have four partitions on three external disk drives. They show up in my
Gnome Places Panel as <capacity> Volume. For example:

129 GB Volume

I would like to have them show up with a more meaningful name, such as:

Public

This seems like a problem with a simple solution but the articles I've
found so far go into theoretical kernel jargon, about 99% of which I
don't understand. Can anyone point me to an easily understandable
procedure for naming a volume? I'd appreciate any assistance.

You can set the volume id when you create the volume initially with the
mke2fs program using the -L option (this is for ext2/3 filesystems,
other file systems also have their options.)

If the filesystem is already created, and you don't want to destroy it
and all of the data on it, just use the tune2fs program, again with the
-L option.

Hope this helps,

greg k-h

It seemed to be just what I needed but I can't get it to change the
volume name. As root, I used the command:

tune2fs -L Float /dev/sdc1

It appeared to work but when I looked at it's properties, the Volume
name hadn't changed. Do you see anything wrong with the command?

How did you look at the properties of the device? Did you reboot?
Try running the volume-id program to view it.


thanks,

greg k-h
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx



Relevant Pages

  • Re: Quantum XP39100S Atlas II and 8GB limit (not int 13h extd related?)
    ... There is a READ CAPACITYcommand without this limit, ... smaller capacity, the rest of the blocks may still be available. ... Both methods must be implemented in the firmware. ... Changing the global LBA limit in the firmware would be trivial too, ...
    (comp.periphs.scsi)
  • Re: SPTI firewire problem
    ... so READ CAPACITY was used. ... >> the *previous* command, not with READ CAPACITY. ... > Also, let me put it this way: unless I am terribly mistaken, malformed CDB ... > send it through: IDE or FireWire, ...
    (microsoft.public.development.device.drivers)
  • Re: SPTI firewire problem
    ... so READ CAPACITY was used. ... >> the *previous* command, not with READ CAPACITY. ... > Also, let me put it this way: unless I am terribly mistaken, malformed CDB ... > send it through: IDE or FireWire, ...
    (microsoft.public.windowsxp.device_driver.dev)
  • Re: Quantum XP39100S Atlas II and 8GB limit (not int 13h extd related?)
    ... capacity" command, and I also get back only 16777216 sectors (which is ... There is a READ CAPACITYcommand without this limit, ... It requires a firmware change. ...
    (comp.periphs.scsi)
  • Re: [opensuse] Volume Labels
    ... Greg KH wrote: ... Gnome Places Panel as <capacity> Volume. ... and all of the data on it, just use the tune2fs program, again with the ... Do you see anything wrong with the command? ...
    (SuSE)