Commit Graph

20 Commits

Author SHA1 Message Date
Vreixo Formoso
b29e2a7db2 Improve filesystem implementation to deal with local files.
Instead of storing the path of each file, we store the name plus a ref 
to the parent. That way, we safe around 5-10% of memory.
2008-01-11 19:48:52 +01:00
Vreixo Formoso
47bdbd76b5 Add El-Torito estructures to an IsoImage, and APIs for manage it. 2008-01-10 17:22:53 +01:00
Vreixo Formoso
282ffa9a98 Function to read file contents from image. 2008-01-03 00:56:11 +01:00
Vreixo Formoso
c296ca9ff5 iso_file_source_new_lfs() can be static. 2007-12-31 16:29:47 +01:00
Vreixo Formoso
baf7f14b11 Change get_path() definition in IsoFileSource. 2007-12-31 16:27:08 +01:00
Vreixo Formoso
702bd0f288 Isolate non-standard eaccess usage in a util function.
That will be replaced soon with our own implementation, based on POSIX 
standard functions.
2007-12-30 18:07:01 +01:00
Vreixo Formoso
5c22069d19 Add function to check if we have access to IsoFileSource contents. 2007-12-29 16:30:13 +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
a161f4249c Improve IsoFileSource interface implementation. 2007-12-20 20:47:39 +01:00
Vreixo Formoso
0a340c53d5 Fix bug in open() function for local file srcs, to deal with symlinks. 2007-12-15 17:12:21 +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
0306bb5daf Redefine readdir() on IsoFileSource, to skip "." and ".." dirs. 2007-12-11 22:41:18 +01:00
Vreixo Formoso
e28f924913 Ensure local filesystem is deleted when needed. 2007-12-08 02:49:27 +01:00
Vreixo Formoso
b35e090c1b Add stat() function to IsoFileSource interface. 2007-12-02 22:03:29 +01:00
Vreixo Formoso
79c37ff193 Little changes. 2007-12-02 17:59:36 +01:00
Vreixo Formoso
100919a5cb Fix little bug, close() must mark a file as closed! 2007-11-26 21:46:26 +01:00
Vreixo Formoso
1478904aaf Implement get_name in FileSource, and add a little test program. 2007-11-26 21:16:38 +01:00
Vreixo Formoso
e034f287bf Implement IsoFilesystem to deal with local filesystem. 2007-11-25 19:54:13 +01:00
Vreixo Formoso
1bda81869b Add IsoFileSource implementation for local filesystem. 2007-11-25 16:46:21 +01:00
Vreixo Formoso
6c090c9a7b Added more files, mainly beginning of filesystem sources implementation. 2007-11-24 16:58:36 +01:00