From: Bruno Diniz de Paula <diniz@cs.rutgers.edu>
To: Valdis.Kletnieks@vt.edu
Cc: linux-kernel@vger.kernel.org
Subject: Re: How to bypass buffer caches?
Date: 13 Feb 2003 12:51:19 -0500 [thread overview]
Message-ID: <1045158671.4767.138.camel@urca.rutgers.edu> (raw)
In-Reply-To: <200302131737.h1DHbIFT007308@turing-police.cc.vt.edu>
[-- Attachment #1: Type: text/plain, Size: 778 bytes --]
But what if "/dev/hda7" already has an ext2 fs set up. How am I supposed
to know which phisical blocks in the disk correspond to each of my files
in the ext2 mapping, that is, "/var/somefile" or "/usr/local/otherfile"?
Thanks,
Bruno.
On Thu, 2003-02-13 at 12:37, Valdis.Kletnieks@vt.edu wrote:
> On Thu, 13 Feb 2003 12:29:12 EST, Bruno Diniz de Paula <diniz@cs.rutgers.edu> said:
>
> > the kernel. One option would be create a raw device on top of my disk
> > partition, but in this case I would have to learn how to map a logical
> > file name (/var/tmp/myfile) to a set of block disks. Is there any other
>
> What's wrong with this?
>
> fd = open("/dev/hda7", your_flags_here);
--
Bruno Diniz de Paula <diniz@cs.rutgers.edu>
Rutgers University
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
next prev parent reply other threads:[~2003-02-13 17:41 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-02-13 17:29 Bruno Diniz de Paula
2003-02-13 17:37 ` Valdis.Kletnieks
2003-02-13 17:51 ` Bruno Diniz de Paula [this message]
2003-02-13 18:20 ` Valdis.Kletnieks
2003-02-13 23:36 ` Andries Brouwer
2003-02-14 8:36 ` Helge Hafting
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=1045158671.4767.138.camel@urca.rutgers.edu \
--to=diniz@cs.rutgers.edu \
--cc=Valdis.Kletnieks@vt.edu \
--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
all inboxes | Powered by JetHome®