Bug 29119

Summary: menu of fdisk editor in 4.3R does not list 'W'rite
Product: Base System Reporter: wilko <wilko>
Component: binAssignee: Mark Linimon <linimon>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Unspecified   
Hardware: Any   
OS: Any   

Description wilko freebsd_committer freebsd_triage 2001-07-21 10:50:00 UTC
        The FDISK Partition Editor of sysinstall does not display that
	it also supports 'W' for a forced write of the fdisk table.
	But it does.. And this is really practical in some circumstances
	(like installing 2x FreeBSD on the same disk; which needs 
	fooling sysinstall by changing partition types)

How-To-Repeat: 
        boot install CD
Comment 1 dima 2001-07-29 10:29:14 UTC
wilko@freebsd.org writes:
> >Description:
> 
>       The FDISK Partition Editor of sysinstall does not display that
> 	it also supports 'W' for a forced write of the fdisk table.
> 	But it does.. And this is really practical in some circumstances
> 	(like installing 2x FreeBSD on the same disk; which needs 
> 	fooling sysinstall by changing partition types)

It does, but only when it isn't running as init.  Joerg (cc'd) wrote
that part of the code, so maybe he can tell us why that is.
Comment 2 wkb 2001-07-29 10:48:22 UTC
On Sun, Jul 29, 2001 at 02:29:14AM -0700, Dima Dorfman wrote:
> wilko@freebsd.org writes:
> > >Description:
> > 
> >       The FDISK Partition Editor of sysinstall does not display that
> > 	it also supports 'W' for a forced write of the fdisk table.
> > 	But it does.. And this is really practical in some circumstances
> > 	(like installing 2x FreeBSD on the same disk; which needs 
> > 	fooling sysinstall by changing partition types)
> 
> It does, but only when it isn't running as init.  Joerg (cc'd) wrote
> that part of the code, so maybe he can tell us why that is.

OK, my observation was when running from CD.

-- 
|   / o / /  _   	Arnhem, The Netherlands    	email: wilko@FreeBSD.org
|/|/ / / /( (_) Bulte
Comment 3 Joerg Wunsch 2001-08-05 19:34:20 UTC
As Dima Dorfman wrote:

> wilko@freebsd.org writes:
> > >Description:
> > 
> >       The FDISK Partition Editor of sysinstall does not display that
> > 	it also supports 'W' for a forced write of the fdisk table.
> > 	But it does.. And this is really practical in some circumstances
> > 	(like installing 2x FreeBSD on the same disk; which needs 
> > 	fooling sysinstall by changing partition types)
> 
> It does, but only when it isn't running as init.  Joerg (cc'd) wrote
> that part of the code, so maybe he can tell us why that is.

I don't think i wrote that part of the code, i only documented some
other menu items recently.

I think using the `w' item in ``running as init'' mode is discouraged,
thus it is not mentioned.  When you try it, you get a warning later.

I believe Jordan wrote that part, no idea what kind of bad things
could happen that make it a `discouraged' item.  Anyway, the menu
deliberately jumps through some hoops to only document the `w' key in
!running_as_init mode.

-- 
cheers, J"org               .-.-.   --... ...--   -.. .  DL8DTL

http://www.sax.de/~joerg/                        NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)
Comment 4 wkb 2001-08-05 20:35:46 UTC
On Sun, Aug 05, 2001 at 08:34:20PM +0200, Joerg Wunsch wrote:
> As Dima Dorfman wrote:
> 
> > wilko@freebsd.org writes:
> > > >Description:
> > > 
> > >       The FDISK Partition Editor of sysinstall does not display that
> > > 	it also supports 'W' for a forced write of the fdisk table.
> > > 	But it does.. And this is really practical in some circumstances
> > > 	(like installing 2x FreeBSD on the same disk; which needs 
> > > 	fooling sysinstall by changing partition types)
> > 
> > It does, but only when it isn't running as init.  Joerg (cc'd) wrote
> > that part of the code, so maybe he can tell us why that is.
> 
> I don't think i wrote that part of the code, i only documented some
> other menu items recently.
> 
> I think using the `w' item in ``running as init'' mode is discouraged,
> thus it is not mentioned.  When you try it, you get a warning later.
> 
> I believe Jordan wrote that part, no idea what kind of bad things
> could happen that make it a `discouraged' item.  Anyway, the menu
> deliberately jumps through some hoops to only document the `w' key in
> !running_as_init mode.

To be honest I would not care if only the installer allowed multiple FreeBSD
instances each in it's own fdisk partition. 

-- 
|   / o / /  _   	Arnhem, The Netherlands    	email: wilko@FreeBSD.org
|/|/ / / /( (_) Bulte
Comment 5 Mark Linimon freebsd_committer freebsd_triage 2008-01-26 00:35:03 UTC
State Changed
From-To: open->feedback

Wilko, is this PR OBE? 


Comment 6 Mark Linimon freebsd_committer freebsd_triage 2008-01-26 00:35:03 UTC
Responsible Changed
From-To: freebsd-bugs->linimon

track.
Comment 7 Volker Werth freebsd_committer freebsd_triage 2008-05-11 15:58:55 UTC
State Changed
From-To: feedback->closed


believed to be OBE (also my experience) and no submitter 
response for some time. We may re-open this ticket if it's not 
OBE.