Results 1 to 2 of 2
And I would like help with this also... We are running an appliance machine with a web interface as the ONLY interface into the machine. I need to be able ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 04-29-2006 #1
- Join Date
- Apr 2006
And I would like help with this also... We are running an appliance machine with a web interface as the ONLY interface into the machine. I need to be able to mount remote shares through the UI. The ui is running as a non-root user.
Can you suggest another way to mount a remote drive without rebooting the machine? I could always put it in /etc/fstab but then I would need to reboot in order to get the mount and that is not a guaranteed way of mounting a drive.
Thanks in advance for the help!
- 04-29-2006 #2
- Join Date
- Aug 2005
Keeping in mind that you need a reboot only on kernel update....
... you should add an entry in the /etc/fstab file. Then you execute (as user) the mount command. Simply this.
I suppose you reboot because you set the mount option "auto", is it right? So the next boot will mount automatically the remote share...
For example, to mount a NFS share, you add the following line:
192.168.1.1:/share /mnt/nfs/192.168.1.1 nfs rw,user,auto 0 0
Then, instead to reboot, execute (as user) the command mount /mnt/nfs/192.168.1.1... this must work.When using Windows, have you ever told "Ehi... do your business?"
Linux user #396597 (http://counter.li.org)