Stanislav Brabec wrote:
Yan Seiner wrote:
My zaurus spitz comes with a CF and an SD card slot.

Is there a panel applet that lets me mount and more importantly unmount those cards before yanking them?

Mount should happen automatically. As default mount options contain
sync, you can eject you card whenever no writing is in progress (at
least for vfat and other filesystems without dirty flag).

But I agree, that feedback is needed. I am not aware of any suitable
tool for GPE.

I am inclined to reopen bug
http://bugs.openembedded.org/show_bug.cgi?id=3070

It seems to be a real problem, as many combinations of card & program
still write ~60kB/sec with sync mount and ~1500kB/sec with async mount.

It was researched in past:
https://bugzilla.novell.com/show_bug.cgi?id=105871

The result is the "flush" mount option, which behaves like "async", but
flushes all pending buffers during close(), retaining both the maximal
write speed on flash devices and consistent system state after calling
close() (or from GUI perspective: When save finishes.)

However busybox mount seems to be not yet aware of "flush" mount option,
so some code changes would be required.
OK, I uploaded a quick and dirty 'replacement' for matchbox-applet-cards. It will mount/unmount flash memory cards and take wifi down. It will turn socket power on and off.

See http://bugs.openembedded.net/show_bug.cgi?id=4363

You need xdialog to make it work.  Get it here:
http://www.seiner.com/spitz/armv5te/xdialog_2.3.1-r0_armv5te.ipk
and then get cardmon:
http://www.seiner.com/spitz/cardmon.tar.gz and untar it into the root dir. It will create two new applets: /usr/local/bin/cfeject and /usr/local/bin/sdeject, along with appropriate pixmaps and files.

This will most likely only work with a spitz as it hardcodes sd and cf card locations and mount points.

--Yan

--
 o__
 ,>/'_          o__
 (_)\(_)        ,>/'_        o__
Yan Seiner      (_)\(_)       ,>/'_     o__
      Personal Trainer      (_)\(_)    ,>/'_        o__
            Professional Engineer     (_)\(_)       ,>/'_
Who says engineers have to be pencil necked geeks?  (_)\(_)

"I worry about my child and the Internet all the time, even though she's too young 
to have logged on yet. Here's what I worry about. I worry that 10 or 15 years from now, 
she will come to me and say 'Daddy, where were you when they took freedom of the press 
away from the Internet?'"
--Mike Godwin, Electronic Frontier Foundation

_______________________________________________
Angstrom-distro-users mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/angstrom-distro-users

Reply via email to