BTS

Issue974

Title grml-rebuildfstab confuses user when multiple partitions have the same label
Priority wish Status resolved
Superseder Nosy List ch, mru
Assigned To Topics

Created on 2011-03-20.12:11:09 by ch, last changed 2011-11-07.12:03:09 by mika.

Messages
msg4032 (view) Author: mika Date: 2011-11-07.12:03:09
http://paste.grml.org/644 for vfat.
Works as expected, closing with ACK from bugreporter (Christian).
msg4031 (view) Author: mika Date: 2011-11-07.11:56:57
Just checked how this looks like:

  http://paste.grml.org/643

Isn't this what you'd expect to get?
Is there anything what needs to be changed?

regards
-mika-
msg3710 (view) Author: ch Date: 2011-03-20.12:29:47
Michael Prokop <mika@grml.org> added the comment:
> * Christian Hofstaedtler wrote in grml's BTS on 20110320 / 13:11:
>> It's more common than we thought that this occurs. (Esp. on auto-partitioned disks
>> (RH Installer...) or prop. OSes.)
>
> Yeah.
>
> But multiple identical labels won't work (that's why just for the
> first label the label entry is used and all the others should fall
> back to safe defaults) - so what's the proper solution?
> Don't use labels if there are more of the same type?

I guess so. We will have to see how we can actually do that.
Maybe we should just put the device name in /etc/fstab and add a
comment with the label...

  -ch
msg3708 (view) Author: mika Date: 2011-03-20.12:17:32
* Christian Hofstaedtler wrote in grml's BTS on 20110320 / 13:11:

> grml-rebuildfstab only adds the first partition with a particular label to 
> /etc/fstab.

Jepp.

> It's more common than we thought that this occurs. (Esp. on auto-partitioned disks 
> (RH Installer...) or prop. OSes.)

Yeah.

But multiple identical labels won't work (that's why just for the
first label the label entry is used and all the others should fall
back to safe defaults) - so what's the proper solution?
Don't use labels if there are more of the same type?

regards,
-mika-
msg3706 (view) Author: ch Date: 2011-03-20.12:11:08
grml-rebuildfstab only adds the first partition with a particular label to 
/etc/fstab.
It's more common than we thought that this occurs. (Esp. on auto-partitioned disks 
(RH Installer...) or prop. OSes.)
History
Date User Action Args
2011-11-07 12:03:09mikasetstatus: chatting -> resolved
nosy: mru, ch
messages: + msg4032
2011-11-07 11:56:57mikasetnosy: mru, ch
messages: + msg4031
2011-04-28 21:45:18chsetnosy: + mru
2011-03-20 12:29:48chsetmessages: + msg3710
2011-03-20 12:17:34mikasetstatus: unread -> chatting
messages: + msg3708
2011-03-20 12:11:09chcreate