summaryrefslogtreecommitdiffstats
path: root/usr.sbin/pccard/pccardd
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2000-07-14 19:54:47 +0000
committerimp <imp@FreeBSD.org>2000-07-14 19:54:47 +0000
commit8959045f6e39ed63c1c3aeb582cab1fa4d024c7a (patch)
tree744226a96fe7a97db8179fd404bc7378a4a1676a /usr.sbin/pccard/pccardd
parentacd7546a67db1926696e754ee739eb1ae893bd06 (diff)
downloadFreeBSD-src-8959045f6e39ed63c1c3aeb582cab1fa4d024c7a.zip
FreeBSD-src-8959045f6e39ed63c1c3aeb582cab1fa4d024c7a.tar.gz
Add documentation on the new logstr command.
Diffstat (limited to 'usr.sbin/pccard/pccardd')
-rw-r--r--usr.sbin/pccard/pccardd/pccard.conf.517
1 files changed, 17 insertions, 0 deletions
diff --git a/usr.sbin/pccard/pccardd/pccard.conf.5 b/usr.sbin/pccard/pccardd/pccard.conf.5
index 43853fa..6840912 100644
--- a/usr.sbin/pccard/pccardd/pccard.conf.5
+++ b/usr.sbin/pccard/pccardd/pccard.conf.5
@@ -104,6 +104,13 @@ uses the
.Xr system 3
subroutine to execute the command line.
.Pp
+.Xr pccardd 8
+will use syslog to annonce the insertion and removal of cards.
+It uses either the string set by the
+.Em logstr
+command, or the manufacturer and card version strings if none has
+been set.
+.Pp
Numeric values may be expressed as octal, hex or decimal.
If a decimal number has
.Em k
@@ -149,6 +156,7 @@ The syntax for card identifiers is:
.Dl memsize Ar size
.Dl insert Ar command
.Dl remove Ar command
+.Dl logstr Ar string
.Pp
The first line is mandatory;
the latter statements are optional and can appear in
@@ -217,6 +225,15 @@ and
.Em remove
commands are allowed, and they are executed in the order they
are listed.
+.Pp
+The
+.Em logstr
+command allows the user to set the string to be logged when this card is
+inserted or removed.
+If
+.Em logstr
+isn't specified, then the manufacturer and
+card version strings from the CIS are used to synthesize the string issued.
.Ss "Wildcard entries"
Following two wildcard entries of card identifiers are available
for generic type of the cards:
OpenPOWER on IntegriCloud