2012/10/11 Otto Moerbeek <o...@drijf.net> > On Thu, Oct 11, 2012 at 05:10:19PM +0600, ???? ??????? wrote: > > > ?????, 10 ??????? 2012 ?. ???????????? Nick Holland ?????: > > > > > On 10/09/2012 12:55 PM, ???? ??????? wrote: > > > > > >> Hello! > > >> > > >> I'm investigating /etc/rc script. And I found the following there: > > >> > > >> if [ -e /fastboot ]; then > > >> echo "Fast boot: skipping disk checks." > > >> elif [ X"$1" = X"autoboot" ]; then > > >> echo "Automatic boot in progress: starting file system > checks." > > >> > > >> > > >> hmm... if I put /fastboot, no filesystem will be checked ? > > >> > > > > > > so says the code, yes. > > > > > > how it supposed > > >> to work for non-nfs filesystems ? > > >> > > > > > > "properly"? > > > > > > they'll be not checked, too? > > > > > > Just one more question. > > If /fastboot presents, filesystem won't be checked, right? > > But how does fsck detects if there's /fastboot? Is it possible thing to > do > > without actually mount it? > > fsck does not do anything with /fastboot. The rc script (which calls > fsck) does that. During boot, the / filesystem is initially mounted > read-only, and then is possibly checked by the rc script. After that, > the root filesystem ro status is updated to rw. >
thank you. it is clear now. very similar to Linux and FreeBSD. > > > > > Is it possible to mount dirty filesystem in read-only mode ? If not, it > > doesn't make sense at all. > > Yes, you can mount dirty filesystem with -f. Even read-write iirc. > Very dangerous. > I'm struggling with 7Tb filesystems, it takes about 30 minutes to check them in case of cold reset. Too much. Very too much. and currently, no journals or anything else which could speed up 7Tb filesystems check ? > > -Otto