Re: Create Big size dummy File..

Tech-Archive recommends: Fix windows errors by optimizing your registry

From: Bob Butler (tiredofit_at_nospam.com)
Date: 06/22/04


Date: Tue, 22 Jun 2004 08:03:06 -0700


"Duane Bozarth" <dp_bozarth@swko.dot.net> wrote in message
news:40D844E3.327682D4@swko.dot.net
> Bob Butler wrote:
>>
>> "J French" <erewhon@nowhere.com> wrote in message
>> news:40d7d371.87498815@news.btclick.com
>> <cut>
>>> The stuff before is whatever garbage was on the disk.
>>
>> The stuff before should all be nulls
>
> Why--what makes you think/say that? If it were to write all nulls (or
> anything, for that matter) it would take the full time to write to
> disk rather than simply creating the links and whatever data (if any)
> in the actual i/o list.

I didn't say it wrote anything... it should be a very sparse file and
attempts to read anything in the unwritten area would not actually read
anything off disk; a block of nulls would be returned. Nothing gets written
until you fill in data and at that point the nulls would be written as
blocks are allocated.

It may be that Win9x or some other version of the OS is not doing it that
way; if so I'm surprised because it's a major security hole if y9ou are
getting data that was written before.

-- 
Reply to the group so all can participate
VB.Net... just say "No"


Relevant Pages

  • Re: XFS: how to NOT null files on fsck?
    ... Turns out my 1.2k fstab file is all "nulls". ... Now I know it takes a while before data may end up on disk and that it ... use larger file AU size (but I haven't seen to many of these IA64 machines ... Sad was the day that it was decided that the linux-kernel "corp" decided ...
    (Linux-Kernel)
  • Re: How to remove nulls from a file
    ... >I receive product order files from a customer and noticed they seemed ... >However, If I write the file back out to disk and re-open it, the ... >(65187 nulls) message is gone! ...
    (comp.unix.shell)
  • Re: Create Big size dummy File..
    ... >> The stuff before is whatever garbage was on the disk. ... Why--what makes you think/say that? ... If it were to write all nulls (or ...
    (microsoft.public.vb.general.discussion)
  • Re: Create Big size dummy File..
    ... NickHK ... disk. ... > - quite a lot of sectors to write ...
    (microsoft.public.vb.general.discussion)
  • Re: JDBC: what exactly does nullsAreSortedHigh() return?
    ... are nulls considered as the highest value? ... > - Oracle returns false. ... Nulls are last when sorted in ascending order. ... matter what is returned by nullsAreSortedHigh. ...
    (comp.lang.java.databases)