NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: kern/46732: setroot(9) is called twice after "MI rootonwedges"changes



The following reply was made to PR kern/46732; it has been noted by GNATS.

From: Izumi Tsutsui <tsutsui%ceres.dti.ne.jp@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: mlelstv%NetBSD.org@localhost, tsutsui%ceres.dti.ne.jp@localhost
Subject: Re: kern/46732: setroot(9) is called twice after "MI 
rootonwedges"changes
Date: Fri, 27 Jul 2012 19:36:47 +0900

 mlelstv@ wrote:
 
 tsutsui%ceres.dti.ne.jp@localhost (Izumi Tsutsui) writes:
 
 > > What I asked is:
 > >  - main()
 > >    - cpu_rootconf()
 > >      - [MD pre setroot() ops]
 > >      - booted_device = md_boot_device
 > >      - booted_partition = md_booted_partition
 > >      - rootconf()
 > >        - rootconf_handle_wedges()
 > >        - setroot(booted_device, booted_partition)
 > >      - [MD post setroot() ops]
 > > 
 > > 
 > > What is not easier with the last one?
 > 
 > The fact that "post setroot ops" is used for a side effect which
 > exists for a single architecture and that has nothing to do with the
 > functionality of rootconf() which is the configuration of the root
 > filesystem.
 
 If you just claim it's unnecessary and won't bother to update
 your patch for a single port, I can update the patch and commit it.
 Is it okay?
 
 ---
 Izumi Tsutsui
 


Home | Main Index | Thread Index | Old Index