On 06/02/2013 05:32 PM, Bruce Dubbs wrote: > Baho Utot wrote: >> On my LFS-SVN system I am setting up as a name/email server..... >> >> LFS >=7.3 /run is a symlink to /var/run > No, that's backwards. /var/run -> /run
OK > >> grep bootlog /lib/lsb/init-functions >> BOOTLOG=/run/var/bootlog >> >> This puts the bootlog into /var/run/var/bootlog is this correct? > No. It's in /run/var/bootlog like it says. You can do > > cat /var/run/var/booglog > > and get the same thing, but why? See below > > BTW, after boot is complete the rc script does: > > cat /run/var/bootlog >> /var/log/boot.log > > # Mark the end of boot > echo "--------" >> /var/log/boot.log > > # Remove the temporary file > rm -f /run/var/bootlog 2> /dev/null > > -- Bruce So I see the file is removed after booting. /var/log/bootlog is then recreated if you start a daemon not running at boot or restart a daemon after booting. Why? -- http://linuxfromscratch.org/mailman/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
