linsysfs.5 revision 158381
Written by Garrett Wollman
This file is in the public domain.

$FreeBSD: head/share/man/man5/linsysfs.5 158381 2006-05-09 22:27:01Z ambrisko $

.Dd May 6, 2006 .Dt LINSYSFS 5 .Os .Sh NAME .Nm linsysfs .Nd Linux system file system .Sh SYNOPSIS d -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.

p 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.

p Each device node is a directory containing some files and directories: l -tag -width status t Pa host A place holder for storage

a host information. t Pa pci_id A directory for the

a pci_id that contains either the device information or another directory structure for a PCI bridge. .El

p Each host node of scsi_host is a directory containing some files and directories: l -tag -width proc_name t Pa proc_name The Linux registered driver name for these devices. t Pa device A sym-link to the PCI

a device directory. .El .Sh FILES l -tag -width /compat/linux/sys/devices/pci0000:00 -compact t Pa /compat/linux/sys The normal mount point for the .Nm . t Pa /compat/linux/sys/class/scsi_host The storage host node. t 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 .