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
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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
current implementation of the Transaction class automatically add a transaction header to the database file, which require write access to the media.