From owner-freebsd-questions Sat Jul 7 14:14:40 2001 Delivered-To: freebsd-questions@freebsd.org Received: from shumai.marcuscom.com (rdu26-228-058.nc.rr.com [66.26.228.58]) by hub.freebsd.org (Postfix) with ESMTP id DD86037B401 for ; Sat, 7 Jul 2001 14:14:36 -0700 (PDT) (envelope-from marcus@marcuscom.com) Received: from localhost (marcus@localhost) by shumai.marcuscom.com (8.11.3/8.11.3) with ESMTP id f67LFSj70901; Sat, 7 Jul 2001 17:15:28 -0400 (EDT) (envelope-from marcus@marcuscom.com) X-Authentication-Warning: shumai.marcuscom.com: marcus owned process doing -bs Date: Sat, 7 Jul 2001 17:15:28 -0400 (EDT) From: Joe Clarke To: Jason Barnes Cc: Subject: Re: mounting compact flash cards In-Reply-To: <20010707134708.F2484-100000@c3po.lpl.arizona.edu> Message-ID: <20010707171405.A70351-100000@shumai.marcuscom.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I've never used 5.0, but usually, when I need to make a device entry, I do: cd /dev ; ./MAKEDEV 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 [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