On 7/23/06, Stefan Krah <[EMAIL PROTECTED]> wrote:
Hi,

first, let me report success on a manual build of LFS 6.2-pre1.
Congratulations on producing yet another great book!


Things I encountered that have not been mentioned yet:


7.2.2. Contents of LFS-Bootscripts: cleanfs:
============================================

I think that a distribution like LFS should not clean /tmp by default.
It seems too invasive for a distro that should just provide a minimal
system.

`man hier` says that files in /tmp _may_ be deleted without notice.
It does not say that they _should_ be deleted upon reboot.


Anyway, the description of cleanfs should mention this fact.


cleanfs
========

| Removes files that *should not* be preserved between reboots, such
| as those in /var/run/ and /var/lock/; it re-creates /var/run/utmp
| and removes the possibly present /etc/nologin, /fastboot, and /forcefsck
| files.

| Also removes files that *may* be removed between reboots, in particular
| all files in /tmp.


Since many distributions (including LFS-4.0) do not exhibit this
behaviour, the second paragraph could be presented in the style
of a warning.



Broken links:
=============


http://www.linuxfromscratch.org/lfs/view/6.2/prologue/errata.html

==>  http://www.linuxfromscratch.org/lfs/errata/6.2/



http://www.linuxfromscratch.org/lfs/view/6.2/chapter06/gcc.html

==> http://www.linuxfromscratch.org/lfs/build-logs/6.2/



Stefan Krah
--

There were alot of LFS users who had /tmp on a tmpfs, or deleted
everything after each reboot.  To keep things relative consistant 2
changes were made.

removing everything in /tmp was added, as well as the createfiles
script that can create files or directories.  It also forces users to
not depend on the contents of /tmp.

I believe these 2 changes allowed useres to build structures required
to run the system after bootup [ex:/ the X windows system wants
/tmp/.ice-unix (or something like that)].

--
Nathan Coulson (conathan)
------
nathan at linuxfromscratch org
conathan at gmail com
--
http://linuxfromscratch.org/mailman/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to