On Wed, 11 Nov 1998 [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.
On Linux, a disk is a file like any other. Use /dev/hda for the device,
/dev/hda1 for the partition.
Be aware if you give youself write access and stuff it up, the disk content
is effectively destroyed and you'll need to repartition & reformat.
However, if the overhead's a problem, Java's not the language to use: it's
full of overheads.
Cheers
John Summerfield
http://os2.ami.com.au/os2/ for OS/2 support.
Configuration, networking, combined IBM ftpsites index.