Determine filesystem type of given file in Java -


is there similar statfs in java determine filesystem type of given file? more i'd determine if file provided user on shared or local filesystem. i'm going use information determine if application opening several identically named files on local filesystem of distributed application, or 1 shared file.

i suppose if can "nfs", "lustre", "ext3", etc either string or enumeration can program mapping shared/not shared. let's assume file exists , readable.

as far know, no - java not provide access information you're looking for.

i think real option write shared library, , use either jni or jna access it.


Comments

Popular posts from this blog

blackberry 10 - how to add multiple markers on the google map just by url? -

php - guestbook returning database data to flash -

delphi - Dynamic file type icon -