On Unixoids you can open the raw devices like /dev/sda1
in the same way as any other file. Then you can read and write to that “file” using RandomAcccessFile
.
But: Be very sure you really know what you do! The comments might give you a clue.
More Related Contents:
- Why is subtracting these two times (in 1927) giving a strange result?
- Refactor this code snippet [closed]
- how to replace display array list equals another array list values
- Creating random numbers with no duplicates
- JPA JoinColumn vs mappedBy
- Why is Spring’s ApplicationContext.getBean considered bad?
- How to avoid using scriptlets in my JSP page?
- Java map with values limited by key’s type parameter
- Sorting arraylist in alphabetical order (case insensitive)
- Possible causes of Java VM EXCEPTION_ACCESS_VIOLATION?
- Why shouldn’t you extend JFrame and other components? [duplicate]
- How to most elegantly iterate through parallel collections?
- Get login username in java
- Java’s Date(…) constructor is deprecated; what does that mean?
- ChromeDriver and WebDriver for Selenium through TestNG results in 4 errors
- Why cast after an instanceOf?
- Why does the (Oracle) JVM have a fixed upper limit for memory usage (-Xmx)?
- How to convert a String to CharSequence?
- Android: how to hide ActionBar on certain activities
- How to use multiple JOIN FETCH in one JPQL query
- URLConnection FileNotFoundException for non-standard HTTP port sources
- How to set a java system property so that it is effective whenever I start JVM without adding it to the command line arguments
- non-static class cannot be referenced from a static context [duplicate]
- How to create a reorder-able TableView in JavaFx
- Error “A JNI error has occurred. Please check your installation and try again in Eclipse x86 Windows 8.1”
- Take full page screenshot in Chrome with Selenium
- Java PrintWriter not working
- Why does the debugged program slow down so much when using method entry debugging?
- Find all words with 3 letters with regex
- How does Eclipse actually run Junit tests?