Code: Select all
FileConnection fconn = (FileConnection) Connector.open("file:///" + path, Connector.READ);Code: Select all
Enumeration em = FileSystemRegistry.listRoots();
while(em.hasMoreElements()){
System.out.println(em.nextElement());
}I get the following roots:
_dev_root/
devtmpfs/
sysfs/
proc/
tmpfs/
devpts/
tmpfs/
tmpfs/
tmpfs/
cgroup/
cgroup/
cgroup/
cgroup/
cgroup/
cgroup/
cgroup/
systemd-1/
mqueue/
debugfs/
configfs/
fusectl/
_dev_mmcblk0p1/
tmpfs/
gvfsd-fuse/
_dev_sda/
And my real root is not among them.
Is there a solution to this problem, adding a root maybe?[/url]