'od' cant dump directory contants

Kevin O'Gorman kogorman at gmail.com
Wed Jul 21 17:54:47 UTC 2010


On Wed, Jul 21, 2010 at 4:48 PM, Ariful Hossain <freefall1986 at gmail.com>wrote:

> On Wed, 2010-07-21 at 05:39 -0700, Kevin O'Gorman wrote:
> > On Wed, Jul 21, 2010 at 1:47 AM, Ariful Hossain
> > <freefall1986 at gmail.com> wrote:
> >         od -cb .
>


> [snip]
>


> > Besides all that, some filesystems don't lend themselves to od-style
> > dumping:
> > in particular, those with B-tree implementations (reiser?, ext4?).
> >
> >
> > What is the filesystem whose directory you wish to dump?
>
> ext4 and i think thats the end of it. Its sad ......:(
>

There's at least one more thing to try.  On old-style directories at least,
one could open them for reading (but not writing).  See if this is still
true on your system, and write a little program that makes a copy.  Utility
od(1) should be able to deal with a copy if you can make one.

Good luck.

-- 
Kevin O'Gorman, PhD
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20100721/e8ee8520/attachment.html>


More information about the ubuntu-users mailing list