how to disable fsck when power failure

2011-11-08 Thread co...@tetrachina.com
misc#,Dz:C#! when the box with OpenBSD had a power failure and the system did not unmount properly. it sometimes gets stuck.The system is asking me to RUN fsck MANUALLY. as a gateway ,so i can't go to fix it manually everytime.How do I advoid this? i want to disable it crumbling to

Re: how to disable fsck when power failure

2011-11-08 Thread David Coppa
On Tue, 08 Nov 2011, co...@tetrachina.com wrote: misc#,Dz:C#! when the box with OpenBSD had a power failure and the system did not unmount properly. it sometimes gets stuck.The system is asking me to RUN fsck MANUALLY. as a gateway ,so i can't go to fix it manually everytime.How do I

Re: how to disable fsck when power failure

2011-11-08 Thread Norman Golisz
On Tue Nov 8 2011 17:41, co...@tetrachina.com wrote: misc#,Dz:C#! when the box with OpenBSD had a power failure and the system did not unmount properly. it sometimes gets stuck.The system is asking me to RUN fsck MANUALLY. as a gateway ,so i can't go to fix it manually

Re: how to disable fsck when power failure

2011-11-08 Thread Kevin Chadwick
On Tue, 8 Nov 2011 11:09:32 +0100 David Coppa dco...@gmail.com wrote: You can try something like this patch: Index: rc === RCS file: /cvs/src/etc/rc,v retrieving revision 1.396 diff -u -p -r1.396 rc --- rc13 Oct 2011

Re: how to disable fsck when power failure

2011-11-08 Thread Matteo Leccardi
Disabling or skipping fsck(8)s is generally a very bad idea. Norman. @Norman: is it! BTW... @Cosmo Wu man 5 fstab is your friend. Quick and dirt: Edit /etc/fstab and change the last digit of the corrispondent mount point line form [1|2] to 0 Ex. default 515f3560ef6f35f5.a / ffs rw 1 1 to

Re: how to disable fsck when power failure

2011-11-08 Thread Norman Golisz
On Tue Nov 8 2011 12:03, Matteo Leccardi wrote: Disabling or skipping fsck(8)s is generally a very bad idea. Norman. @Norman: is it! BTW... @Cosmo Wu man 5 fstab is your friend. Quick and dirt: Edit /etc/fstab and change the last digit of the corrispondent mount point line form

Re: how to disable fsck when power failure

2011-11-08 Thread Jan Stary
On Nov 08 12:03:33, Matteo Leccardi wrote: Quick and dirt: Edit /etc/fstab and change the last digit of the corrispondent mount point line form [1|2] to 0 Ex. default 515f3560ef6f35f5.a / ffs rw 1 1 to 515f3560ef6f35f5.a / ffs rw 1 0 and run with an unclean root filesystem. Way to go!

Re: how to disable fsck when power failure

2011-11-08 Thread Matteo Leccardi
Curiosity killed the cat What I wrote is (totally unwise and) wrong. Setting 515f3560ef6f35f5.a / ffs rw 1 0 result is a system with an unclean root filesystem, mounted read-only booting in single user mode. Btw; from fstab(5) If the sixth field is not present or is zero, a value of zero is

Re: how to disable fsck when power failure

2011-11-08 Thread co...@tetrachina.com
Hi,Matteo Leccardi ccThanks guys for all your replys. appreciate it. Matteo , before i maned the fstab ,and found it ' If the sixth field is not present or is zero, a value of zero is returned and fsck(8) will assume that the filesystem does not need to be checked. but it

Re: how to disable fsck when power failure

2011-11-08 Thread Nick Holland
On 11/08/11 04:41, co...@tetrachina.com wrote: misc#,Dz:C#! when the box with OpenBSD had a power failure and the system did not unmount properly. it sometimes gets stuck.The system is asking me to RUN fsck MANUALLY. as a gateway ,so i can't go to fix it manually everytime.How do I