On Wed, 11 Nov 1998 10:40:52 +0000, [EMAIL PROTECTED] wrote:
>While this is not directly a Java question does anybody know of any
>library functions etc which will provide low level disk access to
>harddisks. i.e sector access etc.
>
>I am looking at writing a Java class for providing direct access to a
>dedicated harddisk so that I can avoid some of the overhead of Java and
>normal filesystem based disk access.
Sorry, but when I read this I laughed a bit...
In any reasonable filesystem (ext2 on Linux, HPFS on OS/2, etc) you
get very good performance - and if you are controlling this from Java,
going directly to the hard drive just seems a bit, well, funny.
I do not know of any libraries for Java that provide low-level disk
access. Using JNI (Native Methods) you could write those routes in
another language (C is the easiest) and then use them from Java.
Michael Sinz -- Director of Research & Development, NextBus Inc.
mailto:[EMAIL PROTECTED] --------- http://www.nextbus.com
My place on the web ---> http://www.users.fast.net/~michael_sinz