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

Re: safety of encrypted filesystems



fre, 17 06 2005 kl. 12:30 +0200, skrev martin f krafft:
> Nope. Someone raised the point of a file with all zeroes being
> possibly sparse, but I don't think that's the case if I wrote it
> with
> 
>   dd if=/dev/zero of=file bs=8M count=1
> 
> right?

Right. Files are only sparse if you seek to somewhere in the file and
start your writing there. The "empty" space reads as \0's, but just
writing \0's won't give you a sparse file.


-- 
Salu2, Søren.

Attachment: smime.p7s
Description: S/MIME cryptographic signature


Reply to: