Quote:
Originally Posted by ganesan_p
hi ,
i made bootable CF having four partition. first partition is image partition . sometime other partitions are corrupted . so i have to check id other partitions are corrected or not . i don't know how to write shell script . i know the chkfsys utility . but inside the is how to write if and else condition
|
There are THOUSANDS of very easily-found tutorials on shell scripting...including one in my posting signature. You can start there if you need help writing a shell script. And as in your OTHER threads about corrupted file systems, fsck is what's typically used under Linux...but AGAIN, you are using a commercial piece of software...which means you are PAYING FOR SUPPORT. Have you called them??
Post what you've written/tried on your own, and we will be happy to help you, but we aren't going to write your shell scripts for you.