hi i know the chkfsys utility and know how to check through command line . but i want to check in script .
i have cf having 4 partition . 1st partition having qnx image . after booting i have to check filesystem on other partition . if any error having those partition i have to display the error and shutdown . i don’t how to do it. please help me to check filesystem in scipting and take decission .
- if error on any partition ,chkfsys utility returns anythink?
- how to take decissions if errors occur?
- how i kow this partition is error?.
note:i have partition type- hd0t77,hd0t78,hd0t79,hd0t80
thanks and regards,