[prev in list] [next in list] [prev in thread] [next in thread] 

List:       linux-arm-kernel
Subject:    Re: Re: q:cf/pcmcia
From:       Ian Campbell <icampbell () arcom ! com>
Date:       2004-06-30 8:22:53
Message-ID: 1088583773.8851.5.camel () icampbell-debian
[Download RAW message or body]

Please stick to the mailing lists instead of private mail unless
otherwise indicated.

Ian.

On Thu, 2004-06-24 at 07:34, zxk wrote:
> Hi,Ian Campbell
>   I compiled IDE + IDE CS support into my kernel.
> and I create /dev/hda by command mknod .
> but I can't mount /dev/hda successful. how to make cf card work normal.
> Can you tell me in detail about it.

Well -- you don't give many details of what you tried or what the
error/problem is, in the future please try to do so or I won't be able
to help out.

To answer your query -- you would make it work in the same way as you
would a regular hard disk on your workstation.

First you may need to partition it using fdisk. CF cards often seem to
have a single large partition on them, in which case you need to be
mounting /dev/hda1 rather than just /dev/hda.

You may also need to make a filesystem on it, I think CF cards often
ship with a FAT filesystem of some sort, so that may be sufficient and
you can just mount with fs type vfat. Otherwise you need to use
mkfs.ext2 to make an ext2 filesystem on the device (depending on your
partitioning structure that's hda or hda1).

Ian.
-- 
Ian Campbell, Senior Design Engineer
                                        Web: http://www.arcom.com
Arcom, Clifton Road, 			Direct: +44 (0)1223 403 465
Cambridge CB1 7EA, United Kingdom	Phone:  +44 (0)1223 411 200


-------------------------------------------------------------------
Subscription options: http://lists.arm.linux.org.uk/mailman/listinfo/linux-arm-kernel
FAQ:       http://www.arm.linux.org.uk/armlinux/mlfaq.php
Etiquette: http://www.arm.linux.org.uk/armlinux/mletiquette.php
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic