亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? nfs.rfc.ms

?? 早期freebsd實現
?? MS
?? 第 1 頁 / 共 3 頁
字號:
.\".\" Must use  --  tbl  --  with this one.\".\" @(#)nfs.rfc.ms	2.2 88/08/05 4.0 RPCSRC.de BT.if \\n%=1 .tl ''- % -''...ND.\" prevent excess underlining in nroff.if n .fp 2 R.OH 'Network File System: Version 2 Protocol Specification''Page %'.EH 'Page %''Network File System: Version 2 Protocol Specification'.if \\n%=1 .bp.SH\&Network File System: Version 2 Protocol Specification.IX NFS "" "" "" PAGE MAJOR.IX "Network File System" "" "" "" PAGE MAJOR.IX NFS "version-2 protocol specification".IX "Network File System" "version-2 protocol specification".LP.NH 0\&Status of this Standard.LPNote: This document specifies a protocol that Sun Microsystems, Inc.,and others are using.  It specifies it in standard ARPA RFC form..NH 1\&Introduction.IX NFS introduction.LPThe Sun Network Filesystem (NFS) protocol provides transparent remote access to shared filesystems over local area networks.  The NFS protocol is designed to be machine, operating system, network architecture, and transport protocol independent.  This independence is achieved through the use of Remote Procedure Call (RPC) primitives built on top of an External Data Representation (XDR).  Implementationsexist for a variety of machines, from personal computers tosupercomputers..LPThe supporting mount protocol allows the server to hand out remoteaccess privileges to a restricted set of clients.  It performs theoperating system-specific functions that allow, for example, toattach remote directory trees to some local file system..NH 2\&Remote Procedure Call.IX "Remote Procedure Call".LPSun's remote procedure call specification provides a procedure-oriented interface to remote services.  Each server supplies aprogram that is a set of procedures.  NFS is one such "program".The combination of host address, program number, and procedurenumber specifies one remote service procedure.  RPC does not dependon services provided by specific protocols, so it can be used withany underlying transport protocol.  See the.I "Remote Procedure Calls: Protocol Specification"chapter of this manual..NH 2\&External Data Representation.IX "External Data Representation".LPThe External Data Representation (XDR) standard provides a commonway of representing a set of data types over a network.  The NFSProtocol Specification is written using the RPC data descriptionlanguage.  For more information, see the.I " External Data Representation Standard: Protocol Specification."  Sun provides implementations of XDR andRPC,  but NFS does not require their use.  Any software thatprovides equivalent functionality can be used, and if the encodingis exactly the same it can interoperate with other implementationsof NFS..NH 2\&Stateless Servers.IX "stateless servers".IX servers stateless.LPThe NFS protocol is stateless.  That is, a server does not need tomaintain any extra state information about any of its clients inorder to function correctly.  Stateless servers have a distinctadvantage over stateful servers in the event of a failure.  Withstateless servers, a client need only retry a request until theserver responds; it does not even need to know that the server hascrashed, or the network temporarily went down.  The client of astateful server, on the other hand, needs to either detect a servercrash and rebuild the server's state when it comes back up, orcause client operations to fail..LPThis may not sound like an important issue, but it affects theprotocol in some unexpected ways.  We feel that it is worth a bitof extra complexity in the protocol to be able to write very simpleservers that do not require fancy crash recovery..LPOn the other hand, NFS deals with objects such as files anddirectories that inherently have state -- what good would a file beif it did not keep its contents intact?  The goal is to notintroduce any extra state in the protocol itself.  Another way tosimplify recovery is by making operations "idempotent" wheneverpossible (so that they can potentially be repeated)..NH 1\&NFS Protocol Definition.IX NFS "protocol definition".IX NFS protocol.LPServers have been known to change over time, and so can theprotocol that they use. So RPC provides a version number with eachRPC request. This RFC describes version two of the NFS protocol.Even in the second version, there are various obsolete proceduresand parameters, which will be removed in later versions. An RFCfor version three of the NFS protocol is currently underpreparation..NH 2\&File System Model.IX filesystem model.LPNFS assumes a file system that is hierarchical, with directories asall but the bottom-level files.  Each entry in a directory (file,directory, device, etc.)  has a string name.  Different operatingsystems may have restrictions on the depth of the tree or the namesused, as well as using different syntax to represent the "pathname",which is the concatenation of all the "components" (directory andfile names) in the name.  A "file system" is a tree on a singleserver (usually a single disk or physical partition) with a specified"root".  Some operating systems provide a "mount" operation to makeall file systems appear as a single tree, while others maintain a"forest" of file systems.  Files are unstructured streams ofuninterpreted bytes.  Version 3 of NFS uses a slightly more generalfile system model..LPNFS looks up one component of a pathname at a time.  It may not beobvious why it does not just take the whole pathname, traipse downthe directories, and return a file handle when it is done.  There areseveral good reasons not to do this.  First, pathnames needseparators between the directory components, and different operatingsystems use different separators.  We could define a Network StandardPathname Representation, but then every pathname would have to beparsed and converted at each end.  Other issues are discussed in\fINFS Implementation Issues\fP below..LPAlthough files and directories are similar objects in many ways,different procedures are used to read directories and files.  Thisprovides a network standard format for representing directories.  Thesame argument as above could have been used to justify a procedurethat returns only one directory entry per call.  The problem isefficiency.  Directories can contain many entries, and a remote callto return each would be just too slow..NH 2\&RPC Information.IX NFS "RPC information".IP \fIAuthentication\fPThe   NFS  service uses .I AUTH_UNIX ,.I AUTH_DES ,or .I AUTH_SHORT styleauthentication, except in  the  NULL procedure where   .I AUTH_NONE is also allowed..IP "\fITransport Protocols\fP"NFS currently is supported on UDP/IP only.  .IP "\fIPort Number\fP"The NFS protocol currently uses the UDP port number 2049.  This isnot an officially assigned port, so  later versions of the protocoluse the \*QPortmapping\*U facility of RPC..NH 2\&Sizes of XDR Structures.IX "XDR structure sizes".LPThese are the sizes, given in decimal bytes, of various XDRstructures used in the protocol:.DS/* \fIThe maximum number of bytes of data in a READ or WRITE request\fP  */const MAXDATA = 8192;/* \fIThe maximum number of bytes in a pathname argument\fP */const MAXPATHLEN = 1024;/* \fIThe maximum number of bytes in a file name argument\fP */const MAXNAMLEN = 255;/* \fIThe size in bytes of the opaque "cookie" passed by READDIR\fP */const COOKIESIZE  = 4;/* \fIThe size in bytes of the opaque file handle\fP */const FHSIZE = 32;.DE.NH 2\&Basic Data Types.IX "NFS data types".IX NFS "basic data types".LPThe following XDR  definitions are basic  structures and types usedin other structures described further on..KS.NH 3\&stat.IX "NFS data types" stat "" \fIstat\fP.DSenum stat {	NFS_OK = 0,	NFSERR_PERM=1,	NFSERR_NOENT=2,	NFSERR_IO=5,	NFSERR_NXIO=6,	NFSERR_ACCES=13,	NFSERR_EXIST=17,	NFSERR_NODEV=19,	NFSERR_NOTDIR=20,	NFSERR_ISDIR=21,	NFSERR_FBIG=27,	NFSERR_NOSPC=28,	NFSERR_ROFS=30,	NFSERR_NAMETOOLONG=63,	NFSERR_NOTEMPTY=66,	NFSERR_DQUOT=69,	NFSERR_STALE=70,	NFSERR_WFLUSH=99};.DE.KE.LPThe .I stat type  is returned with every  procedure's  results.   Avalue of .I NFS_OK indicates that the  call completed successfully andthe  results are  valid.  The  other  values indicate  some kind oferror  occurred on the  server  side  during the servicing   of theprocedure.  The error values are derived from UNIX error numbers..IP \fBNFSERR_PERM\fP:Not owner.  The caller does not have correct ownershipto perform the requested operation..IP \fBNFSERR_NOENT\fP:No such file or directory.    The file or directoryspecified does not exist..IP \fBNFSERR_IO\fP:Some sort of hard  error occurred when the operation wasin progress.  This could be a disk error, for example..IP \fBNFSERR_NXIO\fP:No such device or address..IP \fBNFSERR_ACCES\fP:Permission  denied.  The  caller does  not  have thecorrect permission to perform the requested operation..IP \fBNFSERR_EXIST\fP:File exists.  The file specified already exists..IP \fBNFSERR_NODEV\fP:No such device..IP \fBNFSERR_NOTDIR\fP:Not   a  directory.    The  caller  specified   anon-directory in a directory operation..IP \fBNFSERR_ISDIR\fP:Is a directory.  The caller specified  a directory ina non- directory operation..IP \fBNFSERR_FBIG\fP:File too large.   The  operation caused a file to growbeyond the server's limit..IP \fBNFSERR_NOSPC\fP:No space left on  device.   The operation caused theserver's filesystem to reach its limit..IP \fBNFSERR_ROFS\fP:Read-only filesystem.  Write attempted on a read-only filesystem..IP \fBNFSERR_NAMETOOLONG\fP:File name   too   long.  The file  name  in  an operation was too long..IP \fBNFSERR_NOTEMPTY\fP:Directory   not empty.  Attempted  to   remove  adirectory that was not empty..IP \fBNFSERR_DQUOT\fP:Disk quota exceeded.  The client's disk  quota on theserver has been exceeded..IP \fBNFSERR_STALE\fP:The  "fhandle" given in   the arguments was invalid.That is, the file referred to by that file handle no longer exists,or access to it has been revoked..IP \fBNFSERR_WFLUSH\fP:The server's  write cache  used  in the.I WRITECACHE call got flushed to disk..LP.KS.NH 3\&ftype.IX "NFS data types" ftype "" \fIftype\fP.DSenum ftype {	NFNON = 0,	NFREG = 1,	NFDIR = 2,	NFBLK = 3,	NFCHR = 4,	NFLNK = 5};.DE.KEThe enumeration.I ftype gives the type of a file.  The type .I NFNON indicates a non-file,.I NFREG is a regular file, .I NFDIR is a directory,.I NFBLK is a block-special device, .I NFCHR is a character-special device, and.I NFLNK is a symbolic link..KS.NH 3\&fhandle.IX "NFS data types" fhandle "" \fIfhandle\fP.DStypedef opaque fhandle[FHSIZE];.DE.KEThe.I fhandle is the file handle passed between the server and the client.  All file operations are done using file handles to refer to a file or directory.  The file handle can contain whatever information the serverneeds to distinguish an individual file..KS.NH 3\&timeval.IX "NFS data types" timeval "" \fItimeval\fP.DSstruct timeval {	unsigned int seconds;	unsigned int useconds;};.DE.KEThe .I timevalstructure is the number of seconds and microseconds since midnight January 1, 1970, Greenwich Mean Time.  It is used to pass time and date information..KS.NH 3\&fattr.IX "NFS data types" fattr "" \fIfattr\fP.DSstruct fattr {	ftype        type;	unsigned int mode;	unsigned int nlink;	unsigned int uid;	unsigned int gid;	unsigned int size;	unsigned int blocksize;	unsigned int rdev;	unsigned int blocks;	unsigned int fsid;	unsigned int fileid;	timeval      atime;	timeval      mtime;	timeval      ctime;};.DE.KEThe.I fattr structure contains the attributes of a file; "type" is the type ofthe file; "nlink" is the number of hard links to the file (the numberof different names for the same file); "uid" is the useridentification number of the owner of the file; "gid" is the groupidentification number of the group of the file; "size" is the size inbytes of the file; "blocksize" is the size in bytes of a block of thefile; "rdev" is the device number of the file if it is type.I NFCHR or.I NFBLK ;"blocks" is the number of blocks the file takes up on disk; "fsid" isthe file system identifier for the filesystem containing the file;"fileid" is a number that uniquely identifies the file within itsfilesystem; "atime" is the time when the file was last accessed foreither read or write; "mtime" is the time when the file data was lastmodified (written); and "ctime" is the time when the status of thefile was last changed.  Writing to the file also changes "ctime" ifthe size of the file changes..LP"mode" is the access mode encoded as a set of bits.  Notice that thefile type is specified both in the mode bits and in the file type.This is really a bug in the protocol and will be fixed in futureversions.  The descriptions given below specify the bit positionsusing octal numbers..TSbox tab (&) ;cfI cfIlfL l .Bit&Description_0040000&This is a directory; "type" field should be NFDIR.0020000&This is a character special file; "type" field should be NFCHR. 0060000&This is a block special file; "type" field should be NFBLK. 0100000&This is a regular file; "type" field should be NFREG.0120000&This is a symbolic link file;  "type" field should be NFLNK. 0140000&This is a named socket; "type" field should be NFNON.0004000&Set user id on execution.0002000&Set group id on execution.0001000&Save swapped text even after use.0000400&Read permission for owner.0000200&Write permission for owner.0000100&Execute and search permission for owner.0000040&Read permission for group.0000020&Write permission for group.0000010&Execute and search permission for group.0000004&Read permission for others.0000002&Write permission for others.0000001&Execute and search permission for others..TE.KSNotes:.IP The bits are  the same as the mode   bits returned  by  the.I stat(2) system call in the UNIX system.  The file  type is  specified  both inthe mode  bits  and in  the file type.   This   is fixed  in futureversions..IPThe "rdev" field in the attributes structure is an operating systemspecific device specifier.  It  will be  removed and generalized inthe next revision of the protocol..KE.LP.KS.NH 3\&sattr.IX "NFS data types" sattr "" \fIsattr\fP.DSstruct sattr {	unsigned int mode;	unsigned int uid;	unsigned int gid;	unsigned int size;	timeval      atime;	timeval      mtime;};.DE.KEThe .I sattrstructure contains the file attributes which can be setfrom the client.  The fields are the same as for  .I fattr above.  A "size" of zero  means the file should be  truncated.A value of -1 indicates a field that should be ignored..LP.KS.NH 3\&filename.IX "NFS data types" filename "" \fIfilename\fP.DStypedef string filename<MAXNAMLEN>;.DE.KE

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
中文字幕av一区二区三区| 91麻豆成人久久精品二区三区| 日韩欧美激情四射| 久久99热99| 久久综合久久综合久久| 国产91综合网| 亚洲精品成a人| 在线观看91av| 国产高清精品在线| 亚洲狠狠丁香婷婷综合久久久| 欧美最新大片在线看 | 成人av资源网站| 亚洲日本护士毛茸茸| 欧美性感一区二区三区| 另类欧美日韩国产在线| 国产精品成人在线观看| 欧美日韩一区中文字幕| 国产裸体歌舞团一区二区| 亚洲人一二三区| 91.麻豆视频| 丰满白嫩尤物一区二区| 午夜欧美大尺度福利影院在线看| wwww国产精品欧美| 91精品福利在线| 国产一区二区三区精品欧美日韩一区二区三区| 国产精品久久久久一区二区三区共 | 青青草伊人久久| 国产区在线观看成人精品 | 国产精品嫩草99a| 欧美日本国产视频| www.性欧美| 麻豆91精品视频| 亚洲欧美欧美一区二区三区| 精品入口麻豆88视频| 色94色欧美sute亚洲线路二 | 久久综合九色欧美综合狠狠 | av不卡一区二区三区| 日韩高清欧美激情| 欧美国产激情二区三区| 欧美一区二区三区在线观看| 99re成人在线| 国产福利91精品一区二区三区| 亚洲五月六月丁香激情| 中文字幕av一区二区三区免费看| 欧美一区二区三区免费大片 | 久久精品日产第一区二区三区高清版| 欧美在线观看视频一区二区 | 国产一区二区在线看| 亚洲福中文字幕伊人影院| 国产精品久久久久久久久动漫| 日韩精品一区二区三区swag| 欧美日韩久久一区| 91免费精品国自产拍在线不卡| 国产综合久久久久久鬼色| 亚洲电影第三页| 亚洲精品国久久99热| 国产精品久久99| 国产网站一区二区三区| 欧美一级日韩一级| 欧美日韩成人激情| 色一情一伦一子一伦一区| 不卡欧美aaaaa| 粉嫩高潮美女一区二区三区| 国产在线播放一区| 国内精品视频666| 久久超碰97中文字幕| 麻豆国产精品官网| 久久99精品一区二区三区三区| 日韩va亚洲va欧美va久久| 午夜影视日本亚洲欧洲精品| 亚洲午夜日本在线观看| 一个色在线综合| 亚洲国产欧美另类丝袜| 亚洲第一成人在线| 爽好多水快深点欧美视频| 视频一区国产视频| 五月天丁香久久| 日本成人中文字幕在线视频| 日本不卡视频一二三区| 欧美aaa在线| 国产原创一区二区三区| 丁香婷婷综合五月| av在线播放不卡| 色狠狠色噜噜噜综合网| 在线观看欧美精品| 91精品国产全国免费观看| 日韩精品一区二区三区在线| 久久精品男人天堂av| 国产精品久久久久aaaa| 亚洲欧美一区二区三区国产精品| 一区二区久久久久久| 日韩高清在线电影| 国产黑丝在线一区二区三区| 不卡一卡二卡三乱码免费网站| 色综合久久88色综合天天| 在线播放欧美女士性生活| 26uuu另类欧美| **网站欧美大片在线观看| 亚洲自拍偷拍九九九| 日韩av网站免费在线| 国产成人免费在线观看| 久久综合色婷婷| 亚洲精品中文在线| 免费成人在线影院| 亚洲综合精品自拍| 亚洲男女一区二区三区| 夜夜精品视频一区二区| 老司机精品视频在线| av爱爱亚洲一区| 91精品在线一区二区| 欧美激情资源网| 亚洲成年人网站在线观看| 国产精品一区二区三区网站| 91视频在线观看| 精品日产卡一卡二卡麻豆| 自拍偷在线精品自拍偷无码专区 | 国产精品影视网| 91美女在线观看| 久久综合国产精品| 亚洲综合久久久久| 国产成人精品亚洲日本在线桃色| 在线日韩一区二区| 污片在线观看一区二区| 国产精品资源在线看| 欧美亚洲一区二区在线观看| 久久久久久久av麻豆果冻| 亚洲国产精品欧美一二99| 懂色av一区二区三区蜜臀| 欧美日韩三级一区二区| 国产欧美日韩另类视频免费观看| 天天综合网 天天综合色| 99国产精品一区| 久久久精品免费免费| 日韩av中文字幕一区二区三区| 不卡av在线免费观看| 91精品久久久久久久91蜜桃| 亚洲欧美一区二区三区国产精品 | 99麻豆久久久国产精品免费| 日韩欧美一区二区三区在线| 亚洲一区二区三区三| 成人av午夜影院| 久久久99免费| 九九视频精品免费| 欧美一区二区三区免费大片| 亚洲小少妇裸体bbw| 一本大道av伊人久久综合| 国产精品久久看| 成人综合婷婷国产精品久久| 精品国免费一区二区三区| 天天操天天色综合| 欧美亚洲自拍偷拍| 一区二区欧美精品| 色av成人天堂桃色av| 亚洲人成精品久久久久| 国产不卡免费视频| 久久蜜桃香蕉精品一区二区三区| 久草这里只有精品视频| 日韩一区二区精品葵司在线 | 国产日韩精品一区二区三区 | 亚洲欧美影音先锋| 久久久99精品久久| 91高清视频免费看| 国产精品国产三级国产有无不卡| 韩国一区二区视频| 精品成人在线观看| 激情伊人五月天久久综合| 精品国偷自产国产一区| 韩国成人精品a∨在线观看| 欧美成人女星排名| 国产一区二区三区| 久久久99久久| 99久久久久久| 亚洲欧美另类久久久精品| 91成人国产精品| 亚洲国产精品久久人人爱| 在线成人高清不卡| 成人av动漫网站| 亚洲少妇30p| 欧美色图免费看| 亚洲第一福利视频在线| 欧美一区二区三区播放老司机| 久久精品二区亚洲w码| 久久综合网色—综合色88| 国产成人综合视频| 亚洲私人黄色宅男| 欧美综合亚洲图片综合区| 日韩精品色哟哟| 久久久午夜精品| 色综合天天做天天爱| 久久久久久夜精品精品免费| 欧美色中文字幕| 日韩电影在线一区二区三区| 51精品国自产在线| 国产一区二区看久久| 国产精品传媒入口麻豆| 欧美在线免费观看亚洲| 蜜桃视频在线一区| 国产拍欧美日韩视频二区| 色综合久久66| 精品系列免费在线观看|