Serialized Files on disk?



  • Hello,

    I´m quite sure, that it´s not possible, but as it would be GREAT, if it was possible, I want to ask you anyway :)

    Is it possible to make sure, that the file, which I want to store anywhere (on the disk) is not splitted into several parts, but stored off the reel?

    Thank you very much,

    Maria



  • Outlook not so good.


  • Moderators

    What exactly do you want to archive? That the file is written in one block to the disk into a sectors next to each other?

    Why would you want to bother with file-system specific of the on-disk formats?



  • [quote author="Tobias Hunger" date="1328604904"]What exactly do you want to archive? That the file is written in one block to the disk into a sectors next to each other?[/quote]
    Exactly. I want to avoid, that the reading head has to move to often, as I´d like to read as fast as possible.



  • Get an SSD? :-)

    Serious answer: that is not for a mere user-land application to decide. What you are after is deep in the OS & File system layers of your system. Far outside the reach of Qt.



  • This is, what I expected. Thank you.

    As the program shall be used by other people, I cannot force them, to use SSD. But this shall be their problem :-p


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.