1 |
Duncan wrote: |
2 |
> Samuli Suominen posted on Thu, 24 Jan 2013 04:04:19 +0200 as excerpted: |
3 |
> |
4 |
>> > On 23/01/13 21:06, Felix Kuperjans wrote: |
5 |
>>>> >>> On Wed, Jan 23, 2013 at 1:29 PM, Felix Kuperjans |
6 |
>>>> >>> <felix@××××××××××××××.com> wrote: |
7 |
>>>>> >>>> Samuli Suominen wrote: |
8 |
>>>>>> >>>>> please review this news item |
9 |
>>>>> >>>> |
10 |
>>>>> >>>> /dev/root is no longer available in this udev version |
11 |
>>>>> >>>> |
12 |
>>>>> >>>> I suggest including in the news item, that /dev/root must be replaced |
13 |
>>>>> >>>> with the actual root device or LABEL=..., UUID=... and the like in |
14 |
>>>>> >>>> /etc/fstab. |
15 |
>>>>> >>>> |
16 |
>>> >> Well, *if* a line with /dev/root is present in /etc/fstab, the system |
17 |
>>> >> does not boot up properly (tested it right now). |
18 |
>>> >> I always though such a line in /etc/fstab is needed so that fsck is run |
19 |
>>> >> on the root filesystem... |
20 |
>>> >> |
21 |
>>> >> Removing the line completely boots up fine, but the filesystem has not |
22 |
>>> >> been fscked on boot. |
23 |
>> > |
24 |
>> > I don't think we ever instructed users for adding such line... if we |
25 |
>> > did, I'll eat my words. |
26 |
>> > So, I don't think it's necessary to instruct them away from it either, |
27 |
>> > never seen such fstab line. |
28 |
> Well technically, we used (and still use, see below) the uppercase |
29 |
> /dev/ROOT, with instructions documenting what to replace it with. But |
30 |
> some users apparently simply lowercased that ROOT, and for years it "just |
31 |
> worked". (Below output edited slightly for posting. $>> indicates the |
32 |
> shell prompt.): |
33 |
> |
34 |
> $>>equery b fstab |
35 |
> * Searching for fstab ... |
36 |
> sys-apps/baselayout-2.2 (/usr/share/baselayout/fstab) |
37 |
> |
38 |
> $>>grep -i /dev/root /usr/share/baselayout/fstab |
39 |
> /dev/ROOT / ext3 noatime 0 1 |
40 |
> |
41 |
> $>> |
42 |
> |
43 |
> [TLDR folks can stop there. The rest is historic observation, arguably |
44 |
> interesting, admittedly ranty, but not vital.] |
45 |
> |
46 |
> Years ago (remember, my first successful gentoo install was 2004.1), the |
47 |
> fstab example file found in /usr/share/baselayout/fstab was packaged as |
48 |
> /etc/fstab directly. Now, the handbook of the era took great pains to |
49 |
> guide people thru editing it appropriately, saying the ALLCAPS entries |
50 |
> were intended to be replaced as appropriate for the individual install, |
51 |
> AND people were expected to actually use etc-update or the like for its |
52 |
> intended purpose, so people weren't /supposed/ to have it simply |
53 |
> overwritten. |
54 |
|
55 |
|
56 |
I started using Gentoo in the 1.4 days. I to changed /dev/ROOT to |
57 |
/dev/root and added the proper locations/options for root and every |
58 |
other mount point I have. This is the first I have heard of fstab not |
59 |
needing the root mount line. If this is a change, someone needs to tell |
60 |
the users, even us old timers. ;-) |
61 |
|
62 |
Dale |
63 |
|
64 |
:-) :-) |
65 |
|
66 |
-- |
67 |
I am only responsible for what I said ... Not for what you understood or how you interpreted my words! |