参考
https://qiita.com/maueki/items/ef801874ef8c2db5d345
準備
ゲストマシンの設定の共有フォルダの設定を行う。
設定時に正常にマウント出来ない等のエラーが出る(vmware-toolsがない場合)が
open-vm-toolsを使う場合はエラーを無視して良い。
マウント
$ sudo mount -t fuse.vmhgfs-fuse -o allow_other .host:/<share dir> <mount point>
例
sudo mount -t fuse.vmhgfs-fuse -o allow_other .host:/vmshare /mnt/vmshare/
オーナ、グループの指定
sudo mount -t fuse.vmhgfs-fuse -o allow_other,uid=ユーザIDまたはユーザ名,gid=グループIDまたはグループ名,umask=077 .host:/vmshare /mnt/vmshare/
umaskの指定も可能。
オプション
オプションのヘルプの表示
vmhgfs-fuse --help
fstabへの記述
.host:/<share dir> <mount point> fuse.vmhgfs-fuse allow_other 0 0
[カテゴリ: OS > Linux]
[カテゴリ: 仮想化]
[通知用URL]
Tweet
最終更新時間:2018年07月01日 23時45分24秒