automount tool for cubefs
go build -v -ldflags="-X main.buildVersion=1.1 -X 'main.buildDate=$(date '+%Y-%m-%d %H:%M:%S')'" -o /usr/local/bin
cfsauto mountpoint -o options mount -t fuse cfsauto mountpoint -o options
cfsauto
cfsauto -V
example:
Version: 1.1, BuildDate: 2023-05-18 15:08:00
automountkey=cubefs-test
automountInformation=-fstype=fuse,subdir=test/sub,volName=projectA,owner=1234567,accessKey=abcdxxxefg,secretKey=uvwxxxxyz,masterAddr=10.0.0.1:17010,logDir=/var/logs/cfs/log,enablePosixACL,logLevel=debug :cfsauto
- v1.1: support all options of cfs-client v3.2