Re: [SLUG] sparse file

From: Eben King (eben01@verizon.net)
Date: Mon Mar 31 2008 - 14:34:35 EST


On Mon, 31 Mar 2008, Dylan William Hardison wrote:

> Spake Eben King on Monday, March 31, 2008 at 11:44AM -0400:
>> On Mon, 31 Mar 2008, Dylan William Hardison wrote:
>>
>>> Spake Eben King on Monday, March 31, 2008 at 02:05AM -0400:
>>>> How would I create a sparse (no allocated storage) file? Reason: I've
>>>
>>> dd count=0 bs=1M seek=20 of=pants
>>
>> Thanks. I modified it a bit:
>>
>> eben@pc:~$ dd count=0 bs=1M seek=100 if=/dev/zero of=testfile
>>
>> Dunno what it does with the infile, but if it's not there, dd hangs.
>
> Interesting, that isn't needed here.
> What does dd --version report?
> % dd --version
> dd (coreutils) 5.97

eben@pc:~$ dd --version
dd (coreutils) 5.96
I guess that's the 0.01 .

-- 
-eben      QebWenE01R@vTerYizUonI.nOetP      http://royalty.mine.nu:81
"It can be shown that for any nutty theory, beyond-the-fringe political
  view or strange religion there exists a proponent on the Net. The proof
  is left as an exercise for your kill-file." -- Bertil Jonell
-----------------------------------------------------------------------
This list is provided as an unmoderated internet service by Networked
Knowledge Systems (NKS).  Views and opinions expressed in messages
posted are those of the author and do not necessarily reflect the
official policy or position of NKS or any of its employees.



This archive was generated by hypermail 2.1.3 : Fri Aug 01 2014 - 15:33:14 EDT