RFUE

RFUE 基于RFSD跨平台FUSE实现,Windows上依赖于Dokan,Linux和Macosx上依赖于libfuse。

版本: 1.7.4.0 更新: 2025-3-29
功能特性
  • 支持只读读写挂载
  • 在macosx和Windows支持卷标
  • 多平台支持 Windows Macosx Linux
如何安装
使用curl
curl http://dl.ranfs.com/pub/rfue/all/get.sh -o -|sh -s /usr/local/bin
使用wget
wget http://dl.ranfs.com/pub/rfue/all/get.sh -O -|sh -s /usr/local/bin
使用powershell
$rfue_dir="c:\rfue";Invoke-Expression(New-Object Net.WebClient).DownloadString("http://dl.ranfs.com/pub/rfue/all/get.ps1")
安装路径

在Linux和Macosx上,默认安装路径在/usr/local/bin,如果需要指定其它路径,请更改 sh -s 后面的路径配置。

Windows上,默认安装路径在 c:\rfue ,如果需要指定其它路径,请更改 $rfue_dir= 后面的路径配置。

使用帮助
$ rfue -h
rfue-linux-x86_64 v1.7.4.0 (2025-3-29) - rfp/rfps fuse
Copyright (C) 2014-2025 ranfs.com
Usage: rfue [opt] [arguments] ...
	-u [url] Specify 'url' to mount
	-m [MountPoint] Can be /mnt/test 
	-r ["debug=1&..."] set url query val
	   options=rw,allow_other,allow_root,noexec
	-d Run as a daemon
	-c [config_file]  set config file
	-p dump current config
	-s [list|key=val] Set configuration options
	-e ["cmd;..."] execute string 'cmd'
	-v show version
	-q Do not display the startup banner and copyright message
	-o [log_file]     set output log file
	-l [log_level]    set log level: verb, dbg, info, warn, err
	-h display this help
使用例子

挂载windows目录到macosx的目录下

sudo rfue -u rfp://192.168.1.1 -m /mnt/win -o win.log -r "options=allow_other&volname=win" -d 

假定rfsd运行在192.168.1.1的Windows系统上,挂载成功就可以在/mnt/win管理win下的文件。 win.log 为rfue输出的日志 方便查找问题原因。 volname=win 其中win为卷标名,方便管理多个挂载目录。 默认只读,如果需要读写,可以增加参数。

sudo rfue -u rfp://192.168.1.1 -m /mnt/win -o win.log -r "options=rw,allow_other&volname=win" -d 

卸载刚挂载的目录

 rfue-umount.sh /mnt/win  

相关资源
Windows

No files in the folder or folder not exists.

Macosx

No files in the folder or folder not exists.

Linux

No files in the folder or folder not exists.