coreutils
[Top][All Lists]
Advanced

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

Re: dd: what is iflag=directory for?


From: Bernhard Voelker
Subject: Re: dd: what is iflag=directory for?
Date: Sat, 23 Aug 2014 12:30:57 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0

On 08/23/2014 03:00 AM, Pádraig Brady wrote:
> On FreeBSD at least you can also _read_...
> 
>   $ mkdir test
>   $ cd test
>   $ touch a b
> 
>   $ dd if=. status=none | od -Ax -tx1z
>   000000 0c dd 31 00 0c 00 04 01 2e 00 00 00 12 d9 17 00  >..1.............<
>   000010 0c 00 04 02 2e 2e 00 00 0d dd 31 00 0c 00 08 01  >..........1.....<
>   000020 61 00 14 c1 0e dd 31 00 dc 01 08 01 62 00 14 c1  >a.....1.....b...<
>   000030 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  >................<
>   *
>   000200
> 
> Honestly I don't see the usefulness of a low level read() like this,
> and I suppose it's file system dependent too, not working on NFS for example.

I see, thanks for confirming.

Have a nice day,
Berny



reply via email to

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