From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from 220-135-196-131.hinet-ip.hinet.net ([220.135.196.131] helo=tiger.auttw.com) by canuck.infradead.org with esmtp (Exim 4.43 #1 (Red Hat Linux)) id 1DpP4M-0000eL-TY for linux-mtd@lists.infradead.org; Mon, 04 Jul 2005 07:25:00 -0400 Received: from notebook (unknown [192.168.10.10]) by tiger.auttw.com (Postfix) with SMTP id 10E2F6F58F for ; Mon, 4 Jul 2005 18:50:03 +0800 (CST) Message-ID: <001501c58085$df316850$6fd4e43d@notebook> From: "A.U.T Information" To: Date: Mon, 4 Jul 2005 18:48:10 +0800 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0012_01C580C8.EC9A5900" Subject: How to mount flash disk to /dev/mtd* List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , This is a multi-part message in MIME format. ------=_NextPart_000_0012_01C580C8.EC9A5900 Content-Type: text/plain; charset="big5" Content-Transfer-Encoding: quoted-printable Dear all: I have a usb flash disk.I want to read/write/erase the USB = flash disk.But the linux(Fedora 4 kernel2.6.12)automount it to = /dev/sda.So,can i mount it to /dev/mtd* and use MTD util to = read/write/erase the flash disk(nand flash)?How do i it? thx, louis ------=_NextPart_000_0012_01C580C8.EC9A5900 Content-Type: text/html; charset="big5" Content-Transfer-Encoding: quoted-printable
Dear all:
          &nbs= p; =20 I have a usb flash disk.I want to read/write/erase  the USB flash = disk.But=20 the linux(Fedora 4 kernel2.6.12)automount it to = /dev/sda.So,can i mount it to /dev/mtd*  and use MTD util to = read/write/erase the=20 flash disk(nand flash)?How do i it?
 
thx,
louis
 
 
------=_NextPart_000_0012_01C580C8.EC9A5900-- From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from 213-239-205-147.clients.your-server.de ([213.239.205.147] helo=mail.tglx.de) by canuck.infradead.org with esmtp (Exim 4.43 #1 (Red Hat Linux)) id 1DpPFc-0000wn-4z for linux-mtd@lists.infradead.org; Mon, 04 Jul 2005 07:36:37 -0400 From: Thomas Gleixner To: "A.U.T Information" In-Reply-To: <001501c58085$df316850$6fd4e43d@notebook> References: <001501c58085$df316850$6fd4e43d@notebook> Content-Type: text/plain Date: Mon, 04 Jul 2005 13:39:22 +0200 Message-Id: <1120477162.18862.74.camel@tglx.tec.linutronix.de> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Cc: linux-mtd@lists.infradead.org Subject: Re: How to mount flash disk to /dev/mtd* Reply-To: tglx@linutronix.de List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Mon, 2005-07-04 at 18:48 +0800, A.U.T Information wrote: > I have a usb flash disk.I want to read/write/erase the > USB flash disk.But the linux(Fedora 4 kernel2.6.12)automount it > to /dev/sda.So,can i mount it to /dev/mtd* and use MTD util to > read/write/erase the flash disk(nand flash)?How do i it? The usb sticks have an own controller chip, which handles the FLASH and provides a block device interface. I'm not aware of a stick, which lets you access the FLASH transparently. tglx