Date: Tue, 21 Jul 1998 17:58:00 +0200 From: Stefan Eggers <seggers@semyam.dinoco.de> To: freebsd-hackers@FreeBSD.ORG Cc: seggers@semyam.dinoco.de Subject: How to check if slice is bootable? (for PR misc/7190) Message-ID: <199807211558.RAA05691@semyam.dinoco.de>
next in thread | raw e-mail | index | archive | help
Hi! Looking for a way to resolve PR misc/7190 I discovered that our slice code seems to have no provisions to get at the information of which partitions are bootable. Sure, this information doesn't make sense on all systems but on those that have such a flag it would be useful to be able to read it. Now the questions is how to resolve this problem with sysinstall as I don't think we can just say "don't make two FreeBSD slices with sys- install". What I prefer not to do but which is the cleanest way to make it work is fiddling with the slice code or adding another ioctl for this - most likely the latter. I am not keen on doing this. Or shall I just change libdisk to read the MBR directly? It does write it that way already and I don't think it would be that great a loss to do the same with reading. Stefan. -- Stefan Eggers Lu4 yao2 zhi1 ma3 li4, Max-Slevogt-Str. 1 ri4 jiu3 jian4 ren2 xin1. 51109 Koeln Federal Republic of Germany To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199807211558.RAA05691>