CLWALK(5) File Formats Manual CLWALK(5)NAME
clwalk - clone, then search a directory, and change to a file within it
SYNOPSIS
Tclwalk tag[2] fid[2] newfid[2] name[28]
Rclwalk tag[2] fid[2] qid[8]
DESCRIPTION
The clwalk request is a combination of a clone request (see clone(5)) followed by a walk request (see walk(5)) on the new fid. If the walk
fails, there is an implicit clunk of newfid.
ENTRY POINTS
The clwalk message is an optimization for use on low-speed lines; it is not generated by the kernel. The cfs(4) cached file system gener-
ates it as a side-effect of any system call that interprets a file name.
CLWALK(5)
Check Out this Related Man Page
CFS(4) Kernel Interfaces Manual CFS(4)NAME
cfs - cache file system
SYNOPSIS
cfs -s [-rd] [-f partition]
cfs -a netaddr [-rd] [-f partition] [mtpt]
DESCRIPTION
Cfs is a user-level file server that caches information about remote files onto a local disk. It is normally started by the kernel at boot
time, though users may start it manually. Cfs is interposed between the kernel and a network connection to a remote file server to improve
the efficiency of access across slow network connections such as modem lines. On each open of a file cfs checks the consistency of cached
information and discards any old information for that file.
Cfs mounts onto mtpt (default /) after connecting to the file server.
The options are:
s the connection to the remote file server is on file descriptors 0 and 1.
a netaddr
dial the destination netaddr to connect to a remote file server.
r reformat the cache disk partition.
d turn on debugging
f partition
use file partition as the cache disk partition.
All 9P messages except read, clone, and walk (see intro(5)) are passed through cfs unchanged to the remote server. A clone followed imme-
diately by a walk is converted into a clwalk. If possible, a read is satisfied by cached data. Otherwise, the file server is queried for
any missing data.
FILES
/dev/hd0cache
Default file used for storing cached data.
SOURCE
/sys/src/cmd/cfs
CFS(4)
What is the point of this? Whenever I close my shell it appends to the history file without adding this. I have never seen it overwrite my history file.
# When the shell exits, append to the history file instead of overwriting it
shopt -s histappend (3 Replies)