Help - Search - Members - Calendar
Full Version: 4gb Cf Card Mounts Ro, Bogus Directories
OESF Portables Forum > Everything Else > Archived Forums > Zaurus General Forums > General Support and Discussion > Accessories
I'm having a bit of a problem with a 4GB CF card on my Zaurus (SL-C860, Sharp ROM 1.40 JP, with tweaks for English).

Files written to the card on a Windows system appear ok on the Z, but so do a myriad of empty directories with bizarre names like "", "....", "fghijlkm.nop", and many with non-ASCII characters. I cannot remove them because the card gets mounted read-only, according to "mount".

I figured I'd reformat the card as Fat16 on the Z, but that's not going well:

: su
: mkfs.vfat -F 16 /dev/hda1
mkfs.vfat: /dev/hda1 contains a mounted file system
: umount /dev/hda1
umount: /dev/hda1: Device or resource busy
: umount -f /dev/hda1
umount: forced umount of /dev/hda1 failed!

Mind you, the only app running is Qkonsole, and the cwd is /, so why it's "busy" I'm not sure.

Ok, now what? Is there any point in editing /etc/fstab to force the mount to be rw? Or maybe I need to comment out the /mnt/cf entry in /etc/fstab, reboot, reformat, uncomment, reboot?

Surely there's a better way...
isn't the card mounted by the hotplug scripts and not what's in /etc/fstab?

you can always try remounting thus
mount -o remount /dev/hda1

I would check that the card is correctly partitioned, this seems to be a common problem with windows, formatting the card as a whole and not using a partition. use "fdisk /dev/hda".

not sure why you can't unmount it... the Z doesn't have "lsof"?
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2019 Invision Power Services, Inc.