Mounting specific shared folders

Discussion in 'Linux Guest OS Discussion' started by RowanW, Sep 19, 2011.

  1. RowanW

    RowanW

    Messages:
    1
    How do I mount specific shared folders.

    Parallels put
    none /media/psf prl_fs sync,nosuid,nodev,noatime,share,nofail 0 0
    in /etc/fstab which is fine but what if I want to say mount the shared folder "test" to "/srv/test" what do I need to put in fstab?
     
  2. joevt

    joevt Kilo Poster

    Messages:
    1,196
    The test folder would be at /media/psf/test/

    I don't know if you can map a folder to another folder in fstab. Would a link work?
     
  3. RoshanC

    RoshanC

    Messages:
    2
    Mount Specified Shared folder

    You will need to create mount point on root sever through

    #mkdir -p /mnt whatever you can give the name for directory

    After that you will need to add entry in /etc/fstab add the following line

    192.168.0.4:/mnt nfs default 0 0

    Now you can run #mount /mnt and the partition should be available if it was local filesystem.
     

Share This Page