Re: Changing the LABEL of an iso9660 file system

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 9/19/18 2:46 PM, Samuel Sieb wrote:
> On 9/19/18 2:37 PM, Chris Murphy wrote:
>> On Wed, Sep 19, 2018, 12:37 PM Samuel Sieb <samuel@xxxxxxxx
>> <mailto:samuel@xxxxxxxx>> wrote:
>>     Disks don't have labels, unless the whole disk is a filesystem
>> with no
>>     partition table, which was the case when you wrote the ISO to it. 
>> The
>>     partition table doesn't have a label.
>> GPT supports partition name (36 UTF-16LE code units).
>>
>> MBR lacks any naming.
> 
> Yes, *partition* name, not disk name.

Yup. The OP was talking about using e2label to change the label on an
ISO9660 filesystem, which it cannot do. e2label deals with _filesystem_
labels on ext2, ext3 and ext4 filesystems ONLY.

There is no filesystem label on ISO9660 images, but there IS an
optional "volume" label, which may be set when the ISO image is created.
There may even be a utility that lets you bugger the volume label on an
already-created ISO image file (but ISO images are supposed to be read-
only).

Most commonly used read/write filesystems support filesystem labels.
Ext2|3|4, XFS, BTRFS, NTFS, VFAT and a number of others all do. Some
support longer labels than others (ext2|3|4 allows up to 16 characters,
XFS only 12, etc.).

Raw disks don't have labels. MBR partition tables do not support
_partition_ labels. GPT partition tables DO support partition labels and
one should note that GPT _partition_ labels are separate from any
_filesystem_ labels applied to filesystems on those partitions. Here's
an example from a 1TB USB drive I use for backups:

[root@prophead ~]# parted /dev/sdb
GNU Parted 3.2
Using /dev/sdb
Welcome to GNU Parted! Type 'help' to view a list of commands.
(parted) print
Model: Seagate BUP Slim SL (scsi)
Disk /dev/sdb: 1000GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Disk Flags:

Number  Start   End     Size    File system  Name        Flags
 1      1049kB  1000GB  1000GB  ext4         BackupDisk

(parted) quit
[root@prophead ~]# e2label /dev/sdb1
BackUps

The output from parted shows partition 1 as having the _partition_ label
"BackupDisk", but the output from e2label querying the ext4 filesystem
on that partition comes up with a _filesystem_ label of "BackUps",
showing that they are, indeed, separate entities.

Please excuse my being so bombastic here. Just trying to be thorough.
----------------------------------------------------------------------
- Rick Stevens, Systems Engineer, AllDigital    ricks@xxxxxxxxxxxxxx -
- AIM/Skype: therps2        ICQ: 226437340           Yahoo: origrps2 -
-                                                                    -
-         If this is the first day of the rest of my life...         -
-                        I'm in BIG trouble!                         -
----------------------------------------------------------------------
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux