Date: Wed, 3 Dec 1997 20:07:50 -0800 (PST) From: Julian Elischer <julian@whistle.com> To: hackers@FreeBSD.ORG Subject: Re: a quick slice/devfs patch Message-ID: <Pine.BSF.3.95.971203200659.13852A-100000@current1.whistle.com> In-Reply-To: <Pine.BSF.3.95.971203033944.13142B-100000@current1.whistle.com>
next in thread | previous in thread | raw e-mail | index | archive | help
yeah I meant dp_typ not dp_type..
(why did they DO that?)
anyhow, did it work?
On Wed, 3 Dec 1997, Julian Elischer wrote:
>
> This patch will be needed to handle newer "dangerously dedicated"
> systems. Some of you have noticed that that didn't work right.
>
> The patch MIGHT not apply cleanly on what is out there
> but hey it's a 4 liner.. I'm sur eyou get the drift :)
>
> *** mbr.c.old Wed Dec 3 03:31:02 1997
> --- mbr.c Wed Dec 3 03:28:50 1997
> ***************
> *** 176,181 ****
> --- 176,185 ----
> printf ("rejected.. bad flag\n");
> return(EINVAL); /* must be either 0 or 0x80 */
> }
> + if ((dp->dp_type) && (dp->dp_size) && (dp->dp_start == 0)) {
> + printf("rejected.. Slice includes MBR\n");
> + return (EINVAL);
> + }
> if (dp->dp_flag == 0x80)
> numactive++;
> }
>
>
> ......
>
>
>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.95.971203200659.13852A-100000>
