Find the answer to your Linux question:
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.
  1. #1
    Just Joined!
    Join Date
    Apr 2006
    Posts
    1

    Many reasons...


    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!

    ::Paul

  2. #2
    Linux User
    Join Date
    Aug 2005
    Location
    Italy
    Posts
    401
    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)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •