Date: Mon, 28 Mar 2016 14:46:04 -0400 From: Nikolai Lifanov <lifanov@mail.lifanov.com> To: =?UTF-8?B?Sm9zw6kgUMOpcmV6?= <fbl@aoek.com> Cc: freebsd-arm@freebsd.org Subject: Re: Official images without noatime Message-ID: <56F97BEC.9020006@mail.lifanov.com> In-Reply-To: <6c15a205f6d5126c7d468bd2605be769@mail.yourbox.net> References: <mailman.41.1458993601.86944.freebsd-arm@freebsd.org> <4b23b28ffae59216b5dde8f28f665330@mail.lifanov.com> <813ba9c4a1474478daa86fe685acec21@mail.yourbox.net> <56F96C46.80705@mail.lifanov.com> <6c15a205f6d5126c7d468bd2605be769@mail.yourbox.net>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?56F97BEC.9020006>