[Development] QStorageInfo

André Somers andre at familiesomers.nl
Mon Aug 25 17:16:51 CEST 2014


Thiago Macieira schreef op 25-8-2014 17:09:
> On Monday 25 August 2014 13:46:12 André Somers wrote:
>> ???? ?????????? schreef op 25-8-2014 13:24:
>>> Can you provide an usecase why you need this feature?
>> Sure. In our product, we support having the user choose where to put his
>> database. However, we only support doing that on a local file system, as
>> experience has shown us that using our database system on a network
>> drive is too unreliable and leads to database corruption. Therefore, we
>> need to detect the file system type when the user selects a location for
>> the database.
> Do fuse filesystems count as local? Does it depend on what's on the other side
> of the fuse daemon?
>
> How about filesystem type, does it work on ntfs-3g, vfat, etc.?
Lucky for us, this only runs on Windows, so no fuse or ntfs-3g to deal 
with. vfat should work fine though, though I don't think we've tested 
that use case. We (currently) supply the hardware as well, and deliver 
with NTFS formatted drives.

We were asked for a use case. I gave one, and even though you can think 
up all kinds of scenario's where the line gets blurry, that does not 
mean that there are no use cases for the simple case. We currently use 
windows API to discover this information. Appearently, microsoft thinks 
that the information is relevant /and/ can be delivered with reasonable 
certainty.

André





More information about the Development mailing list