Not sure why you would ever want to force a check. If there are problems on boot i've never seen OBSD not fix them. I've had servers hit power cuts 3-5 times a day for a week and OBSD hasn't had a problem with it. Some of they are still running now. I'd be suprised if forcing a check found anything a miss.
2009/6/28 Joachim Schipper <joac...@joachimschipper.nl> > On Sun, Jun 28, 2009 at 12:22:31AM +0100, Mikolaj Kucharski wrote: > > On Sun, Jun 28, 2009 at 12:11:31AM +0200, Joachim Schipper wrote: > > > On Sat, Jun 27, 2009 at 08:37:44PM +0100, Mikolaj Kucharski wrote: > > > > Is it possible? > > > > > > There is no /forcefsck mechanism for OpenBSD as there is for Linux, but > > > fsck does take a -f option to force fsck (...). > > > > > > You can boot to single user mode ("boot -s") to do this. There are some > > > complications if this is not possible (e.g. a server in a dedicated > > > datacenter); are you in that situation? In other words, what are you > > > *really* trying to do? > > > > I'm looking for /forcefsck equivalent. I just wanted to be sure that > > after reading all manuals there is really no such option to mark fs as > > unclean. > > That is not really an answer; what *are* you really truing to do? There > might be a good way to do it on OpenBSD, but we can't really help you. > > Of course, you may just have been curious; that'd be fine, too. > > Joachim