[pocket-linux] My first question :) (about script in 5.3.7)

Fabio Román Arbelo fabio at coit.es
Fri Feb 18 12:48:52 CST 2005


Hello! 
 
First of all, I would like to thank you for this incredible guide you have written. It is very useful!!!
 
However, I’ve found my first error. In section 5.3.7, I create the following script:
 
# local_fs − check and mount local filesystems
#
PATH=/sbin:/bin ; export PATH
fsck −ATCp
if [ $? −gt 1 ]; then
echo "Filesystem errors still exist! Manual intervention required."
/bin/sh
else
echo "Remounting / as read−write."
mount −n −o remount,rw /
echo −n >/etc/mtab
mount −f −o remount,rw /
echo "Mounting local filesystems."
mount −a −t nonfs,nosmbfs
fi
#
# end of local_fs
 
But when I try to do bash# local_fs I get this:
 
…
Remounting / as read−write.
Segmentation fault
Mounting local filesystems.
  
Could you tell me what could I do to fix it?
 
Thank you very much for your support and, please forgive my horrible english! :(
 
 
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://tastytronic.net/pipermail/pocket-linux/attachments/20050218/07db4aa5/attachment.html


More information about the Pocket-Linux mailing list