commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gregor Zeitlinger" <>
Subject Re: [io] FileSystemUtils.getDrives?
Date Sun, 29 Oct 2006 15:34:20 GMT
> What about File.listRoots() ?
It returns / on Linux, even if /var (for example) is a different mount point

Other than that, it would probably work.
But there are other methods beyond freeSpace that make sense for a
drive/mount point.
1) isReady
2) isRemovable

Therefore, Drive should be it's own class.

Gregor Zeitlinger

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message