- /*
- * java_file2inodenum - return dev/inode number
- */
- import java.nio.file.*;
- import java.nio.file.attribute.*;
- public class java_file2inodenum
- {
- BasicFileAttributes attr = null;
- Path path = Paths.get("/etc/profile");
- attr = Files.readAttributes(path, BasicFileAttributes.class);
- }
- }
java_file2inodenum
Posted by Anonymous on Thu 18th Jan 2024 00:41
raw | new post
Submit a correction or amendment below (click here to make a fresh posting)
After submitting an amendment, you'll be able to view the differences between the old and new posts easily.