Menu

#1 support read-only devices

open
nobody
5
2011-10-26
2011-10-22
Anonymous
No

allow opening a database located on a read-only device (CD-ROM) or a protected network folder

Discussion

  • Nobody/Anonymous

    TODO:
    on Low.File.open() test on readonly media.
    - add readOnly flag on BufferedIo.mapFile()
    - check File.canWrite() and File.getCanonicalName.getParent().canWrite()
    - mapPage() : copy flag to the Page object
    - Page.getReaderWriter() : copy flag to the ReaderWriter object

     
  • silex6

    silex6 - 2011-10-26
    • labels: --> disk cache and I/O
     
  • silex6

    silex6 - 2013-02-04

    current implementation of the Transaction class automatically add a transaction header to the database file, which require write access to the media.