Bug 18268 - LABEL: in fstab is dangerous
Summary: LABEL: in fstab is dangerous
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: anaconda
Version: 7.0
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Erik Troan
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2000-10-03 22:05 UTC by Mark B. Allan
Modified: 2008-05-01 15:37 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Enhancement
Doc Text:
Clone Of:
Environment:
Last Closed: 2000-10-05 13:03:46 UTC
Embargoed:


Attachments (Terms of Use)

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 ;-)


Note You need to log in before you can comment on or make changes to this bug.