Tiny Core Linux

Tiny Core Base => TCB Q&A Forum => Topic started by: soundcheck on July 10, 2009, 12:18:18 PM

Title: How to setup NFS persistent mountpoints?
Post by: soundcheck on July 10, 2009, 12:18:18 PM
Hi there.

How do you setup your mountpoints under /mnt, so that you're able to mount e.g. your NFS shares during bootup?
Do you have to make them persistent? Or do you create them somewhere before fstab tries to mount the shares ( and make this process persistent).

How are you doing this?

THX.




Title: Re: How to setup NFS persistent mountpoints?
Post by: Jason W on July 10, 2009, 12:56:51 PM
Pretty much here is how I do it.  Have the nfs-utils extension loaded at boot, and then use the bootlocal.sh file to do the rest.  Though there are other ways of doing this, it is how I do it.

bootlocal.sh:

mkdir /mnt/nfs
/usr/local/etc/init.d/nfs-client start
mount 192.168.0.10:/mnt/sda3 /mnt/nfs

Of course this assumes you have your nfs server set up accordingly. 
Title: Re: How to setup NFS persistent mountpoints?
Post by: soundcheck on July 10, 2009, 03:27:41 PM

Cool. You run the entire process at one place. That's probably the easiest and safest way .

THX a lot.