Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 20 Nov 2003 06:27:31 +1100 (EST)
From:      Bruce Evans <bde@zeta.org.au>
To:        Marcel Moolenaar <marcel@xcllnt.net>
Cc:        freebsd-current@freebsd.org
Subject:   Re: Unfortunate dynamic linking for everything
Message-ID:  <20031120061110.P8759@gamplex.bde.org>
In-Reply-To: <20031119172533.GB9066@dhcp01.pn.xcllnt.net>
References:  <200311182307.hAIN7Wpm000717@dyson.jdyson.com> <20031119141059.GA14308@madman.celabo.org> <20031119142535.GA27610@electra.cse.Buffalo.EDU> <20031119172533.GB9066@dhcp01.pn.xcllnt.net>

index | next in thread | previous in thread | raw e-mail

On Wed, 19 Nov 2003, Marcel Moolenaar wrote:

> set init_path=/rescue/init

If dynamic root were ready to be turned on, then /rescue/init would be
in the default init_path.

> A dynamicly linked /sbin/init just
> makes it harder to get to the rescue bits, so it makes sense to
> link init(8) staticly. Especially since there's no advantage to
> dynamic linking init(8) that compensates for the inconvience.

It obviously uses NSS.  How else could it be so bloated? :

$ ls -l /sbin/init
-r-x------  1 root  wheel  453348 Nov 18 10:30 /sbin/init

(My version is linked statically of course.)

The NSS parts of init might not be needed in normal operation, but its
hard to tell.

Bruce


home | help

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