P. R. Seshan forced the electrons to say:
> Hi all,
>
> I want to check my hdd for bad sectors. If I run fsck from root, it
> gives me a warning message stating that fsck can damage the file system.
> Can you guys suggest me a better and the right measures for hdd
> maintenance in Linux ?
This message I believe comes when you try to run fsck on a mounted
filesystem. Boot into single user mode, unmount all file systems
(except /) and run fsck on them.
fsck on / is not so easy - you are better off by booting from the
boot/rescue floppy sets of RHL and running fsck on your / partition.
Binand
--
#include <stdio.h> | Binand Raj S.
char *p = "#include <stdio.h>%cchar *p = %c%s%c; | This is a self-
int main(){printf(p,10,34,p,34,10);return 0;}%c"; | printing program.
int main(){printf(p,10,34,p,34,10);return 0;} | Try it!!
To subscribe / unsubscribe goto the site www.ilug-bom.org ., click on the mailing list
button and fill the appropriate information
and submit. For any other queries contact the ML maintener