DHCP 文件系統:dhcpdfs

gww3 9年前發布 | 10K 次閱讀 dhcpdfs

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

項目主頁:http://www.baiduhome.net/lib/view/home/1431563787185

 本文由用戶 gww3 自行上傳分享,僅供網友學習交流。所有權歸原作者,若您的權利被侵害,請聯系管理員。
 轉載本站原創文章,請注明出處,并保留原始鏈接、圖片水印。
 本站是一個以用戶分享為主的開源技術平臺,歡迎各類分享!