# cd /usr/ports/filesystems/dsbmd/ && make install clean # 这是守护进程# cd /usr/ports/filesystems/dsbmc-cli/ && make install clean # 命令行客户端# cd /usr/ports/filesystems/dsbmc/ && make install clean # QT 界面客户端
打开主窗口,preferences->general settings,勾选 automatically mount devices 以使用自动挂载
插入 U 盘后,会在桌面提示:
默认挂载在 /media/ 下面,属主为客户端用户。
xfce 自动启动
配置如下:
命令行客户端
%dsbmc-cli-hOptions:-L<event><command> [arg ...] ; Listenfor<event>,andexecute<command>everytime the event is received. Possible events aremount,unmount,add,andremove.-U<time>Auto-unmount.Trytounmountautomountedde-vicesevery<time>seconds.-a [-L ...]Automount.Waitfordevicesaddedtothesys-tem,andmountthem.-bdev1,dev2,...Defineacomma-separatedlistofdevicesand/orvolumelabelstoignoreifthe-aoptionisgiven.Volumelabelsmustbeprefixedby"volid=".-e<device>Eject<device>-e<mountpoint>Ejectthedevicemountedon<mountpoint>-fForceoperationevenifdeviceisbusy.-i<diskimage>Createamemorydisktoaccessthegivenimage.-lListavailabledevicessupportedbyDSBMD.-m<device>Mount<device>-s<device>Querystoragecapacityof<device>-u<device>Unmount<device>-u<mountpoint>Unmount<device>mountedon<mountpoint>-v<speed><device>Setreading<speed>oftheCD/DVD<device>
# allow_users - Comma separated list of users who are allowed to connect.# allow_users = jondoe, janedoe# allow_groups - Comma separated list of groups whose members are allowed# to connect.allow_groups=operator,wheel