Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 28 Mar 2016 20:43:55 +0200
From:      =?UTF-8?Q?Jos=C3=A9_P=C3=A9rez?= <fbl@aoek.com>
To:        Nikolai Lifanov <lifanov@mail.lifanov.com>
Cc:        freebsd-arm@freebsd.org
Subject:   Re: Official images without noatime
Message-ID:  <6c15a205f6d5126c7d468bd2605be769@mail.yourbox.net>
In-Reply-To: <56F96C46.80705@mail.lifanov.com>
References:  <mailman.41.1458993601.86944.freebsd-arm@freebsd.org> <4b23b28ffae59216b5dde8f28f665330@mail.lifanov.com> <813ba9c4a1474478daa86fe685acec21@mail.yourbox.net> <56F96C46.80705@mail.lifanov.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Hello Nokolai,

El 2016-03-28 19:39, Nikolai Lifanov escribió:
> A simple case is during install /usr/bin/cmp is ran to compare two
> files, atime for /usr/bin/cmp is updated during a crash, and
> /usr/bin/cmp is gone on next boot. I then have to copy it out of
> /usr/obj and into place and run installworld again. It's the handful of
> utilities actually *used* by installworld that do this and mounting 
> root
> with noatime stops this from happening.

I suspect you have a problem somewhere else, maybe a faulty flash?

Can you reproduce with another hardware? Can you help us reproduce it?
What do you mean "atime is updated during a crash"??

>> My RPI2 shutdown cleanly with shutdown(8) or reboot(8).
>> 
> 
> It doesn't stay down if the power cable is still connected.

RP does not power down, you have to disconnect the power cable.
But first you have to stop the OS:
shutdown -p now
does that for you (which includes syncing and unmounting disks).

Regards,

---
José Pérez



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6c15a205f6d5126c7d468bd2605be769>