2006-05-09 22:27:01 +00:00
|
|
|
.\" Written by Garrett Wollman
|
|
|
|
.\" This file is in the public domain.
|
|
|
|
.\"
|
|
|
|
.\" $FreeBSD$
|
|
|
|
.\"
|
2007-02-05 22:45:58 +00:00
|
|
|
.Dd February 5, 2007
|
2006-05-09 22:27:01 +00:00
|
|
|
.Dt LINSYSFS 5
|
|
|
|
.Os
|
|
|
|
.Sh NAME
|
|
|
|
.Nm linsysfs
|
|
|
|
.Nd Linux system file system
|
|
|
|
.Sh SYNOPSIS
|
|
|
|
.Bd -literal
|
|
|
|
linsys /compat/linux/sys linsysfs rw 0 0
|
|
|
|
.Ed
|
|
|
|
.Sh DESCRIPTION
|
2006-09-30 16:01:33 +00:00
|
|
|
The
|
|
|
|
.Tn Linux
|
|
|
|
system file system, or
|
2006-05-09 22:27:01 +00:00
|
|
|
.Nm ,
|
2006-09-30 16:01:33 +00:00
|
|
|
emulates a subset of the
|
|
|
|
.Tn Linux
|
|
|
|
sys file system and is required for
|
|
|
|
the complete operation of some
|
|
|
|
.Tn Linux
|
|
|
|
binaries.
|
2006-05-09 22:27:01 +00:00
|
|
|
.Pp
|
|
|
|
The
|
|
|
|
.Nm
|
|
|
|
provides a two-level view of devices.
|
|
|
|
At the highest level, PCI devices themselves are named, according to
|
2006-12-14 12:49:04 +00:00
|
|
|
their bus, slot and function in the system hierarchy.
|
2006-09-30 16:01:33 +00:00
|
|
|
PCI storage devices are listed in the
|
|
|
|
.Pa scsi_host
|
|
|
|
class with a device symlink
|
2006-05-09 22:27:01 +00:00
|
|
|
to the PCI directories of the devices.
|
|
|
|
.Pp
|
|
|
|
Each device node is a directory containing some files and directories:
|
2006-09-30 16:01:33 +00:00
|
|
|
.Bl -tag -width ".Pa status"
|
2006-05-09 22:27:01 +00:00
|
|
|
.It Pa host
|
2006-09-30 16:01:33 +00:00
|
|
|
A place holder for storage host information.
|
2006-05-09 22:27:01 +00:00
|
|
|
.It Pa pci_id
|
|
|
|
A directory for the
|
|
|
|
.Pa pci_id
|
|
|
|
that contains either the device information or another directory structure
|
|
|
|
for a PCI bridge.
|
|
|
|
.El
|
|
|
|
.Pp
|
|
|
|
Each host node of scsi_host is a directory containing some files and directories:
|
2006-09-30 16:01:33 +00:00
|
|
|
.Bl -tag -width ".Pa proc_name"
|
2006-05-09 22:27:01 +00:00
|
|
|
.It Pa proc_name
|
2006-09-30 16:01:33 +00:00
|
|
|
The
|
|
|
|
.Tn Linux
|
|
|
|
registered driver name for these devices.
|
2006-05-09 22:27:01 +00:00
|
|
|
.It Pa device
|
2006-09-30 16:01:33 +00:00
|
|
|
A symlink to the PCI device directory.
|
2006-05-09 22:27:01 +00:00
|
|
|
.El
|
2007-02-02 16:26:15 +00:00
|
|
|
.Sh EXAMPLES
|
|
|
|
The most common usage follows:
|
|
|
|
.Pp
|
|
|
|
.Dl "mount -t linsysfs linsys /compat/linux/sys"
|
|
|
|
.Pp
|
|
|
|
where
|
|
|
|
.Pa /compat/linux/sys
|
|
|
|
is a mount point.
|
2006-05-09 22:27:01 +00:00
|
|
|
.Sh FILES
|
2006-09-30 16:01:33 +00:00
|
|
|
.Bl -tag -width ".Pa /compat/linux/sys/devices/pci0000:00" -compact
|
2006-05-09 22:27:01 +00:00
|
|
|
.It Pa /compat/linux/sys
|
2006-09-30 16:01:33 +00:00
|
|
|
The normal mount point for
|
2006-05-09 22:27:01 +00:00
|
|
|
.Nm .
|
|
|
|
.It Pa /compat/linux/sys/class/scsi_host
|
|
|
|
The storage host node.
|
|
|
|
.It Pa /compat/linux/sys/devices/pci0000:00
|
|
|
|
The PCI device hierarchy node.
|
|
|
|
.El
|
|
|
|
.Sh SEE ALSO
|
2007-02-02 16:26:15 +00:00
|
|
|
.Xr nmount 2 ,
|
2006-05-09 22:27:01 +00:00
|
|
|
.Xr unmount 2 ,
|
|
|
|
.Xr linprocfs 5 ,
|
|
|
|
.Xr pseudofs 9
|
|
|
|
.Sh HISTORY
|
|
|
|
The
|
|
|
|
.Nm
|
2006-09-30 16:01:33 +00:00
|
|
|
driver first appeared in
|
2006-05-09 22:27:01 +00:00
|
|
|
.Fx 7.0 .
|
|
|
|
.Sh AUTHORS
|
|
|
|
.An -nosplit
|
|
|
|
The
|
|
|
|
.Nm
|
2006-09-30 16:01:33 +00:00
|
|
|
driver was derived from
|
2006-05-09 22:27:01 +00:00
|
|
|
.Nm linprocfs
|
|
|
|
by
|
|
|
|
.An Doug Ambrisko .
|
|
|
|
This manual page was edited by
|
|
|
|
.An Doug Ambrisko ,
|
|
|
|
based on the
|
|
|
|
.Xr linprocfs 5
|
|
|
|
manual page by
|
|
|
|
.An Garrett Wollman .
|