FDETACH(1M) Maintenance Commands FDETACH(1M)

fdetach - detach a name from a STREAMS-based file descriptor

fdetach path

The fdetach command detaches a STREAMS-based file descriptor from a name in the file system. Use the path operand to specify the path name of the object in the file system name space, which was previously attached. See fattach(3C).

The user must be the owner of the file or a user with the appropriate privileges. All subsequent operations on path will operate on the underlying file system entry and not on the STREAMS file. The permissions and status of the entry are restored to the state they were in before the STREAMS file was attached to the entry.

The following operands are supported:

path

Specifies the path name of the object in the file system name space, which was previously attached.

fattach(3C), fdetach(3C), attributes(5), streamio(7I)

July 5, 1990 OmniOS