O'Reilly logo

Linux in a Nutshell, Fourth Edition by Aaron Weber, Stephen Figgins, Ellen Siever

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Name

cardmgr

Synopsis

                  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.

-d

Use modprobe instead of insmod to load the PCMCIA device driver.

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

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required