Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 3 May 2015 01:08:22 +0200
From:      Polytropon <>
To:        "William A. Mahaffey III" <>
Subject:   Re: How to restore a USB drive converted to bootable
Message-ID:  <>
In-Reply-To: <>
References:  <> <441tiz3wrx.fsf@lowell-desk.lan> <> <> <> <> <>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
On Sat, 02 May 2015 17:59:02 -0453, William A. Mahaffey III wrote:
> I was thinking of dd-ing the 1st MB or 2 off into a file, then restoring 
> from that file when done, that would skip all the extra features you 
> mention ;-). Would 1 or 2 MB be enough to get all of the FS info ?

That depends on the file system. Partition table and boot sector
are within the 1st MB. Inode lists and FATs are typically also
located there, but there might be redundandcy "later on" for
ensuring file system consistency. If you dd the whole drive,
you can restore it 1:1 after any use. But if you just want a
quick (and "sufficiently safe") way to wipe it, zero out the
first MBs. That's usually _more_ than enough.

Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...

Want to link to this message? Use this URL: <>