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: mlelstv%serpens.de@localhost (Michael van Elst)
To: gnats-bugs%netbsd.org@localhost
Cc: 
Subject: Re: kern/46732: setroot(9) is called twice after "MI 
rootonwedges"changes
Date: Thu, 26 Jul 2012 19:48:54 +0000 (UTC)

 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.
 
 -- 
 -- 
                                 Michael van Elst
 Internet: mlelstv%serpens.de@localhost
                                 "A potential Snark may lurk in every tree."
 


Home | Main Index | Thread Index | Old Index