<?xml version="1.0"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>Page comments</title>
		<link>https://www.nohl.eu/home/</link>
		<atom:link href="https://www.nohl.eu/home/" rel="self" type="application/rss+xml" />
		<description></description>

		
		<item>
			<title></title>
			<link>https://www.nohl.eu/tech-resources/notes-to-linux/log-files-in-tmpfs-without-breaking-logging/#PageComment_14</link>
			<description>This seems to be all they have left to work with, which has some people panicking</description>
			<pubDate>Fri, 07 Dec 2012 14:55:49 +0100</pubDate>
			<dc:creator>replica watches</dc:creator>
			<guid>https://www.nohl.eu/tech-resources/notes-to-linux/log-files-in-tmpfs-without-breaking-logging/#PageComment_14</guid>
		</item>
		
		<item>
			<title></title>
			<link>https://www.nohl.eu/tech-resources/notes-to-linux/log-files-in-tmpfs-without-breaking-logging/#PageComment_10</link>
			<description>Hi, <br />I adapted the script for debian:<br />--&amp;gt;START SCRIPT&amp;lt;--<br />#! /bin/sh<br />### BEGIN INIT INFO<br /># Provides:          boot.localfs-tmp<br /># Required-Start:    $remote_fs $time<br /># Required-Stop:     umountnfs $time<br /># Default-Start:     2 3 4 5<br /># Default-Stop:      0 1 6<br /># Short-Description: create log file system in tmpfs<br /># Description:       some services need a given file skel in /var/log - create it<br />### END INIT INFO<br />#<br /># Author: http://www.nohl.eu/tech-resources/notes-to-linux/log-files-in-tmpfs-without-breaking-logging/ adapted for Debian by Pietro &amp;lt;pc@localhost&amp;gt;<br />#<br /><br /># PATH should only include /usr/* if it runs after the mountnfs.sh script<br />PATH=/sbin:/usr/sbin:/bin:/usr/bin<br />DESC=&amp;quot;create log file system in tmpfs&amp;quot;<br />NAME=boot.localfs-tmp<br /><br />SCRIPTNAME=/etc/init.d/$NAME<br /><br />case &amp;quot;$1&amp;quot; in<br />  # create skeleton of /var/log at /etc/log-skel.tgz<br />  create)<br />    for file in `/usr/bin/find /var/log -type f`; do<br />      &amp;gt; &amp;quot;$file&amp;quot;;<br />    done<br />    files=`/usr/bin/find /var/log`;<br />    /bin/tar czf /etc/log-skel.tgz /var/log --absolute-names;<br />    /bin/chown root.root /etc/log-skel.tgz;<br />    /bin/chmod 500 /etc/log-skel.tgz;<br />    echo &amp;quot;created /etc/log-skel.tgz&amp;quot;;<br />  ;;  <br />  # when started uncompress skel into tmpfs at /var/log<br />  start)<br />    /bin/tar xzf /etc/log-skel.tgz --keep-old-files --absolute-names;<br />    echo -n &amp;quot;create log skeleton in tmpfs&amp;quot;<br />  ;;  <br />  # dummy stop section<br />  stop)<br />    echo -n &amp;quot;ha ha, brainless tmpfs&amp;quot;;<br />  ;;  <br />  # usage:<br />  *)  <br />    echo &amp;quot;Usage: $0 {start|create}&amp;quot;;<br />    exit 1<br />  ;;<br />esac<br />--&amp;gt;END SCRIPT&amp;lt;--<br /><br />and after:<br />sudo update-rc.d boot.localfs-tmp start 01 2 3 4 5 .<br /></description>
			<pubDate>Tue, 12 Jun 2012 17:33:48 +0200</pubDate>
			<dc:creator>pietro</dc:creator>
			<guid>https://www.nohl.eu/tech-resources/notes-to-linux/log-files-in-tmpfs-without-breaking-logging/#PageComment_10</guid>
		</item>
		

	</channel>
</rss>