OESF Portables Forum

Everything Else => Zaurus Distro Support and Discussion => Distros, Development, and Model Specific Forums => Archived Forums => OpenBSD => Topic started by: cybernetseraph on October 25, 2005, 05:39:22 am

Title: Can't Mount Cf Card
Post by: cybernetseraph on October 25, 2005, 05:39:22 am
Hey,
      I've installed the snapshot (as of the 23rd oct i believe). and i've been configuring it to my liking. However, i've hada problem mounting my cf card.

I know it's /dev/wd1c, it's fat32 formatted. however, there's no mount_vfat option for mount, and mount_msdos gives the error
Code: [Select]
mount_msdos: /dev/wd1c on /mnt/cf: Inappropriate file type or format
is it possiblt to mount this drive? or am i going to have to reformat it fat16?

I need to use it on windows (at Uni), and linux at home, so ffs wouldn't be suitable.

apart from this little hiccup i'm very happy with it.

One other question. does anyone know if they're working on autorotation? I don't use it often, but it would be handy.

I know pdaXrom has it, but i think they use a different mechanism (they have a shell script that runs when it rotates, OBSD's is in the xorg.conf).

thanks for any help.

-0-
Title: Can't Mount Cf Card
Post by: darkloran on October 25, 2005, 10:16:34 am
Quote
Code: [Select]
mount_msdos: /dev/wd1c on /mnt/cf: Inappropriate file type or format
just try

Code: [Select]
mount wd1c /mnt/cfit should work.

the real device should be something like /dev/[r]wd1c check
Code: [Select]
dmesgfor the real name of the device

hope it helps

loran
Title: Can't Mount Cf Card
Post by: Sequethin on October 25, 2005, 07:35:30 pm
Quote
Quote
Code: [Select]
mount_msdos: /dev/wd1c on /mnt/cf: Inappropriate file type or format
just try

Code: [Select]
mount wd1c /mnt/cfit should work.

the real device should be something like /dev/[r]wd1c check
Code: [Select]
dmesgfor the real name of the device

hope it helps

loran
[div align=\"right\"][a href=\"index.php?act=findpost&pid=100882\"][{POST_SNAPBACK}][/a][/div]

You might also try mounting wd1a as opposed to wd1c

I use wd1a but I have fdisk-ed my cf card and formatted it with 4.2BSD [which does suck when I forget that it only works on my zaurus or freebsd box ] YMMV

good luck!

Mike
Title: Can't Mount Cf Card
Post by: darkloran on October 26, 2005, 01:37:27 am
Quote
You might also try mounting wd1a as opposed to wd1c

I use wd1a but I have fdisk-ed my cf card and formatted it with 4.2BSD [which does suck when I forget that it only works on my zaurus or freebsd box ] YMMV

oh yes, you're right mike. I'm not completely familiar with obsd - not yet   - and i didn't notice the 'c' label.

cybernetseraph you should use
Code: [Select]
disklabel wd1 to see which partition supports your files. especially because you use dos format and the partitiion should be something like wd1i more than wd1c or wd1a. In BSD format the 'c' label stands for the 'whole disk' partition.

loran
Title: Can't Mount Cf Card
Post by: cybernetseraph on October 28, 2005, 11:35:54 am
Hey guys, i didn't get some of the replies until just now, but i worked it out myself,

disklabel /dev/wd1 told me that the partition i was looking for was i (i knew that c was the whole disk, but wasn't sure if it could be mounted if the device wasn't partitioned).

I've now set up hotplugd to automount it, though i'm tempted to use amd instead (i've used automounters in linux before for the same purpose.

Thanks for the help.
Title: Can't Mount Cf Card
Post by: Wildherb on October 03, 2008, 09:38:04 am
I'm having real trouble mounting CF card on OBSD 4.3

before starting X, If I insert or remove the CF card I see it referenced as wd1 and wdc1

If I do disklabel wd1 I see a c partition (unused) and an i partition (MSDOS)

fdisk wd1 shows four partitions, the first being formatteed Win95 FAT and the others all unused.

There cant be a technical problem becuse I installed the operating system from the same media card!

very similar story if I put a memory stick on the USB host cable, is shows as sd1 with disklabel partitions c and i, four partitions under fdisk.

I'm confused.  8¬(

====EDIT====
Ive concluded that somehow my system was screwed as I could also not edit simplt files such as kismet.conf
Done a rebuild and now I can mount CF and also, I can mount SD is this a first on OBSD??

mount_msdos /dev/wd1i /mnt/cf
mount_msdos /dev/sd0i /mnt/card

BINGO!
Title: Can't Mount Cf Card
Post by: Lance on October 03, 2008, 07:35:26 pm
<QUOTE>
Done a rebuild and now I can mount CF and also, I can mount SD is this a first on OBSD??
</QUOTE>

Mounting and reading an SD card is no problem.  It's writing to the SD card that's been the problem.
Title: Can't Mount Cf Card
Post by: sdjf on October 06, 2008, 12:45:38 am
Quote from: Lance
Mounting and reading an SD card is no problem.  It's writing to the SD card that's been the problem.
Could it be a hardware problem?  I have been having similar issues with trying to read and write to a CF card via USB instead of using my Tosa's CF slot, and Quickening seemed to think it was the device (Lexar CF reader) that was the problem.  I haven't resolved it at this point.

Make sure "mount" shows the device  as rw and not just ro.  That may not resolve the issue, but is a piece of the puzzle to be sure of.  And check permissions with "ls -l".  You may want to play around with sudo, if it's available on OBSD?

sdjf
Title: Can't Mount Cf Card
Post by: Wildherb on October 06, 2008, 06:00:10 pm
Quote from: sdjf
Quote from: Lance
Mounting and reading an SD card is no problem.  It's writing to the SD card that's been the problem.
Could it be a hardware problem?  I have been having similar issues with trying to read and write to a CF card via USB instead of using my Tosa's CF slot, and Quickening seemed to think it was the device (Lexar CF reader) that was the problem.  I haven't resolved it at this point.

Make sure "mount" shows the device  as rw and not just ro.  That may not resolve the issue, but is a piece of the puzzle to be sure of.  And check permissions with "ls -l".  You may want to play around with sudo, if it's available on OBSD?

sdjf

No, not a hardware problem. My Spitz was happily writing to the same SD card using Cakco just before I flashed it with OBSD.