diff options
author | Doug Ambrisko <ambrisko@FreeBSD.org> | 2006-05-09 22:27:01 +0000 |
---|---|---|
committer | Doug Ambrisko <ambrisko@FreeBSD.org> | 2006-05-09 22:27:01 +0000 |
commit | 32397ce071bdd5e4185220f3715694351f860d91 (patch) | |
tree | d8dbe60ab35f553873253d68cb94cc9d3698b5c8 /share | |
parent | 4577652f105068592dd22a2be4a83126f08fbbad (diff) | |
download | src-32397ce071bdd5e4185220f3715694351f860d91.tar.gz src-32397ce071bdd5e4185220f3715694351f860d91.zip |
Add in linsysfs. A linux 2.6 like sys filesystem to pacify the Linux
LSI MegaRAID SAS utility.
Sponsored by: IronPort Systems
Man page help from: brueffer
Notes
Notes:
svn path=/head/; revision=158381
Diffstat (limited to 'share')
-rw-r--r-- | share/man/man5/Makefile | 1 | ||||
-rw-r--r-- | share/man/man5/linsysfs.5 | 86 |
2 files changed, 87 insertions, 0 deletions
diff --git a/share/man/man5/Makefile b/share/man/man5/Makefile index ec779069f561..d86b7cc5c328 100644 --- a/share/man/man5/Makefile +++ b/share/man/man5/Makefile @@ -32,6 +32,7 @@ MAN= acct.5 \ libmap.conf.5 \ link.5 \ linprocfs.5 \ + linsysfs.5 \ mailer.conf.5 \ make.conf.5 \ moduli.5 \ diff --git a/share/man/man5/linsysfs.5 b/share/man/man5/linsysfs.5 new file mode 100644 index 000000000000..8a32bb179304 --- /dev/null +++ b/share/man/man5/linsysfs.5 @@ -0,0 +1,86 @@ +.\" Written by Garrett Wollman +.\" This file is in the public domain. +.\" +.\" $FreeBSD$ +.\" +.Dd May 6, 2006 +.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 +The Linux system file system, or +.Nm , +emulates a subset of the Linux sys file system and is required for +the complete operation of some Linux binaries. +.Pp +The +.Nm +provides a two-level view of devices. +At the highest level, PCI devices themselves are named, according to +their bus, slot and function in the system hierachy. +PCI storage devices are listed in the scsi_host class with a device sym-link +to the PCI directories of the devices. +.Pp +Each device node is a directory containing some files and directories: +.Bl -tag -width status +.It Pa host +A place holder for storage +.Pa host +information. +.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: +.Bl -tag -width proc_name +.It Pa proc_name +The Linux registered driver name for these devices. +.It Pa device +A sym-link to the PCI +.Pa device +directory. +.El +.Sh FILES +.Bl -tag -width /compat/linux/sys/devices/pci0000:00 -compact +.It Pa /compat/linux/sys +The normal mount point for the +.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 +.Xr mount 2 , +.Xr unmount 2 , +.Xr linprocfs 5 , +.Xr procfs 5 , +.Xr pseudofs 9 +.Sh HISTORY +The +.Nm +first appeared in +.Fx 7.0 . +.Sh AUTHORS +.An -nosplit +The +.Nm +was derived from +.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 . |