From owner-freebsd-mobile Sat Jun 2 1:22:24 2001 Delivered-To: freebsd-mobile@freebsd.org Received: from guldan.demon.nl (cc66986-a.assen1.dr.nl.home.com [213.51.64.104]) by hub.freebsd.org (Postfix) with ESMTP id B08C437B422 for ; Sat, 2 Jun 2001 01:22:19 -0700 (PDT) (envelope-from robert@guldan.demon.nl) Received: (from robert@localhost) by guldan.demon.nl (8.11.1/102.1.0B) id f528MEt66472; Sat, 2 Jun 2001 10:22:14 +0200 (CEST) (envelope-from robert) Date: Sat, 2 Jun 2001 10:22:14 +0200 From: =?iso-8859-1?Q?Robert_Blacqui=E8re?= To: "Jacques A. Vidrine" Cc: freebsd-mobile@freebsd.org Subject: Re: `pccardc status' patch Message-ID: <20010602102214.A66301@thorin.guldan.demon.nl> References: <20010601154451.C701@shade.nectar.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-md5; protocol="application/pgp-signature"; boundary="huq684BweRXVnRxX" Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010601154451.C701@shade.nectar.com>; from n@nectar.com on Fri, Jun 01, 2001 at 03:44:51PM -0500 X-Disclaimer: running FreeBSD on a Toshiba. Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org --huq684BweRXVnRxX Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi, On Fri, Jun 01, 2001 at 03:44:51PM -0500, Jacques A. Vidrine wrote: > I found this functionality useful for certain scripts. ISTR something > similar in PAO once upon a time. >=20 > $ pccardc status > slot 0: filled > slot 1: empty > $ pccardc status 0 > slot 0: filled > $ pccardc status 9 || echo exit_status=3D$? > pccardc: /dev/card9: No such file or directory > exit_status=3D1 >=20 > The patch is against 4.3-RELEASE. >=20 > Cheers, > --=20 > Jacques Vidrine / n@nectar.com / jvidrine@verio.net / nectar@FreeBSD.org >=20 I wanted this also it is usefull for my pccard scheme scripts and can proba= bly use now also the slot number for determination which config for ethernet it has= to load. I will try this later this week... Robert --=20 Microsoft: Where do you want to go today? Linux: Where do you want to go tomorrow? FreeBSD: Are you guys coming or what? OpenBSD: He guys you left some holes out there! --huq684BweRXVnRxX Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.4 (FreeBSD) Comment: For info see http://www.gnupg.org iEYEARECAAYFAjsYojUACgkQ1ODVtOXCG4hVIQCfVDYkd3Xb+tZFV1optVMFRsfI 44UAn0ylvmLmAHoqOhvjllQvfBY5NXH7 =CUa0 -----END PGP SIGNATURE----- --huq684BweRXVnRxX-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message