From: Marcel Bruinsma on
Am Donnerstag, 29. Oktober 2009 10:35, David Bolt a écrit :

> On Thursday 29 Oct 2009 08:49, while playing with a tin of spray
> paint, Marcel Bruinsma painted this mural:
>
>> You're right, the SWAPSPACE2 style swap areas, can be given
>> a label upon creation. That, however, is not the same thing as
>> the partition label, assigned with the mkpart parted command.
>
> Which version of parted are you using? The one supplied with
> openSUSE 11.1, parted-1.8.8, doesn't support partition labels.
> There the mkpart command is as follows:
>
> mkpart part-type [fs-type] start end
>
> part-type is the partition type, primary, extended or logical
> fs-type is the file system type, and is optional
> start and end are the start and end of the partition

Version 1.8.9 (with a few local minor-bug-fixes). Older
versions (1.8.7 and 1.8.8) do support partition labels
too, even if the manual doesn't mention them. The
semantics of mkpart (and many other commands)
depend on the disk label type (see mklabel). The gpt
disk label partition table is linear; 'primary', 'logical'
and 'extended' are meaningless with a linear partition
table. Instead, the 'part-type' string is used as the
label of the partiton. The label can be modified with
the name command.

--
printf -v email $(echo \ 155 141 162 143 145 154 142 162 165 151 \
156 163 155 141 100 171 141 150 157 157 056 143 157 155|tr \ \\\\)
# Live every life as if it were your last! #
From: Marcel Bruinsma on
Am Donnerstag, 29. Oktober 2009 11:29, Marcel Bruinsma a écrit :

> Am Donnerstag, 29. Oktober 2009 10:35, David Bolt a écrit :
>
>> On Thursday 29 Oct 2009 08:49, while playing with a tin of spray
>> paint, Marcel Bruinsma painted this mural:
>>
>>> You're right, the SWAPSPACE2 style swap areas, can be given
>>> a label upon creation. That, however, is not the same thing as
>>> the partition label, assigned with the mkpart parted command.
>>
>> Which version of parted are you using? The one supplied with
>> openSUSE 11.1, parted-1.8.8, doesn't support partition labels.
>> There the mkpart command is as follows:
>>
>> mkpart part-type [fs-type] start end
>>
>> part-type is the partition type, primary, extended or logical
>> fs-type is the file system type, and is optional
>> start and end are the start and end of the partition
>
> Version 1.8.9 (with a few local minor-bug-fixes).

Sorry, that should have been 1.9.0, of course.

> Older
> versions (1.8.7 and 1.8.8) do support partition labels
> too, even if the manual doesn't mention them. The
> semantics of mkpart (and many other commands)
> depend on the disk label type (see mklabel). The gpt
> disk label partition table is linear; 'primary', 'logical'
> and 'extended' are meaningless with a linear partition
> table. Instead, the 'part-type' string is used as the
> label of the partiton. The label can be modified with
> the name command.

--
printf -v email $(echo \ 155 141 162 143 145 154 142 162 165 151 \
156 163 155 141 100 171 141 150 157 157 056 143 157 155|tr \ \\\\)
# Live every life as if it were your last! #
From: Shmuel Metz on
In <slrnheigv4.6q1.houghi(a)penne.houghi>, on 10/29/2009
at 08:27 AM, houghi <houghi(a)houghi.org.invalid> said:

>I have heard about this by people over time, yet I never have noticed it
>in the years since at least SuSE 6.3 where I have been using YaST and
>edited fstab by hand.

I believe that I was still using DeadRat when SuSE 6.3 was current.

>Sure it changes my settings but only those changes that I select to be
>changed.

In my case it reverted changes that I had previously made, and I had not
selected for it to do so. I can't guaranty that it was fstab and
Partitioner.

>or YaST is afraid of me

Fear is the mind killer.

--
Shmuel (Seymour J.) Metz, SysProg and JOAT <http://patriot.net/~shmuel>

Unsolicited bulk E-mail subject to legal action. I reserve the
right to publicly post or ridicule any abusive E-mail. Reply to
domain Patriot dot net user shmuel+news to contact me. Do not
reply to spamtrap(a)library.lspace.org

From: Shmuel Metz on
In <hcbl3v$dgg$2(a)aioe.org>, on 10/29/2009
at 09:52 AM, Marcel Bruinsma <mb(a)nomail.afraid.org> said:

>Of course, partitions have a partition label, which is stored in the
>partition table, which is part of the disk label.

Logical drives in extended logical partitions also have labels, as do
logical volumes in LVM.

--
Shmuel (Seymour J.) Metz, SysProg and JOAT <http://patriot.net/~shmuel>

Unsolicited bulk E-mail subject to legal action. I reserve the
right to publicly post or ridicule any abusive E-mail. Reply to
domain Patriot dot net user shmuel+news to contact me. Do not
reply to spamtrap(a)library.lspace.org

From: Rikishi42 on
On 2009-10-28, Shmuel Metz <spamtrap(a)library.lspace.org.invalid> wrote:
>
>
> In <slrnhege5q.ejo.houghi(a)penne.houghi>, on 10/28/2009
> at 01:27 PM, houghi <houghi(a)houghi.org.invalid> said:
>
>>What I do when I am done with YaST is edit fstab so that the order is in
>>an order I like. It will change lines, not delete them and add at the end
>>afterwards.
>
> I don't recall the details, but I've had cases where I edited a
> configuration file manually and Yast later overwrote my changes. I've
> found it to be safer to just use Yast across the board, and only edit
> those files that Yast doesn't handle.

It used to be said that you had to run SuSEconfig after modifying a
configuration file manually. I allways did that, and never had any loss.

Just checked it out, seems 11.1 still has a SuSEconfig in it.


--
Any time things appear to be going better, you have overlooked
something.