Official images without noatime

Nikolai Lifanov lifanov at mail.lifanov.com
Mon Mar 28 18:46:07 UTC 2016


On 03/28/16 14:43, José Pérez wrote:
> 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"??
> 

I can reproduce this with my RPI-B (and a different SD card).
Roughly this:
1) mount / with atime
2) make -j4 installworld
3) <pull power>

You can do step #2 over ssh and tee it somewhere so that you can
be sure that utilities gone are the ones used, not the ones installed.

>>> 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).
> 

I think that we are saying the same thing here.

> Regards,
> 
> ---
> José Pérez

- Nikolai Lifanov



More information about the freebsd-arm mailing list