Commit Graph

11 Commits

Author SHA1 Message Date
Vreixo Formoso 2ad6f5f667 Change IsoStream get_id definition, to always provide a valid id.
Streams are a better place to handle source content identification, when
the IsoFilesystem is unable to provide a valid identification.
2008-01-10 17:56:39 +01:00
Vreixo Formoso baf7f14b11 Change get_path() definition in IsoFileSource. 2007-12-31 16:27:08 +01:00
Vreixo Formoso 71cd3ccb89 Check access to file contents before adding it to public iso tree. 2007-12-29 16:34:17 +01:00
Vreixo Formoso c915c6e3f4 Add a function to identify a Stream, for user notification. 2007-12-29 01:58:42 +01:00
Vreixo Formoso 4c9d83f051 Define code style formatter for eclipse and apply it to source. 2007-12-28 22:10:17 +01:00
Vreixo Formoso 449ed65fe9 Improve IsoStream interface implementation. 2007-12-20 20:58:03 +01:00
Vreixo Formoso a161f4249c Improve IsoFileSource interface implementation. 2007-12-20 20:47:39 +01:00
Vreixo Formoso 39bde82ff6 Move size, ino, dev cache from IsoFileSrc to IsoStream.
That is a better decission, as it reduces the number of stat() call 
needed, and anyway some Streams will need the size.
2007-12-18 20:46:28 +01:00
Vreixo Formoso 7b241176fb Init implementation of IsoFileSrc.
Ecma119Image, defined for first time in this commit, is the context for image 
written. It keeps the low level objects needed during image written.

IsoFileSrc is the low level object that takes care about the info needed to
write file contents to image. It takes care about reading from Stream in 2K
block chunks. To prevent the same file be written twice to image, we keep in
Ecma119Image a search tree, indexed by the triple key (fs, device, inode) that
uniquelly identifies a source.
2007-12-15 13:13:49 +01:00
Vreixo Formoso dd83f85d09 Support for identification of source Streams.
We identify uniquelly a given source Stream by a triple of numbers: the
filesystem id, the device id inside the filesystem, and the inode id.
2007-12-15 12:51:48 +01:00
Vreixo Formoso 8edc9f2639 Implementation of IsoStream for IsoFileSources. 2007-12-02 22:04:26 +01:00