Help - Search - Members - Calendar
Full Version: Can't Mount Cf Card
OESF Forums > Distros, Development, and Model Specific Forums > Distro Support and Discussion > OpenBSD
cybernetseraph
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
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-
darkloran
QUOTE(cybernetseraph @ Oct 25 2005, 09:39 AM)
CODE
mount_msdos: /dev/wd1c on /mnt/cf: Inappropriate file type or format

just try

CODE
mount wd1c /mnt/cf

it should work.

the real device should be something like /dev/[r]wd1c check
CODE
dmesg

for the real name of the device

hope it helps

loran
Sequethin
QUOTE(darkloran @ Oct 25 2005, 10:16 AM)
QUOTE(cybernetseraph @ Oct 25 2005, 09:39 AM)

CODE
mount_msdos: /dev/wd1c on /mnt/cf: Inappropriate file type or format

just try

CODE
mount wd1c /mnt/cf

it should work.

the real device should be something like /dev/[r]wd1c check
CODE
dmesg

for the real name of the device

hope it helps

loran
*



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 wink.gif] YMMV

good luck! smile.gif

Mike
darkloran
QUOTE(Sequethin @ Oct 25 2005, 11:35 PM)
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 wink.gif] YMMV


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

cybernetseraph you should use
CODE
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
cybernetseraph
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.
Wildherb
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!
Lance
<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.
sdjf
QUOTE(Lance @ Oct 3 2008, 04:35 PM) *
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
Wildherb
QUOTE(sdjf @ Oct 6 2008, 05:45 AM) *
QUOTE(Lance @ Oct 3 2008, 04:35 PM) *
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.
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-2014 Invision Power Services, Inc.