Gentoo Archives: gentoo-dev

From: Ned Ludd <solar@g.o>
To: Stroller <stroller@××××××××××××××××××.uk>
Cc: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] baselayout redefines /etc/fstab
Date: Thu, 05 Feb 2004 06:18:14
Message-Id: 1075961588.28640.1326.camel@simple
In Reply to: Re: [gentoo-dev] baselayout redefines /etc/fstab by Stroller
1 On Wed, 2004-02-04 at 16:09, Stroller wrote:
2 > On Feb 4, 2004, at 8:10 pm, Paul de Vrieze wrote:
3 >
4 > > On Wednesday 04 February 2004 20:51, Don Seiler wrote:
5 > >> Interactively merge the two and you should be all set.
6 > >
7 > > The problem is that this file should not need to change at all. The
8 > > baselayout
9 > > ebuild should be smart enough to see that /etc/fstab must not be
10 > > changed
11 > > (same as passwd and group)
12 >
13 > I recall a while back there were some changes that were necessary to be
14 > merged into fstab; in fact mine contains the following 3 lines:
15 > # added by baselayout-1.8.6.8-r1 - 5/7/2003
16 > # NOTE: The next line is critical for boot!
17 > none /proc proc defaults
18 > 0 0
19 >
20 > But aside from that, fstab and some other systems files never change; I
21 > always think these should be distributed as /etc/fstab.example and so
22 > on. The Installation documentation could be changed to say "copy & edit
23 > your fstab like so: cp /etc/fstab.example /etc/fstab && nano -w
24 > /etc/fstab`" and users would have the benefit of a back-up of the
25 > original should they ever b0rk theirs up.
26
27
28 I absolutely agree here. baselayout should not try to provide something
29 key like fstab, I've seen etc-update wreck my own fstab and several
30 users entries before. In the end to preserve my sanity I've ended up
31 having to do chattr +i /etc/fstab /etc/X11/XF86Config to keep these file
32 from ever getting overwritten.
33
34 >
35 > Stroller.
36 >
37 >
38 > --
39 > gentoo-dev@g.o mailing list
40 --
41 Ned Ludd <solar@g.o>
42 Gentoo Linux Developer

Attachments

File name MIME type
signature.asc application/pgp-signature