NewDefaultFS returns a new Bcache using the default sys fs mount point. It will error if the mount point can't be read.
()
| 34 | // NewDefaultFS returns a new Bcache using the default sys fs mount point. It will error |
| 35 | // if the mount point can't be read. |
| 36 | func NewDefaultFS() (FS, error) { |
| 37 | return NewFS(fs.DefaultSysMountPoint) |
| 38 | } |
| 39 | |
| 40 | // NewFS returns a new Bcache using the given sys fs mount point. It will error |
| 41 | // if the mount point can't be read. |