[KLUG Members] PC Cardbus CDROM on Vaio

MPs milokp at fingerferrit.dyndns.org
Thu Jul 8 15:48:19 EDT 2004


On Wed, 7 Jul 2004, Adam Tauno Williams wrote:

> > > Broader question: Do we mount file systems or devices? When Linux is
> > Filesystems. Which is why you mount /dev/hda1 rather then /dev/hda [why do 
> 
> Thats a bad example,  /dev/hda1 is a device, just one that happens to
> denote the region of another the device.  The *contents* of /dev/hda1 is
> what gets mounted.  The process of mounting can either be informed what

Ah, good point.

> > cardctl eject
> 
> Do you know if there is a cardctl widget/applett?
> 
I can't seem to find one, however if you know how to make "shortcuts", 
"links", "icons" or whatever your graphical interface of choice calls 
them, you could just point them at scripts like

insert.sh
#! /bin/sh
cardctl insert

eject.sh
#! /bin/sh
cardctl eject

and 

status.sh
#! /bin/sh
cardctl status| xmessage -file -

status.sh shows the current status of any PCMCIA slots on your system 
[though I am not at my laptop/can not test it, this should work right]. 
eject.sh tells the laptop to power down all slots. And insert.sh tells the 
laptop to power-up all slots. eject.sh and insert.sh don't do any 
graphical feedback, but pipe-ing them to xmessage [as in status] would.

insert.sh isn't really that useful, when you put a card in it [or something 
like it] gets run automaticly, now if you had run eject.sh remotely, being 
unable to pop the card out and back in, insert.sh would come in handy.

--MilesP


More information about the Members mailing list