⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 cardmgr.8

📁 pcmcia source code
💻 8
字号:
.\" Copyright (C) 1998 David A. Hinds -- dahinds@users.sourceforge.net.\" cardmgr.8 1.41 2002/05/25 05:19:16.\".TH CARDMGR 8 "2002/05/25 05:19:16" "pcmcia-cs".SH NAMEcardmgr \- PCMCIA device manager.SH SYNOPSIS.B cardmgr.RB [ -V ].RB [ -q ].RB [ -o ].RB [ -f ].RB [ -v ][\fB\-c \fIconfigpath\fR][\fB\-m \fImodpath\fR][\fB\-p \fIpidfile\fR][\fB\-s\ \fIstabfile\fR].SH DESCRIPTION\fBCardmgr\fR monitors PCMCIA sockets for card insertion and removalevents.  When a card is inserted, \fBcardmgr\fR looks up the card in adatabase of known cards.  If the card can be identified, appropriatedevice drivers will be loaded and bound to the card.  When a card isejected, that card's drivers will be shut down and unloaded ifpossible.  Based on the contents of the PCMCIA card configurationdatabase, \fBcardmgr\fR may also execute arbitrary commands whenappropriate cards are either inserted or removed..PPAll insertion and removal events, device driver loads and unloads, andstartup and shutdown commands are reported in the system log file.Warnings and errors will also be logged.  Current card and deviceinformation for each socket is recorded in \fI/var/lib/pcmcia/stab\fR..PPNormally, when a card is identified, \fBcardmgr\fR will send a beep tothe console.  A beep is also generated when a card is successfullyconfigured.  A beep of lower pitch is generated if either of thesesteps fails.  Ejecting a card produces a single beep..PPWhen \fBcardmgr\fR receives a \fBSIGHUP\fR signal, it will reload itsconfiguration file.  When \fBcardmgr\fR receives a \fBSIGTERM\fRsignal, it will shut down all sockets that are not busy and then exit,but drivers for busy sockets will stay loaded..PPIf the \fBPCMCIA_OPTS\fR environment variable is set, its contentswill be parsed after the main card configuration file is read..PPAt startup, \fBcardmgr\fR requires that \fI/tmp\fR reside on afilesystem that permits special device files (i.e., a real linuxfilesystem, that is not mounted "nodev")..SH OPTIONS.TP.B \-VShow version information and exit..TP.B \-qQuiet mode: don't beep when cards are inserted..TP.B \-vVerbose mode: generates more informational messages during normaloperation.  Configuration scripts are executed with VERBOSE=y..TP.B \-fForeground: do not fork and run as a daemon until after configuringany cards that are already present..TP.B \-oOne pass: configure cards that are present, then exit.  This flagalso forces \fBcardmgr\fR to run in the foreground..TP\fB\-c \fIconfigpath\fRLook for the card configuration database and card configurationscripts in the specified directory, instead of \fI/etc/pcmcia\fR..TP\fB\-m \fImodpath\fRLook for loadable kernel modules in the specified directory, insteadof \fI/lib/modules/`uname -r`\fR..TP\fB\-p \fIpidfile\fRWrite the PID of the cardmgr process to the specified file, instead of\fI/var/run/cardmgr.pid\fR..TP\fB\-s \fIstabfile\fRWrite current socket information to the specified file, instead of\fI/var/lib/pcmcia/stab\fR..SH FILES.PD 0.TP \w'/etc/pcmcia/config.opts\ \ \ \|\|'u/etc/pcmcia/configCard configuration database.TP/etc/pcmcia/config.optsLocal resource settings for PCMCIA devices.TP/var/run/cardmgr.pidPID of active cardmgr process.TP/var/lib/pcmcia/stabCurrent card and device information for each socket..SH AUTHORDavid Hinds \- dahinds@users.sourceforge.net.SH "SEE ALSO"pcmcia(5), stab(5), cardctl(8), cardinfo(1).

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -