cubefs/tool/autofs
2025-08-11 17:21:17 +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 fix(clientmeta): remove client enableSummary and meta not support UpdateXAttr.#23129966 2025-08-11 17:21:17 +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