kernelnewbies.kernelnewbies.org archive mirror
 help / color / mirror / Atom feed
From: greg@kroah.com (Greg KH)
To: kernelnewbies@lists.kernelnewbies.org
Subject: Usb block driver to store file
Date: Wed, 25 Jun 2014 23:41:50 -0400	[thread overview]
Message-ID: <20140626034150.GA521@kroah.com> (raw)
In-Reply-To: <CAAbfDBei+DTfGXRXmHv-t26Kg1gU=c2dcLeTTER3+q03scyzJg@mail.gmail.com>

On Wed, Jun 25, 2014 at 12:12:57PM +0530, ravi ranjan Mishra wrote:
> HI,
> 
> i want to transfer a file and store in flash of usb from my driver.

Then use the built-in kernel driver that dos this.

> i have already done usb driver register with char
> 
> but i want to store file from my driver.
> 
> how can possible pls help me

USB storage is one of the most complex drivers out there, it's a whole
scsi stack there.  Use the in-kernel driver, don't write your own for no
reason.

greg k-h

      reply	other threads:[~2014-06-26  3:41 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-06-25  6:42 Usb block driver to store file ravi ranjan Mishra
2014-06-26  3:41 ` Greg KH [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20140626034150.GA521@kroah.com \
    --to=greg@kroah.com \
    --cc=kernelnewbies@lists.kernelnewbies.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).