Search:

Type: Posts; User: erics

Search: Search took 0.09 seconds.

  1. Re: How to read the mbr-sector ( sector zero of /dev/sda ) and print-out the partition table?

    Thank You Copeg and Norm for the replies .
    First time I heard about the big-endianness of Java , have a couple of Java-books around , not one of them does mention this fact !
    One should expect as...
  2. Re: How to read the mbr-sector ( sector zero of /dev/sda ) and print-out the partition table?

    My Thanks for everyone !
    I think i solved the problem by using a dataInputStream ( as suggested by copeg ) and skipping the first 446 bytes ( the initial bootcode ) , but alas the printed-out...
  3. Re: How to read the mbr-sector ( sector zero of /dev/sda ) and print-out the partition table?

    Thank You for replying Norm , but I find it hard to believe Java not having a class or method somewhere to handle this ( in Cobol yes impossible , but Java )?
    So I suppose my next Java question (...
  4. How to read the mbr-sector ( sector zero of /dev/sda ) and print-out the partition table?

    Hello ,
    As a java-newbee I wonder how todo this simple( in C that-is) task ?
    Which IO-class to use for reading a binary record of 512-bytes and how to access the 4 entries of the partition-table...
Results 1 to 4 of 4