On Sun, Apr 5, 2009 at 8:45 PM, Ben Klein shacklein@gmail.com wrote:
2009/4/6 Chris Robinson chris.kcat@gmail.com:
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?
Like was already said, default to UNIXFS if unknown. The important thing is that the OPTION be available to change the FS type for apps that need it.