diff options
author | Mike Buland <eichlan@xagasoft.com> | 2011-02-17 09:50:30 +0000 |
---|---|---|
committer | Mike Buland <eichlan@xagasoft.com> | 2011-02-17 09:50:30 +0000 |
commit | 5c1dfe87cb4021c905529451e5ff7718c6c94b2f (patch) | |
tree | 4be3b3537175fd9fea791aa0329ac5fe06da4a39 /src/myriadfs.cpp | |
parent | 2aeffdea0647df45c808d8203972ad1c0de9a04f (diff) | |
download | libbu++-5c1dfe87cb4021c905529451e5ff7718c6c94b2f.tar.gz libbu++-5c1dfe87cb4021c905529451e5ff7718c6c94b2f.tar.bz2 libbu++-5c1dfe87cb4021c905529451e5ff7718c6c94b2f.tar.xz libbu++-5c1dfe87cb4021c905529451e5ff7718c6c94b2f.zip |
Made some great progress on the MyriadFs spec...it's interesting, a few more
decisions to make and we're set.
Diffstat (limited to 'src/myriadfs.cpp')
-rw-r--r-- | src/myriadfs.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/myriadfs.cpp b/src/myriadfs.cpp index 9f68253..c8d23b6 100644 --- a/src/myriadfs.cpp +++ b/src/myriadfs.cpp | |||
@@ -61,15 +61,15 @@ Bu::MyriadFs::MyriadFs( Bu::Stream &rStore, int iBlockSize ) : | |||
61 | #endif | 61 | #endif |
62 | int32_t iTmp32 = 0; | 62 | int32_t iTmp32 = 0; |
63 | int16_t iTmp16 = 0; | 63 | int16_t iTmp16 = 0; |
64 | ms.write( &iUser, 4 ); | 64 | ms.write( &iUser, 4 ); // User |
65 | ms.write( &iGroup, 4 ); | 65 | ms.write( &iGroup, 4 ); // Group |
66 | ms.write( &iTmp16, 2 ); | 66 | ms.write( &iTmp16, 2 ); // Meta? I...don't remember this |
67 | ms.write( &iTmp16, 2 ); | 67 | ms.write( &iTmp16, 2 ); // Permissions/types |
68 | iTmp32 = 3; | 68 | iTmp32 = 3; |
69 | ms.write( &iTmp32, 4 ); | 69 | ms.write( &iTmp32, 4 ); // Stream index |
70 | iTmp32 = 0; | 70 | iTmp32 = 0; |
71 | ms.write( &iTmp32, 4 ); | 71 | ms.write( &iTmp32, 4 ); // Parent inode |
72 | ms.write( &iTmp16, 2 ); | 72 | ms.write( &iTmp16, 2 ); // Name size |
73 | } | 73 | } |
74 | 74 | ||
75 | // Create inode 0's storage stream. | 75 | // Create inode 0's storage stream. |