dd booboo

Charles Curley charlescurley at charlescurley.com
Sat Feb 17 15:35:55 MST 2007


On Sat, Feb 17, 2007 at 03:32:59PM -0700, Charles Curley wrote:
> On Sat, Feb 17, 2007 at 02:47:46PM -0700, Daniel wrote:
> > I did "dd if=/dev/zero of=/dev/sdb1" to an external 4+GB drive, then
> > unplugged it.  I plugged it back in and now I can't see it. Did I make
> > that drive a paper weight?
> 
> Probably not.
> 
> What do you mean, you can't see it?
> 
> That command stomps on the partition table, so you won't see any
> partitions show up on your desktop. But there should be a device file,
> /dev/sdX (where X is assigned by udev or the kernel), for the whole
> drive.

Sorry, I should learn how to read. That command stomps on the boot
record for the first partition on the drive, rendering it
unmountable. You will need to put a new file system on it.

-- 

Charles Curley                  /"\    ASCII Ribbon Campaign
Looking for fine software       \ /    Respect for open standards
and/or writing?                  X     No HTML/RTF in email
http://www.charlescurley.com    / \    No M$ Word docs in email

Key fingerprint = CE5C 6645 A45A 64E4 94C0  809C FFF6 4C48 4ECD DFDB
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://plug.org/pipermail/plug/attachments/20070217/96830638/attachment.bin 


More information about the PLUG mailing list