Boston Linux & Unix (BLU) Home | Calendar | Mail Lists | List Archives | Desktop SIG | Hardware Hacking SIG
Wiki | Flickr | PicasaWeb | Video | Maps & Directions | Installfests | Keysignings
Linux Cafe | Meeting Notes | Blog | Linux Links | Bling | About BLU

BLU Discuss list archive


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

Native backup/restore partition options



On Sat, 30 Jun 2007, Tom Metro wrote:

> Scott Ehrlich wrote:
>> Tom Metro wrote:
>>> dd if=/dev/zero of=/path/to/partition/zero
>> 
>> I presume I'd do this from the installed, live OS?
>
> A CD bootable OS should work just fine for this, as long as it can mount (and 
> has write access to) the partition where you want to write the zeros.

I question this only because, if done from a CD bootable OS, I would 
think it would overwrite all the data on the mounted partition with all 
zeros, which is not what I want.  And if done from the live running OS, it 
may cause instability of the filesystem when complete by likely writing 
over existing files.

Or am I missing something?

I only want to zero out the unused space to help dd go faster and produce 
smaller files when I image the partition.

Scott

>
> -Tom
>
> -- 
> Tom Metro
> Venture Logic, Newton, MA, USA
> "Enterprise solutions through open source."
> Professional Profile: http://tmetro.venturelogic.com/
>

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.







BLU is a member of BostonUserGroups
BLU is a member of BostonUserGroups
We also thank MIT for the use of their facilities.

Valid HTML 4.01! Valid CSS!



Boston Linux & Unix / webmaster@blu.org