added: mount points are read from db: /etc/fstab

changed: mount points parser allows empty lines (with some white characters)


git-svn-id: svn://ttmath.org/publicrep/cmslu/trunk@518 e52654a7-88a9-db11-a3e9-0013d4bc506e
This commit is contained in:
2009-11-15 23:55:11 +00:00
parent 378cfc0c3d
commit 9129f1b82a
13 changed files with 132 additions and 22 deletions

View File

@@ -33,6 +33,7 @@ public:
DirContainer();
Iterator GetRoot();
Iterator GetEtc();
Iterator Begin();
Iterator End();
@@ -52,6 +53,7 @@ public:
ParentIterator FindFirstParent(long parent);
ParentIterator NextParent(ParentIterator pi);
void FindSpecialFolders();
private:
@@ -64,6 +66,12 @@ private:
// root
Iterator root_iter;
// true if there is a etc dir in the table
bool is_etc;
// etc
Iterator etc_iter;
// indexes
TableId table_id;
TableParent table_parent;