cubefs/tool/autofs
Victor1319 c3ccdfc7e2 refactor(sdk): remove dp cache code from sdk, client, cli. #1000063488
Signed-off-by: Victor1319 <zengxuewei@oppo.com>
2025-08-08 14:59:27 +08:00
..
cfs_test.go feat(projectstructure): reorganize the module directory in the root to a suitable subdirectory 2024-12-26 09:24:22 +08:00
cfs.go refactor(sdk): remove dp cache code from sdk, client, cli. #1000063488 2025-08-08 14:59:27 +08:00
go.mod feat(projectstructure): reorganize the module directory in the root to a suitable subdirectory 2024-12-26 09:24:22 +08:00
go.sum feat(projectstructure): reorganize the module directory in the root to a suitable subdirectory 2024-12-26 09:24:22 +08:00
main.go feat(projectstructure): reorganize the module directory in the root to a suitable subdirectory 2024-12-26 09:24:22 +08:00
README.md feat(projectstructure): reorganize the module directory in the root to a suitable subdirectory 2024-12-26 09:24:22 +08:00
util.go feat(projectstructure): reorganize the module directory in the root to a suitable subdirectory 2024-12-26 09:24:22 +08:00

cfsauto

automount tool for cubefs

build

go build -v -ldflags="-X main.buildVersion=1.1 -X 'main.buildDate=$(date '+%Y-%m-%d %H:%M:%S')'" -o /usr/local/bin

quick start

mount

cfsauto mountpoint -o options mount -t fuse cfsauto mountpoint -o options

show mounts

cfsauto

version

cfsauto -V

example:

Version: 1.1, BuildDate: 2023-05-18 15:08:00

LDAP automount example

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

releases

  • v1.1: support all options of cfs-client v3.2