cleanfs does what it says. It cleans up things that are generally not useful from the previous boot. Primarily it removes files from /tmp, but that can be skipped if you set SKIPTMPCLEAN in rc.site.
It also creates /var/run/utmp which tracks current logins. Finally, it creates files that may be useful according to /etc/sysconfig/createfiles. A basic LFS install does not need any files, but look at the xorg_server section. AFAIK, other distros do this too, but I'm not sure of their mechanism. -- Bruce On Sat, Jul 20, 2013 at 12:15 PM, lux-integ <[email protected]> wrote: > Greetings > > I have been looking at the lfs/clfs bootscripts lately and I > would be grateful if someonw could explain > > a) what create-files > and its brother > b) cleanfs > > do ? > > and > when are they necessary and thus used ? > ( i.e. with exmple usage ) > and > do other distributions such as arch linux use them ? > > thanks in advance > > sincerely > luxInteg > -- > http://linuxfromscratch.org/mailman/listinfo/blfs-support > FAQ: http://www.linuxfromscratch.org/blfs/faq.html > Unsubscribe: See the above information page -- http://linuxfromscratch.org/mailman/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
