Date: Sat, 26 Feb 2000 00:04:41 -0800 (PST) From: eps@sirius.com To: freebsd-gnats-submit@FreeBSD.org Subject: kern/17003: dscheck() overzealously protects labels on non-BSD partitions Message-ID: <200002260804.AAA73118@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 17003 >Category: kern >Synopsis: dscheck() overzealously protects labels on non-BSD partitions >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sat Feb 26 00:10:01 PST 2000 >Closed-Date: >Last-Modified: >Originator: Eric P. Scott >Release: i386/3.4-RELEASE >Organization: >Environment: >Description: On a drive using DOS partitioning, dscheck() prevents overwriting the first 1K of a partition that formerly held a UFS filesystem, even if the partition type is changed to something other than DOSPTYP_386BSD. >How-To-Repeat: dd if=/dev/zero of=/dev/rwd0s2 bs=512 count=1 >Fix: Ignore contents of non-BSD partitions. Don't even call readdisklabel(). Relevant files: diskslice_machdep.c subr_diskslice.c ufs_disksubr.c >Release-Note: >Audit-Trail: >Unformatted: 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?200002260804.AAA73118>