Date: Sat, 7 Jul 2001 17:15:28 -0400 (EDT) From: Joe Clarke <marcus@marcuscom.com> To: Jason Barnes <jbarnes@c3po.lpl.arizona.edu> Cc: <freebsd-questions@FreeBSD.ORG> Subject: Re: mounting compact flash cards Message-ID: <20010707171405.A70351-100000@shumai.marcuscom.com> In-Reply-To: <20010707134708.F2484-100000@c3po.lpl.arizona.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
I've never used 5.0, but usually, when I need to make a device entry, I do: cd /dev ; ./MAKEDEV <device> If the disk is formatted as a DOS FS, then once you have the device entries, you should be able to do: mount -t msdos /dev/ad8s1 /mnt Joe Clarke On Sat, 7 Jul 2001, Jason Barnes wrote: > > Hi, I'm running FreeBSD-5.0-current-20010501 on a Dell Inspiron > 4000 laptop. I am trying to use a Sandisk CompactFlash Pc Card Adapter in > the PCMCIA slot 0 to read a SanDisk CompactFlash memory card (80MB) > installed within it. The card is recognized by pccard: > > pccard: card inserted, slot 0 > Jul 8 13:57:24 tc14 pccardd[180]: Card "SunDisk"("SDP")[5/3 0.6] [(null)] > matched "SunDisk" ("/.*/") [(null)] [(null)] > ata4 at port 0x240-0x247,0x24e irq 10 slot 0 on pccard0 > ad8: 76MB <SunDisk SDCFB-80> [62/8/32] at ata4-master BIOSPIO] > Jul 8 13:57:29 tc14 pccardd[180]: ata4: SunDisk (/.*/) inserted > > and is apparently installed as ad8. So far so good. However, since no > ad8s1 device exists I apparently cannot mount it. I ran > /usr/src/etc/MAKEDEV ad8s1 and get: > > WARNING: Driver mistake: repeat make_dev("ad8s1") > WARNING: Driver mistake: repeat make_dev("ad8s1") > mknod: ad8s1: Operation not supported > /sbin/mknod ad8s1 > > Running mount on this gives: > > tc14# mount_msdos /dev/ad8s1 /camera > WARNING: Driver mistake: repeat make_dev("ad8s1") > mount_msdos: /dev/ad8s1: No such file or directory > > Indeed there isn't an ad8s1 in /dev, so this is not a surprise. > There is, however, an ad8s1b, attempting to mount it gives: > > tc14# mount_msdos /dev/ad8s1b /camera > mount_msdos: /dev/ad8s1b: Invalid argument > > The same happens for ad8s1a, the other device present in /dev with > ad8 in it. > I think the problem here is that I don't understand the new 5.0 > device system yet :( Anyway, I apologize for my lack of knowledge, and if > anyone would be able to help me out I would apreciate it greatly. Thank > you for your time. > > - Jason > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010707171405.A70351-100000>