I have a small media server running FBSD 7.0 running headless in my closet. After a power failure the system would not reboot. When I hooked it up to my monitor and keyboard and started it up it said that there were inconsistencies on the /tmp file system, and that I had to run fsck manually in singel user mode.

Is it possible to make the system start up without this? I don't have any critical data on the system disk, so it really wouldn't be the end of the world if the fs would get screwed. I just don't want to have disconnect the system and bring it to the desk in order to make it boot up after any power failures.

fsck_y_enable="NO" # Set to YES to do fsck -y if the initial preen fails.
background_fsck="YES" # Attempt to run fsck in the background where possible.
background_fsck_delay="60" # Time to wait (seconds) before starting the fsck.

Setting fsck_y_enable in /etc/rc.conf would mean the system would automatically fsck the drive ... There is no way to disable fsck completely at boot without hacking /etc/rc.d/fsck.

__________________
UNIX was not designed to stop you from doing stupid things, because that would also stop you from doing clever things.

fsck_y_enable="NO" # Set to YES to do fsck -y if the initial preen fails.
background_fsck="YES" # Attempt to run fsck in the background where possible.
background_fsck_delay="60" # Time to wait (seconds) before starting the fsck.

Setting fsck_y_enable in /etc/rc.conf would mean the system would automatically fsck the drive ... There is no way to disable fsck completely at boot without hacking /etc/rc.d/fsck.

So when I put fsck_y_enable="YES" in /etc/rc.conf everything is ok ????
Do I need change /etc/defaults/rc.conf ???

Yes, that is right. You never edit /etc/defaults/anything. They are defaults. /etc/rc.conf overrides them.

(Yes, I was confused and annoyed to discover in this ubuntu box that the /etc/defaults files are all there are!)

Then, if fsck cannot do a 'preen' (check it's OK, fix minor problems that will not lead to data loss or weirdness), it will do fsck -y, which gives it permission to do anything, including operations that loose data or alter the filesystem, but will yield a logical, if incorrect, filesystem.

__________________The only dumb question is a question not asked.
The only dumb answer is an answer not given.