:: Re: [DNG] Devuan for Raspberry Pi f…
Página Inicial
Delete this message
Reply to this message
Autor: Dr. Nikolaus Klepp
Data:  
Para: dng
Assunto: Re: [DNG] Devuan for Raspberry Pi fried SD CARD.
Am Sonntag, 2. Dezember 2018 schrieb Edward Bartolo:
> On 02/12/2018, Dr. Nikolaus Klepp <dr.klepp@???> wrote:
> [...]
> >
> > Do not use swap.
> > Use ramfs for /tmp and /var/tmp.
> > Turn off logging.
> > Mount / readonly.
> > Use "noatime" mountoption.
> >
>
> How can I use ramfs for /tmp and /var/tmp?


In your /etc/fstab:
tmpfs           /tmp                tmpfs       relatime        0       1
tmpfs           /var/tmp            tmpfs       relatime        0       1




> And, also turn off logging?

If you like a logfile that's available till shutdown:
tmpfs           /var/log            tmpfs       relatime        0       1


Or disable rsyslogd .. I think it was this sequence:
# update-rc.d rsyslog disable 2
# update-rc.d rsyslog disable 3
# update-rc.d rsyslog disable 4
# update-rc.d rsyslog disable 5



>
> Can anyone post a sample /etc/fstab as a hint as to what should it look like?
>
> Thanks.
> _______________________________________________
> Dng mailing list
> Dng@???
> https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng
>




--
Please do not email me anything that you are not comfortable also sharing with the NSA, CIA ...