Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 13 Dec 1998 08:46:49 -0800 (PST)
From:      Matthew Dillon <dillon@apollo.backplane.com>
To:        Bruce Evans <bde@zeta.org.au>
Cc:        freebsd-bugs@FreeBSD.ORG, jin@iss-p5.lbl.gov
Subject:   Re: bin/7614
Message-ID:  <199812131646.IAA06051@apollo.backplane.com>
References:   <199812131101.WAA21601@godzilla.zeta.org.au>

next in thread | previous in thread | raw e-mail | index | archive | help
    ooops.. I *did* mean THEDISK, not THEPARTITION.  Sorry!

						-Matt

:
:This should fail in most cases where you need it to work, since labels
:are write protected.
:
:The easiest way to bypass the write protection is to exploit its brokennes
:for the whole disk, e.g.,
:
:    dd if=THEDISK of=/var/tmp/youdokeepbackupsdontyou seek=whatever count=1
:    dd if=/dev/zero of=THEDISK seek=whatever count=1
:
:where `whatever' is the offset of the label in sectors (= offset of slice
:+ 1 for "i386" disks).
:
:Bruce
:
:

    Matthew Dillon  Engineering, HiWay Technologies, Inc. & BEST Internet 
                    Communications & God knows what else.
    <dillon@backplane.com> (Please include original email in any response)    

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199812131646.IAA06051>