DHCP 文件系统:dhcpdfs
gww3
9年前
DHCP 使用 Go 语言开发的文件系统,要求 FUSE 的支持。
- caching the dhcpd lease file (or better yet, the objects created from it)
- support reading from multiple lease files
- better handle duplicated entries on the lease file (eg update rather than overwrite)
- and I'd make the command line usage more user friendly
安装:
GOFUSE=github.com/hanwen/go-fuse go get $GOFUSE cd $GOPATH/src/$GOFUSE bash all.bash go get github.com/lmorg/dhcpdfs go install github.com/lmorg/dhcpdfs
使用:
mkdir ~/dhcpdfs $GOPATH/bin/dhcpdfs -m ~/dhcpdfs -l /var/db/dhcpd/dhcpd.leases