ufs

package
v0.17.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 3, 2017 License: Apache-2.0, BSD-3-Clause Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Enoent = &p.Error{"file not found", p.ENOENT}

Functions

func StartServer

func StartServer(addrVal string, debugVal int, rootVal string)

Types

type Dir

type Dir struct {
	p.Dir
}

Dir is an instantiation of the p.Dir structure that can act as a receiver for local methods.

type Fid

type Fid struct {
	// contains filtered or unexported fields
}

type Ufs

type Ufs struct {
	srv.Srv
}

func (*Ufs) Attach

func (*Ufs) Attach(req *srv.Req)

func (*Ufs) Clunk

func (*Ufs) Clunk(req *srv.Req)

func (*Ufs) ConnClosed

func (*Ufs) ConnClosed(conn *srv.Conn)

func (*Ufs) ConnOpened

func (*Ufs) ConnOpened(conn *srv.Conn)

func (*Ufs) Create

func (*Ufs) Create(req *srv.Req)

func (*Ufs) FidDestroy

func (*Ufs) FidDestroy(sfid *srv.Fid)

func (*Ufs) Flush

func (*Ufs) Flush(req *srv.Req)

func (*Ufs) Open

func (*Ufs) Open(req *srv.Req)

func (*Ufs) Read

func (*Ufs) Read(req *srv.Req)

func (*Ufs) Remove

func (*Ufs) Remove(req *srv.Req)

func (*Ufs) Stat

func (*Ufs) Stat(req *srv.Req)

func (*Ufs) Walk

func (*Ufs) Walk(req *srv.Req)

func (*Ufs) Write

func (*Ufs) Write(req *srv.Req)

func (*Ufs) Wstat

func (*Ufs) Wstat(req *srv.Req)

Notes

Bugs

  • LookupId will never find names for groups, as it only operates on user ids.

  • Lookup will never find gids corresponding to group names, because it only operates on user names.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL