bug-gnu-utils
[Top][All Lists]
Advanced

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

Re: vdir needed? dd if=/directory


From: Paul Jarc
Subject: Re: vdir needed? dd if=/directory
Date: Wed, 21 Nov 2001 17:12:41 -0500
User-agent: Gnus/5.090004 (Oort Gnus v0.04) Emacs/20.7 (i386-redhat-linux-gnu)

Dan Jacobson <address@hidden> wrote:
> Anyway, what I'm looking for is something that can dump out content of
> directories:
> 0tmp$ ls -ld /tmp
> drwxrwxrwt   12 root     root         9216 Nov 20 21:58 /tmp/
...
> I want to see what lies in those 9216 bytes, please, using a
> /bin/sometool , not having to write a C program to do it.

On some OSes, cat works.  On others, it's impossible.  If read(2) can
set errno to EISDIR, on your system, it's impossible.


paul



reply via email to

[Prev in Thread] Current Thread [Next in Thread]