aboutsummaryrefslogtreecommitdiff
path: root/src/myriadfs.cpp
diff options
context:
space:
mode:
authorMike Buland <eichlan@xagasoft.com>2011-02-19 22:47:48 +0000
committerMike Buland <eichlan@xagasoft.com>2011-02-19 22:47:48 +0000
commitc88a480b9bcabf9aad4f7b66685bbafacc022cc4 (patch)
tree2ba18a5775be2b02197084029834d80b9b251a1a /src/myriadfs.cpp
parent401b8383079720fff1264c67f77b6d8dfc8d9b58 (diff)
downloadlibbu++-c88a480b9bcabf9aad4f7b66685bbafacc022cc4.tar.gz
libbu++-c88a480b9bcabf9aad4f7b66685bbafacc022cc4.tar.bz2
libbu++-c88a480b9bcabf9aad4f7b66685bbafacc022cc4.tar.xz
libbu++-c88a480b9bcabf9aad4f7b66685bbafacc022cc4.zip
Myriad does not handle multi-threaded access very well, that needs to be
addressed, besides that, only a couple more functions need to be added to myriadfs before it's totally ready to have linux installed on it :-P
Diffstat (limited to 'src/myriadfs.cpp')
-rw-r--r--src/myriadfs.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/myriadfs.cpp b/src/myriadfs.cpp
index d4cf67f..b4ba733 100644
--- a/src/myriadfs.cpp
+++ b/src/myriadfs.cpp
@@ -257,7 +257,7 @@ int32_t Bu::MyriadFs::lookupInode( Bu::String::const_iterator iStart,
257 Bu::String::const_iterator iEnd = iStart.find('/'); 257 Bu::String::const_iterator iEnd = iStart.find('/');
258 Bu::String sTok( iStart, iEnd ); 258 Bu::String sTok( iStart, iEnd );
259 259
260 sio << "Direcotry component: " << sTok << sio.nl; 260// sio << "Direcotry component: " << sTok << sio.nl;
261 261
262 Dir lDir = readDir( iNode ); 262 Dir lDir = readDir( iNode );
263 263
@@ -303,7 +303,7 @@ Bu::MyriadFs::Dir Bu::MyriadFs::readDir( int32_t iNode )
303 303
304 Bu::MyriadStream is = mStore.openStream( 2 ); 304 Bu::MyriadStream is = mStore.openStream( 2 );
305 Dir lDir; 305 Dir lDir;
306 sio << "Reading dir, " << iNumChildren << " entries:" << sio.nl; 306// sio << "Reading dir, " << iNumChildren << " entries:" << sio.nl;
307 for( int32_t j = 0; j < iNumChildren; j++ ) 307 for( int32_t j = 0; j < iNumChildren; j++ )
308 { 308 {
309 int32_t iChildNode; 309 int32_t iChildNode;
@@ -316,7 +316,7 @@ Bu::MyriadFs::Dir Bu::MyriadFs::readDir( int32_t iNode )
316 ms.read( s.sName.getStr(), uLen ); 316 ms.read( s.sName.getStr(), uLen );
317 lDir.append( s ); 317 lDir.append( s );
318 318
319 sio << " " << s.sName << sio.nl; 319// sio << " " << s.sName << sio.nl;
320 } 320 }
321 321
322 return lDir; 322 return lDir;