On 13/05/18 01:07, Henri Derksen wrote:
> hello mark,
>
> ml> on linux, one can disable what is known as "atime", one of the three
> ml> time stamps, which will save a lot of write cycles...
>
> can you tell me wich three time stamps there are?,
> and how I can switch of that "atime" one in Raspbian Linux?
> thanks.
>
mtime atime and IIRC ctime
https://www.unixtutorial.org/2008/04/atime-ctime-mtime-in-unix-filesystems/
last modfied, last accessed and when created.
You specify whether atime is to be used in a mount option, generally
specified in /etc/fstab
i.e.
UUID=2be84ecd-556e-488c-a832-67c49114a06c / ext4
discard,noatime,errors=remount-ro 0 1
This is a standard mount configuration for a solid state disk linux root
partion - noatime says don't update access time on files read and
discard tells mount/the kernel to issue TRIM commands which help do wear
levelling on SSDS.
I am not sure that the latter argumemnt applies to standard flash memory
chips.
> Henri.
>
--
Socialism is the philosophy of failure, the creed of ignorance and the
gospel of envy.
Its inherent virtue is the equal sharing of misery.
Winston Churchill
--- SoupGate-Win32 v1.05
* Origin: Agency HUB, Dunedin - New Zealand | FidoUsenet Gateway (3:770/3)
|