[App_rpt-users] Strange /var/log behavior

Bob Roszkowski bob at w5evh.org
Tue Sep 20 17:52:50 UTC 2016


What about saving logs to a USB Flash drive?


Sincerely,

boB - W5EVH

On Tue, Sep 20, 2016 at 12:48 PM, Steve Zingman <szingman at msgstor.com>
wrote:

> remove from /etc/fstab
>
> none /var/log tmpfs size=50M,noatime 0 0
>
> reboot. System will now log to disk.
>
> 73, Steve N4IRS
>
> On 9/20/2016 1:39 PM, Bob Roszkowski wrote:
>
>> OIC  This makes sense.  If I leave the system running for a day, it
>> should save the logs, right?  Is there a command to force write all logs
>> to SD?
>>
>>
>> Sincerely,
>>
>> boB - W5EVH
>>
>> On Tue, Sep 20, 2016 at 12:25 PM, Steve Zingman <szingman at msgstor.com
>> <mailto:szingman at msgstor.com>> wrote:
>>
>>     Bob,
>>     The current version of DIAL for the RPi has a simple log to RAM.
>>     It's purpose is to reduce the number of writes to the SD card. The
>>     log is not saved over a reboot.
>>
>>     The release candidate for the RPi flushes the log to disk every hour
>>     and on reboot, along with a number of other improvements. The
>>     "Release Candidate" is available at <http://tinyurl.com/DIAL-RAT-RC1
>>     <http://tinyurl.com/DIAL-RAT-RC1>>
>>
>>     73, Steve N4IRS
>>
>>
>>     On 9/20/2016 1:19 PM, Bob Roszkowski wrote:
>>
>>         I've been playing around with DIAL on a RPi and noticed something
>>         strange today.  If I create a dir or file in /var/log and
>>         reboot, it is
>>         gone.
>>
>>         Anyone else see this?
>>
>>
>>
>>
>>         Sincerely,
>>
>>         boB - W5EVH
>>
>>
>>         _______________________________________________
>>         App_rpt-users mailing list
>>         App_rpt-users at ohnosec.org <mailto:App_rpt-users at ohnosec.org>
>>         http://ohnosec.org/cgi-bin/mailman/listinfo/app_rpt-users
>>         <http://ohnosec.org/cgi-bin/mailman/listinfo/app_rpt-users>
>>
>>         To unsubscribe from this list please visit
>>         http://ohnosec.org/cgi-bin/mailman/listinfo/app_rpt-users
>>         <http://ohnosec.org/cgi-bin/mailman/listinfo/app_rpt-users> and
>>         scroll down to the bottom of the page. Enter your email address
>>         and press the "Unsubscribe or edit options button"
>>         You do not need a password to unsubscribe, you can do it via
>>         email confirmation. If you have trouble unsubscribing, please
>>         send a message to the list detailing the problem.
>>
>>
>>     --
>>     "Just say no to world domination"
>>
>>
>>
> --
> "Just say no to world domination"
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.keekles.org/pipermail/app_rpt-users/attachments/20160920/08799e95/attachment.html>


More information about the App_rpt-users mailing list