public class Nfs3MknodRequest extends NfsMknodRequest
Procedure MKNOD creates a new special file of the type, type .
Special files can be device files or named pipes.
CHARSET| Constructor and Description |
|---|
Nfs3MknodRequest(byte[] fileHandle,
java.lang.String name,
NfsType type,
NfsSetAttributes attributes,
long[] rdev,
Credential credential)
Creates the request, as specified by RFC 1813
(https://tools.ietf.org/html/rfc1813).
|
marshalling, toStringgetErrorMessage, getFileHandle, getIpKey, startToStringcloneFileHandle, isUsePrivilegedPort, setUsePrivilegedPort, trimFileNamepublic Nfs3MknodRequest(byte[] fileHandle,
java.lang.String name,
NfsType type,
NfsSetAttributes attributes,
long[] rdev,
Credential credential)
throws java.io.FileNotFoundException
Procedure MKNOD creates a new special file of the type, type
. Special files can be device files or named pipes.
fileHandle - The file handle for the directory in which the special file is
to be created.name - The name that is to be associated with the created special
file.type - The type of the object to be created.attributes - The initial attributes for the special file.rdev - When creating a character special file (type is
NF3CHR) or a block special file (
type is NF3BLK),
rdev[0] is the major number and
rdev[1] is the minor number.credential - The credential used for RPC authentication.java.io.FileNotFoundException