Urban Widmark wrote:
> 
>  ... but that would perhaps not be
> low enough for you so how about:
>   int fd = open("/dev/hda", O_RDONLY);
> 
> and then:
>   lseek()
>   read()

Oh ho! That's the best idea so far! Why don't we just skip all this JNI
nonsense and just open /dev/hda up as a java.io.RandomAccessFile? 

I've just _got_ to try this... though probably on a ramdisk first :-)

Gee I love linux...

-- 

Paul Reavis                                      [EMAIL PROTECTED]
Design Lead
Partner Software, Inc.                        http://www.partnersoft.com

Reply via email to