Is there any way to read volume label in Java program on Linux?
I've found sample of doing that at http://www.rgagnon.com/javadetails/java-0455.html It uses FileSystemView class, but it seems working only on Windows. On Linux for /dev/sdb1 it returns sdb1.