Bug 18268

Summary: LABEL: in fstab is dangerous
Product: [Retired] Red Hat Linux Reporter: Mark B. Allan <mallan>
Component: anacondaAssignee: Erik Troan <ewt>
Status: CLOSED NOTABUG QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 7.0CC: dr
Target Milestone: ---Keywords: FutureFeature
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2000-10-05 13:03:46 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Mark B. Allan 2000-10-03 22:05:35 UTC
Using LABEL: in fstab instead of a /dev/hd* entry is a very bad idea
because many people (myself included) have several Linux installs on the
same machine. When I do an upgrade, I keep the old version and install the
new version on different partitions (keeping only /home and /usr/local) so
I can go back to the old OS if necessary. What happens when there are two
or three partitions with the label "/usr"?

Comment 1 Erik Troan 2000-10-05 13:03:43 UTC
The install checks all type 0x83 partitions for labels to make sure that it is
using unique labels. If a / already exists, for example, the new / will be
label'd /1. Similiar changes happen for /usr, and to avoid
/usr/share/something/or/other and /usr/share/something/or/this from having
the same label after being truncated to fit in the superblock. Yes, this has all
been tested ;-)