2009/4/6 Chris Robinson <[email protected]>: > On Sunday 05 April 2009 6:01:15 pm Ben Klein wrote: >> Isn't that more-or-less what I suggested? >> >> The biggest problem would be detecting what filesystem a given >> directory is on (noting that wine's "drives" are not even mounted >> partitions). Expert parsing of /etc/mtab would indicate it on Linux >> systems (and BSD?) but Solaris has a violently different mtab system. > > HAL shows the information pretty well. It shows the block device, it's mount > point, and it's fstype. AFAIK, Wine already uses it to determine the available > CD/floppy drives to use.
That might be fine for mount points and mountable devices, but how could you accurately determine the filesystem type for an arbitrary directory like $HOME/.wine/drive_c?
