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

Re: naming a partition after the fact?



On 9/29/23 20:05, Andy Smith wrote:
Hello,

On Fri, Sep 29, 2023 at 06:01:09PM -0400, Stefan Monnier wrote:
If you do mean a partition label, can you elaborate as to what the
use case is and why a filesystem label doesn't work for it? I'm sure

FWIW, I use "partition" labels (more specifically LVM names) because
they have the advantage of working the same no matter what the partition
holds, so I don't need to remember which command to use for
which filesystem.

Sorry, being familiar both with partition labels, and LVM, I don't
know what an "LVM name" is in relation to a partition label. Can you
elaborate?

In my understanding, an LVM name is just the name of an LVM device
like /dev/vgname/lvname whereas a partition label specifically is an
attribute of a GPT partition entry:

     https://gparted.org/display-doc.php?name=help-manual#gparted-name-partition

So in my understanding, these things are not equivalent concepts.

As evidenced by this thread lots of people confuse partition
names/labels for filesystem labels, even though they are distinct
things, which was why I asked Gene if he really meant a partition
label when he wrote that.

Yes I did Andy.
Thanks,
Andy


Cheers, Gene Heskett.
--
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author, 1940)
If we desire respect for the law, we must first make the law respectable.
 - Louis D. Brandeis
Genes Web page <http://geneslinuxbox.net:6309/>


Reply to: