Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 29 Jul 2018 23:42:36 -0600
From:      Warner Losh <imp@bsdimp.com>
To:        Eugene Grosbein <eugen@grosbein.net>
Cc:        David Cross <dcrosstech@gmail.com>,  "Rodney W. Grimes" <freebsd-rwg@pdx.rh.cn85.dnsmgr.net>,  FreeBSD Hackers <freebsd-hackers@freebsd.org>
Subject:   Re: Request for comments, new geom part type alias: freebsd-geom
Message-ID:  <CANCZdfoYUq4iSASpQmF34_0f66iWCbD=w6UNqFnQVgA8eWJHtg@mail.gmail.com>
In-Reply-To: <5B5EA213.9090006@grosbein.net>
References:  <201807292102.w6TL2Cq4062739@pdx.rh.CN85.dnsmgr.net> <144DA23D-26CF-4293-AE97-54CC8D6B52E3@gmail.com> <5B5EA213.9090006@grosbein.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Jul 29, 2018, 11:31 PM Eugene Grosbein <eugen@grosbein.net> wrote:

> 30.07.2018 7:52, David Cross wrote:
>
> > Just a named GPT UUID type, like freebsd-swap, freebsd-ufs
> >
> > As for ambiguous data: consider you have a RAID 10 of a UFS filesystem.
> > If you put that into freebsd-ufs freebsd-boot will see that and
> potentially attempt to boot it.
>
> One should just be allowed to mark such a partition "unbootable" so no
> loader even tries to boot it.
> And use any kind of label you like including freebsd-ufs.
>

How does one do that?

We should not "workaround" deficiencies of our loaders (if any) but fix it
> instead of invention of new partition types just for that strange reason.
>

Normally this is a non issue.

> If you have a raw raid gstripe, what shows up to the BIOS as to what this
> drives is depends
> > entirely  on the _contents_ of the drive at a specific position,
> information that could be controlled by a user.
>
> Why is it important how BIOS shows gstripe'd partitions if they are marked
> not bootable?
>
> There were times when BIOSes unconditionally booted from floppy disk drive
> if it had readable floppy disk
> at boot time, so boot area of such floppy disks had special code saying
> "Non-system disk, replace and strike a key"
> if a floppy was not supposed to be bootable. Boot area of our non-bootable
> partitions might have something similar.
>

No. They don't. There is no standard way to mark something unbootable...

Warner

_______________________________________________
> freebsd-hackers@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-hackers
> To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org"
>



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