1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
| [root@server01 ~]# vim /etc/fstab .host:/ShareDir /ogg fuse.vmhgfs-fuse defaults,allow_other 0 0
Persistent Mounts There are 2 ways to specify the Shared Folders mounts persistently in /etc/fstab Below there are both samples /etc/fstab line to mount a FUSE vmhgfs export.
Method 1: Specifying the file system
<file system> <mount point> <type> <options> <dump> <pass>
Replace <file system> with vmhgfs-fuse. Replace <mount point> with the local file system on which the exported directory is mounted, which default replacement is to use /mnt/hgfs Replace <type> with fuse. Example: vmhgfs-fuse /mnt/hgfs fuse defaults,allow_other 0 0
Method 2: Specifying the remote server and share
<server>:</remote/export> </local/directory> <fuse-type> <options> <dump> <pass> Replace <server> with the hostname .host the shared folders name of the host server exporting the hosts file system. Replace </remote/export> with the path to the exported directory which defaults to/or you can use the /share-name-you-created. Replace </local/directory> with the local file system on which the exported directory is mounted, which defaults to /mnt/hgfs. Replace <fuse-type> with fuse.vmhgfs-fuse. Example: .host:/ /mnt/hgfs fuse.vmhgfs-fuse defaults,allow_other 0 0
Note: Using either of the above formats should be fine
|