Date: Fri, 13 Dec 2013 16:56:23 +0200 From: Anton Sayetsky <vsjcfm@gmail.com> To: Antonio Kless <antoniok.spb@gmail.com>, FreeBSD Questions <freebsd-questions@freebsd.org> Subject: Re: Avoid to run `fsck` twice (and save some time during boot) Message-ID: <CAFG2KCJSDQNE%2BCuKN-V7STVmmy-sO=iUVcgt%2BzbFa%2Bp8vkZvCg@mail.gmail.com> In-Reply-To: <52AB1EFC.3020405@gmail.com> References: <52AB1791.6090508@gmail.com> <CAFG2KCLbWkdhVPi-f8X7S1B7D82Kn4-h8Kcn3-9H4gwNGZQeew@mail.gmail.com> <52AB1EFC.3020405@gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
2013/12/13 Antonio Kless <antoniok.spb@gmail.com>: > What do you mind? > > Well, first check with "-p" is exactly what I want to avoid before doing > second check without it. fsck checks limited range of errors in preen mode. This works really FAST. Logic is following: 1. Run very fast (preen) check on FS if dirty flag set. 2. If above fails, run full and slow check. Of course, you can disable preen pass. But be ready to multi-houred filesystem checks on every unclean reboot even if FS isn't damaged.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAFG2KCJSDQNE%2BCuKN-V7STVmmy-sO=iUVcgt%2BzbFa%2Bp8vkZvCg>