Altera_Forum
Honored Contributor
20 years agouClinux mounting problem
Hi all,
I got problem when trying to mount a Linux PC to a local folder of Cyclone (/var) . Here are the steps performed : (the kit I'm using is cyclone 1c12 eval edition) 1) Log in uClinux on Cyclone 2) Setup an IP for the Cyclone : ifconfig eth0 192.168.1.20 netmask 255.255.255.0 3) Setup the IP for the Linux PC (Assuming : 192.168.1.19) 4) In Linux PC , Setup NFS shares by opening file /etc/exports (under ROOT) and add the following command : /home/mymnt 192.168.1.20(rw) 5) Start NFS server : $ /etc/init.d/nfs start 6) Mount the Linux PC : mount –t –n nfs 192.168.1.19:/home/mymnt /var After completing 6) , the following error occurred : can't create lock file /etc/mtab~25: read-only file system (use -n flag to override) I think the cause of the error is /etc folder (on cyclone) is READ-ONLY , so , uClinux cannot create mtab~25 on it. How can I "forward" the creation of mtab~25 to a writable folder such as /var , /usr ? Thanks, OneNet