Commit a88fc1d0 authored by Han-Wen Nienhuys's avatar Han-Wen Nienhuys

fs: fix doc nits

Change-Id: I87db804ce6df8b21f4cfba8557395b0067a177da
parent 4aed08d3
......@@ -66,7 +66,7 @@
//
// Inode: ("index node") points to the file content, and stores
// metadata (size, timestamps) about a file or directory. Each
// directory has a type (directory, symlink, regular file, etc.) and
// inode has a type (directory, symlink, regular file, etc.) and
// an identity (a 64-bit number, unique to the file
// system). Directories can have children.
//
......
......@@ -14,9 +14,9 @@ import (
"github.com/hanwen/go-fuse/fuse"
)
// An example of creating a loopback file system, and mounting it onto
// a directory
func Example_mountLoopback() {
// ExampleMount shows how to create a loopback file system, and
// mounting it onto a directory
func Example_mount() {
mntDir, _ := ioutil.TempDir("", "")
home := os.Getenv("HOME")
// Make $HOME available on a mount dir under /tmp/ . Caution:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment