fdetach(1M)fdetach(1M)NAME
fdetach - detach a STREAMS-based file descriptor from a filename
SYNOPSIS
path
DESCRIPTION
The command detaches or disassociates a file descriptor for an open STREAMS device or pipe from its filename in the file system. The path
argument is the path that was previously associated with the file descriptor by the function.
Operations on path will subsequently affect the file system node, not the STREAMS device or pipe. The permissions and status of the node
are returned to the state that they were in before the STREAMS device or pipe was attached. Any other paths that the STREAMS device or
pipe may be attached to are not affected.
To successfully issue the command, the user must be superuser or must be the owner of the file and have write permission.
RETURN VALUE
returns 0 (zero) on success. If fails, it returns 1 and prints a message to
EXAMPLES
To detach the file descriptor for the STREAMS file from its associated file system node, enter:
FILES
NLS catalog for
SEE ALSO fattach(3C), fdetach(3C), streamio(7).
fdetach(1M)
Check Out this Related Man Page
fdetach(8) System Manager's Manual fdetach(8)NAME
fdetach - Detaches a STREAMS-based file descriptor from a file
SYNOPSIS
/usr/bin/fdetach path
DESCRIPTION
The fdetach command dissociates a STREAMS-based file descriptor from a file, which is pointed to by the path parameter. The STREAMS-based
file descriptor was associatedwith the file by a prior program call, typically the fattach()|*O function.
When this cmmand is successful, all path names that named the attached STREAMS file to again name the file to which the STREAMS file was
attached. All subsequent oprations on the file pointed to by the path parameter are performed on the underlying file and not on the
STREAMS file.
The permissions and status of the node are returned to the state that they were in before the STREAMS file was attached. Any other paths
that the STREAMS file may be attached to are not affected.
To successfully issue the fdetach command, the user must have the appropriate permissions or must be the owner of the file and have write
permission.
EXAMPLES
To detach the file descriptor for the STREAMS file /tmp/streamfile from its associated file system node, enter: fdetach /tmp/streamfile
FILES
Specifies the command path.
RELATED INFORMATION
Functions: fattach(3), fdetach(3).
Files: ffm(4)
Interfaces: streamio(7). delim off
fdetach(8)
sometimes I ftp files from an Unix environment from the command prompt of my win2000 pc and I get a "broken pipe" message. sometimes I'll get nothing but sometimes I'll get part of the file.
Whats this "broken pipe" about?? (3 Replies)
I want to know how to find a node path of a unix command. I tried the command which, but it didn't find the "makekey" command node path... Are there any tricks about the "which" command? Should I use this command on a special level of directories? Moreover, I am accessing in remote the computers of... (5 Replies)
hi all,
Is there any way to retain file path?
echo "Please enter your old filename"
read a
#user input : /blah/blah1
echo "please enter the new filename"
read b
#user input : dumb
mv $a $b
What i would like to do is for the user to enter just the "filename" for the new filename... (2 Replies)
Hi
Can we get the full path of the filename from file descriptor.
pread64(405, "0602\0\0\0960EB9DC BC7F9".., 16384, 0x0000000583AE4000) = 16384
How do i get the filename with full path of the file with fd=405
regards (2 Replies)
The "write failed: Broken pipe" message is reported by the file sending PC which run my writed network device driver while 500MB or 900MB is sended!
What does the message mean? Does this mean there is a bug in my driver?
li,kunlun (11 Replies)