public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: "Alex Huang" <alexjoy@sis.com.tw>
To: "linux-kernel" <linux-kernel@vger.kernel.org>
Subject: a question about block device driver
Date: Wed, 4 Apr 2001 14:45:49 +0800	[thread overview]
Message-ID: <004701c0bcd2$e2f90ae0$d9d113ac@sis.com.tw> (raw)



 Hi
 Thank you very much for your help.
 In the linux kernel version 2.4.X,
 Does anybody mount a hard drive with MSDOS type file system ??

When I mount this hard drive using the command :
    mount -t msdos /dev/hda1 /mnt/hd -o blocksize=1024
 After mounting a hard disk, I read a file , and the system occours errors.
 After I check the msdos file system in "usr/src/linux/fs/fat/cvf.c"

 Iin the codes,
 struct cvf_format bigblock_cvf={
     :
     :
     :
    default_fat_bmap,
    NULL,
    default_fat_file_write,
     :
     :
 }


 I check the data struct , the NULL field is defined a file_read callback
 function. So , when I read a file , will cause the system error.

 In the kernel version 2.2.17, I can mount a MSDOS filesystem with the
option
 "-o blocksize=1024", and the driver can read/write two pages at the same
 time. But in the kernel version 2.4.X, it doesn't work.

  how two read/write two or more pages(blocks) at the same time in
 the kernel version 2.4.X ??

 Thanks




             reply	other threads:[~2001-04-04  6:45 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-04-04  6:45 Alex Huang [this message]
2001-04-04 11:06 ` a question about block device driver Alan Cox

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='004701c0bcd2$e2f90ae0$d9d113ac@sis.com.tw' \
    --to=alexjoy@sis.com.tw \
    --cc=linux-kernel@vger.kernel.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