Re: using debugfs.reiser4 options to access R4 on /dev/sdb

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 2015-02-27 at 02:37 +1100, doiggl@xxxxxxxxxxxxxxxxxx wrote:
> > 
> > 
> > So, you decided you don't need all that gig of text. You are right.
> > 
> > You have to grep the dump file for two strings 
> > 
> > "[29:1(SD):0:2a:0]" which names root directory stat data item
> > "[2a:0(NAME):0:0:0]" which is the root directory item itself
> > 
> > Normally, the output there should look like 
> > 
> > NODE (3851068) LEVEL=1 ITEMS=12 SPACE=15 MKFS ID=0x66d6b8ae FLUSH=0x0
> > #0  SD (stat40): [29:1(SD):0:2a:0] OFF=28, LEN=94, flags=0x0
> > exts:           3
> > mask:           0x13
> > plugin:         sdext_lw
> > offset:         2
> > len:            14
> > mode:           drwxr-xr-x
> > nlink:          7
> > size:           7
> > plugin:         sdext_unix
> > offset:         16
> > len:            28
> > uid:            1000
> > gid:            0
> > atime:          Wed Feb 25 21:45:42 2015
> > mtime:          Wed Mar  5 00:25:14 2014
> > ctime:          Wed Mar  5 00:25:14 2014
> > rdev:           350
> > bytes:          350
> > plugin:         sdext_plugin_set
> > offset:         44
> > len:            50
> > Pset count:     12
> >         permission : id = 0
> >         formatting : id = 2 (smart)
> >               hash : id = 1 (r5_hash)
> >          fibration : id = 2 (ext_1_fibre)
> >           statdata : id = 0 (stat40)
> >            diritem : id = 2 (cde40)
> >             crypto : id = 0
> >             digest : id = 0
> >           compress : id = 1 (gzip1)
> >       compressMode : id = 4 (conv)
> >            cluster : id = 0 (64K)
> >             create : id = 4 (ccreg40)
> > 
> >
> ------------------------------------------------------------------------------
> > #1  DIRITEM (cde40): [2a:0(NAME):0:0:0] OFF=122, LEN=352, flags=0x0
> > NR(7)  NAME                                  OFFSET HASH
> > SDKEY             
> >   0 .                                        184
> > 0000000000000000:0000000000000000 0000291:000002a
> >   1 ..                                       208
> > 0000000000000000:0000000000000000 0000291:000002a
> >   2 data                                     232
> > 0000000000000000:0000000000000000 00002a1:001cd53
> >   3 etc                                      256
> > 0000000000000000:0000000000000000 00002a1:0010000
> > 
> >   <cropped>
> > 
> Hello
> Tried to exclude the unwanted lines.  Came up with this grep with
> exclude... :

But can you read English? Can you find root directory entry and its
stat-data?

> # cat  fsck.reiser4-t.txt  | grep -v "CTAIL" | grep -v "LEVEL=" | grep -v
> "(nodeptr40):" | grep -v "====" | grep -v "\-\-\-\-\-" >result.txt
> Attaching the result output file,a lot smaller.
> 
> # ll  result.txt 
> -rw-r--r-- 1 root users 147419 Feb 27 02:32 result.txt
> 
> 
> Does that contain the wanted detail.
> --Glenn


--
To unsubscribe from this list: send the line "unsubscribe reiserfs-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux File System Development]     [Linux BTRFS]     [Linux NFS]     [Linux Filesystems]     [Ext4 Filesystem]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Device Mapper]     [Linux Resources]

  Powered by Linux