手册页部分 1M: 系统管理命令

退出打印视图

更新时间: 2014 年 7 月
 
 

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.

属性

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

ATTRIBUTE TYPE
ATTRIBUTE VALUE
Availability
system/core-os

另请参见

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

STREAMS Programming Guide