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)
Check Out this Related Man Page
disktab(5) File Formats Manual disktab(5)Name
disktab - disk description file
Syntax
#include <disktab.h>
Description
The file is a simple data base that describes disk geometries and disk partition characteristics. The format is patterned after the termi-
nal data base. Entries in consist of a number of fields separated by colons (:). The first entry for each disk gives the names that are
known for the disk, separated by vertical bars (|). The last name given should be a long name fully identifying the disk.
The following list indicates the normal values stored for each disk entry:
Name Type Description
ns num Number of sectors per track
nt num Number of tracks per cylinder
nc num Total number of cylinders on the disk
ba num Block size for partition `a' (bytes)
bd num Block size for partition `d' (bytes)
be num Block size for partition `e' (bytes)
bf num Block size for partition `f' (bytes)
bg num Block size for partition `g' (bytes)
bh num Block size for partition `h' (bytes)
fa num Fragment size for partition `a' (bytes)
fd num Fragment size for partition `d' (bytes)
fe num Fragment size for partition `e' (bytes)
ff num Fragment size for partition `f' (bytes)
fg num Fragment size for partition `g' (bytes)
fh num Fragment size for partition `h' (bytes)
pa num Size of partition `a' in sectors
pb num Size of partition `b' in sectors
pc num Size of partition `c' in sectors
pd num Size of partition `d' in sectors
pe num Size of partition `e' in sectors
pf num Size of partition `f' in sectors
pg num Size of partition `g' in sectors
ph num Size of partition `h' in sectors
se num Sector size in bytes
ty str Type of disk (e.g. removable, winchester)
The entries can be automatically generated with the program.
FilesSee Alsochpt(8), newfs(8)disktab(5)
Hi all,
My problem: I want to connect to a remote computer (in the same office as me) which is running a mySQL server, access a specific table and update it, beofre disconnecting from the server. Is this possible? If so, any links/tutorials which might be of use?
I had thought of some sort of... (6 Replies)
Dear All,
I have some need, I want know how to read this file, and how to get IP from remote that connect to my system my is (10.178.10.xxx) and how can I see what they doing in my system.
thank's before
Regards,
heru (5 Replies)
Hi,
I have an interesting problem. I cannot connect to a personal server I set up. What's interesting is that I can connect to it from the LAN using its non-local IP address. However, I cannot seem to connect to it from anywhere else.
Here's how my server is set up:
My entire home has a... (8 Replies)
Hi,
I use to access a file on remote server. Can I create a link for this file present on remote server on my local server, if yes then please let me know.
Thanx in advance. (7 Replies)
I would like to chmod the file which I am pulling from remote server onto my server.
I am using the following script:
sftp <server detail>
get abc xyz
chmod 666 xyz
bye
Though I could fetch the file successfully but I am not able to change the permission of xyz file on my server. Pls... (5 Replies)
Hello Friends,
I have a requirement to connect and get files from a server using https protocol.
1) COuld you please advise on how to establish connection between my server and remote server to get files using https mode. any special procedure apart from FTP ?
2) also give me some code... (5 Replies)
Hi,
I need to copy few files from remote server to local server.
I write a shell script to connect to the remote server using ftp and go to that path. Now i need to copy those files in the remote directory to my local server with the timestamp of all those files shouldnt be changed.
... (5 Replies)
Hello experts,
I used following approach to get listing of all files of remote server.
Now I have remote server file information on same server.
I am getting listing in the output.txt
I want to count today's created files and old files.
I want to compare the numbers... (11 Replies)
Hi,
I have an application on a SAN partition presented to one server only. If I share this SAN partition with a second server as well, will that cause data corruption (the partition is formatted using ufs) ? (5 Replies)
Hi,
Can somebody please tell me what is a taxi server?
I came to know the term taxi server in context of remote access.
I tried to google it out could not get any definition/description of what this taxi server really is?
If anyone knows any website/link to learn more about taxi... (6 Replies)
Hello Everyone,
I'm new to unix and having trouble with switching users
s_user='sample_user', I need to connect to a remote server using the user "sampleuser" copy files on that remote server. However I am not allowed to add a private key to that same server nor add scripts on sampleuser's... (5 Replies)
a server with RHEL 5.3 is running.
im going to access this via putty but get message
"server unexpectedly closed network connection". after some time.
same is the case with root and oracle user.
what can be issue ? (7 Replies)
Hi Experts
Do I need to have "Sudo" privileges or user for file movement for file movement from one remote server to another
or from local to remote server?:wall: (6 Replies)
Hi!
It's been a week now that connections to my server are slow. I can transfer one file of 6 GB at 50 MB/s but with a folder of the same size with multiple files I go down to 4 MB/s. Also, browsing a folder with multiple files takes a lot more time for the files to show. The only thing I've... (9 Replies)
Hello Every one!!
I am trying to write a shell script which will connect to a remote server and execute scripts which are at a certain path in the remote server.
Before this I am using a sudo command to change the user.
The place where I am stuck is, I am able to connect to the... (6 Replies)