diff options
| author | Lei Liu <lei01.liu@horizon.ai> | 2019-11-14 14:26:59 +0800 |
|---|---|---|
| committer | Lei Liu <liul.stone@gmail.com> | 2019-11-27 22:56:44 +0800 |
| commit | 4c87b222f14cccd514045753178b182705a6c213 (patch) | |
| tree | a29b49dbb68f09977b79d76a07adddb5e6874d20 /weed/command/mount_darwin.go | |
| parent | 0f9ba84274d54cc69e3f592c6c2b058fca9a57e8 (diff) | |
| download | seaweedfs-4c87b222f14cccd514045753178b182705a6c213.tar.xz seaweedfs-4c87b222f14cccd514045753178b182705a6c213.zip | |
fuse: check mount point available before do runmount
1. Use more readable mount point information
2. Fix some typos
eg:
$ df -Th
Filesystem Type Size Used Avail Use% Mounted on
localhost:8888:/ fuse.seaweedfs 206G 512 206G 1% /mnt/weedfs
$ mount | grep weedfs
localhost:8888:/ on /mnt/weedfs type fuse.seaweedfs (rw,nodev,relatime,user_id=0,group_id=0,default_permissions,allow_other)
Signed-off-by: Lei Liu <lei01.liu@horizon.ai>
Diffstat (limited to 'weed/command/mount_darwin.go')
| -rw-r--r-- | weed/command/mount_darwin.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/weed/command/mount_darwin.go b/weed/command/mount_darwin.go index 632691e47..f0a5581e7 100644 --- a/weed/command/mount_darwin.go +++ b/weed/command/mount_darwin.go @@ -7,3 +7,7 @@ import ( func osSpecificMountOptions() []fuse.MountOption { return []fuse.MountOption{} } + +func checkMountPointAvailable(dir string) bool { + return true +} |
