On Wed, Apr 03, 2002 at 04:57:07PM +0200, php@nickselby.com wrote:
From man fsck it seems I can just ruin it as root - what did you mean by shutting the machinge down, just that it'll take a week?
So should I just run fsck without any options or should I run it:
fsck -t /dev/hda
1. You can only run fsck as root. 2. You can only run fsck (properly) on file-systems that are *not* mounted read-write. Since the normal state of your system is to have the root partition mounted read-write, you will have to reboot your machine and do something special. You can either boot from a dedicated boot disk (e.g. tomsrtbt or possibly the SuSE install disk in rescue mode), in which case you don't need to mount the root FS at all, you can just check it unmounted, or you can use some Linux magic to ensure that when it comes back up, it has the root FS read-only. I'm not exactly sure what you would need to do this, so I can either suggest you look around the HOWTOs on www.linuxdoc.org, or failing that, someone else here more knowledgeable than myself might be able to help. Of course, there is always the possibility that if your machine is sufficiently stuffed, it might not come back up at all. That's why I suggested that it might need a bit of bravery... HTH... -- David Smith Work Email: Dave.Smith@st.com STMicroelectronics Home Email: David.Smith@ds-electronics.co.uk Bristol, England