Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 27798 - fstab inconsistency
Summary: fstab inconsistency
Status: RESOLVED FIXED
Alias: None
Product: [OLD] Docs-user
Classification: Unclassified
Component: Gentoo Linux x86 Installation Guide (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Benny Chuang (RETIRED)
URL: http://www.gentoo.org/doc/en/gentoo-x...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-09-02 14:31 UTC by Daniel S Dantas
Modified: 2003-09-04 01:02 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
created patch to add notification (x86-install.patch,624 bytes, patch)
2003-09-02 16:39 UTC, Benny Chuang (RETIRED)
Details | Diff
replaced note with warn (x86-install.patch,632 bytes, patch)
2003-09-02 20:13 UTC, Benny Chuang (RETIRED)
Details | Diff
Added Warning tags for Grub, Lilo KV subsitutition (x86-install.patch,1.19 KB, patch)
2003-09-02 21:57 UTC, Benny Chuang (RETIRED)
Details | Diff
The warning for BOOT,ROOT doubles (x86-install.patch,1.14 KB, patch)
2003-09-03 03:14 UTC, Benny Chuang (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel S Dantas 2003-09-02 14:31:50 UTC
In section 15 of the x86 installation guide, the fstab file contains
"/dev/BOOT", "/dev/ROOT", and "/dev/SWAP". This is inconsistent with the style
of the rest of the document. The rest of the document assumes that the user used
the default partition settings. As such, to be consistent, the fstab example
should list "/dev/hda1", "/dev/hda3", and "/dev/hda2" respectively. 

I encountered an error where I just blindly typed in "/dev/BOOT" expecting it to
work, and I saw a couple people struggling with the same thing in the forums.
The rest of the install guide lets the user "just copy the line and Gentoo will
work." Then the user hits the fstab section and does not realize they need to
change mentalities and stop copying. 

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Benny Chuang (RETIRED) gentoo-dev 2003-09-02 16:39:27 UTC
Created attachment 16977 [details, diff]
created patch to add notification 

added notification about /dev/BOOT replacement
Comment 2 George Shapovalov (RETIRED) gentoo-dev 2003-09-02 19:02:37 UTC
Um,
>I encountered an error where I just blindly typed in "/dev/BOOT" expecting 
>it to work,
Replacing uppercase BOOT, ROOT, etc. with hda1, hda2... will make more people do just what you described, which is *absolutely bad*. People *should think* about what they are doing, especially about this step. I believe this example was done the way it is to get user's attention, sure things are not always completely apparent :).
As such I think it would be bad to use "something looking right" in this case (in other examples things just won't work for the most part, while here user won't be able to boot). Byt the added note, just as is done in the patch should be fine. Oh, and it may be made to be <warn> instead of <note> - little bit more eye catching :).

George
Comment 3 Benny Chuang (RETIRED) gentoo-dev 2003-09-02 20:13:21 UTC
Created attachment 16987 [details, diff]
replaced note with warn

replaced note with warn for eye catching purpose..

please review the patch
Comment 4 Daniel S Dantas 2003-09-02 21:31:01 UTC
In my initial description, I think I sidestepped my main issue with the document. My main concern is that I thought of the sections in purple as code blocks. That is, they are examples of what could actually be entered at the command line or what output you might actually see.

There are two sections in the install document where this principle is violated. One is in the fstab code block. /dev/BOOT is not an example, it is a variable that should be replaced with the correct partition. The second violating section is in the grub section where the -KV must be replaced with the correct kernel version. 

Other than aesthetics, it's probably fine to use exceptional code examples that require substitutions. However, please make these instances clear to prevent confusion. Currently, the two explanations that substitution is required blend into the surrounding text in the preceding examples. Benny's idea to use "warn" blocks to flag these substitution code examples seems prudent.
Comment 5 Benny Chuang (RETIRED) gentoo-dev 2003-09-02 21:57:23 UTC
Created attachment 16990 [details, diff]
Added Warning tags for Grub, Lilo KV subsitutition

Please review patch
Comment 6 Benny Chuang (RETIRED) gentoo-dev 2003-09-03 03:14:22 UTC
Created attachment 16996 [details, diff]
The warning for BOOT,ROOT doubles

removed the added warning, replaced <p> to <warn> to:
1: eye catching purpose
2: remove repetition
Comment 7 Sergey Kuleshov (RETIRED) gentoo-dev 2003-09-03 03:17:21 UTC
The last patch looks good.
Comment 8 Benny Chuang (RETIRED) gentoo-dev 2003-09-03 03:29:47 UTC
Patch include replaced <p> to <warn> in /etc/fstab, grub, lilo 
thank you for your suggestion Daniel :)