man pages section 1M: System Administration Commands

Exit Print View

Updated: July 2014
 
 

fdetach(1M)

Name

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

Synopsis

fdetach path

Description

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.

Operands

The following operands are supported:

path

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

Attributes

See attributes(5) for descriptions of the following attributes:

ATTRIBUTE TYPE
ATTRIBUTE VALUE
Availability
system/core-os

See also

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

STREAMS Programming Guide