@@ -290,10 +290,17 @@ int main_r(int argc, const char * argv[]) {
290290 printInfo += perm;
291291 {
292292 char buf[0x400 ];
293- uint64_t fsize = S_ISDIR (node.fileMode ) ? 0 : node.filesize ;
294- snprintf (buf, sizeof (buf), " %10llu " ,fsize);
295- printInfo += buf;
296- printInfo += strForDate (node.accessOrModDate )+" \t " ;
293+ {
294+ int didprint = snprintf (buf, sizeof (buf), " %d:%d " ,node.uid ,node.gid );
295+ printInfo += buf;
296+ while (didprint++ < 7 ) printInfo+=" " ;
297+ }
298+ {
299+ uint64_t fsize = S_ISDIR (node.fileMode ) ? 0 : node.filesize ;
300+ snprintf (buf, sizeof (buf), " %10llu " ,fsize);
301+ printInfo += buf;
302+ printInfo += strForDate (node.modDate )+" \t " ;
303+ }
297304 }
298305 }
299306
@@ -317,10 +324,18 @@ int main_r(int argc, const char * argv[]) {
317324 printf (" \t fatStages : 0x%08x\n " ,node.fatStages );
318325 printf (" \t inodeNum : 0x%08x\n " ,node.inodeNum );
319326 printf (" \t fileMode : o0%o\n " ,node.fileMode );
327+ printf (" \t uid : %d\n " ,node.uid );
328+ printf (" \t gid : %d\n " ,node.gid );
329+ printf (" \t unk1 : %d\n " ,node.unk1 );
330+ printf (" \t unk2 : %d\n " ,node.unk2 );
331+ printf (" \t unk3 : %d\n " ,node.unk3 );
320332 printf (" \t filesize : 0x%016llx (%lld)\n " ,node.filesize ,node.filesize );
333+ printf (" \t unk4 : %d\n " ,node.unk4 );
334+ printf (" \t unk5 : %d\n " ,node.unk5 );
335+ printf (" \t unk6 : %lld\n " ,node.unk6 );
321336 printf (" \t createDate : %10lld (%s)\n " ,node.createDate ,strForDate (node.createDate ).c_str ());
322- printf (" \t accessOrModDate : %10lld (%s)\n " ,node.accessOrModDate ,strForDate (node.accessOrModDate ).c_str ());
323- printf (" \t modOrAccessDate : %10lld (%s)\n " ,node.modOrAccessDate ,strForDate (node.modOrAccessDate ).c_str ());
337+ printf (" \t modDate : %10lld (%s)\n " ,node.modDate ,strForDate (node.modDate ).c_str ());
338+ printf (" \t accessDate : %10lld (%s)\n " ,node.accessDate ,strForDate (node.accessDate ).c_str ());
324339 for (int i=0 ; i<ARRAYOF (node.resourceLnk ); i++) {
325340 if (node.resourceLnk [i].type != ORBIS_FS_CHAINLINK_TYPE_LINK) break ;
326341 printf (" \t resourceLnk[%2d] : type: 0x%02x blk: %d\n " ,i,node.resourceLnk [i].type ,node.resourceLnk [i].blk );
0 commit comments