LinuxDevCenter.com
oreilly.comSafari Books Online.Conferences.





Linux in a Nutshell

This directory of Linux commands is from Linux in a Nutshell, 5th Edition.

Click on any of the 687 commands below to get a description and list of available options. All links in the command summaries point to the online version of the book on Safari Bookshelf.

Buy it now, or read it online on Safari Bookshelf.



cardmgr

cardmgr [options]

System administration command. The PCMCIA card daemon. cardmgr monitors PCMCIA sockets for devices that have been added or removed. When a card is detected, it attempts to get the card's ID and configure it according to the card configuration database (usually stored in /etc/pcmcia/config). By default, cardmgr does two things when it detects a card: it creates a system log entry, and it beeps. Two high beeps mean it successfully identified and configured a device. One high beep followed by one low beep means it identified the device, but was unable to configure it successfully. One low beep means it could not identify the inserted card. Information on the currently configured cards can be found in /var/run/stab.

Options

-c directory

Look for the card configuration database in directory instead of /etc/pcmcia.

-f

Run in the foreground to process the current cards, then run as a daemon.

-m directory

Look in directory for card device modules. Default is /lib/modules/RELEASE, where RELEASE is the current kernel release.

-o

Configure the cards present in one pass, then exit.

-p file

Write cardmgr's process ID to file instead of to /var/run/cardmgr.pid.

-q

Run in quiet mode. No beeps.

-s file

Write current socket information to file instead of /var/run/stab.

-v

Verbose mode.

-V

Print version number and exit.