Gentoo Archives: gentoo-dev

From: Mike Frysinger <vapier@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] busybox[sep-usr] support for mounting /usr w/out hassle
Date: Mon, 30 Apr 2012 16:04:42
Message-Id: 201204301203.49063.vapier@gentoo.org
In Reply to: Re: [gentoo-dev] busybox[sep-usr] support for mounting /usr w/out hassle by Maxim Kammerer
1 On Monday 30 April 2012 06:35:20 Maxim Kammerer wrote:
2 > On Mon, Apr 30, 2012 at 05:00, Mike Frysinger wrote:
3 > > this is all in busybox-1.20.0 which is now in the tree. if people want
4 > > to try it out before i unmask it, that'd be great.
5 >
6 > If you insist on calling other applets from C instead of using OS
7 > functions
8
9 i don't know what you mean by "OS functions", but the whole point is that this
10 code *cannot* execute *any* external program by default. in a /usr-merged and
11 /usr-sep world, there will literally be no other programs in / to execute.
12
13 > there is still no need to mount /proc and parse
14 > /proc/mounts in order to find out whether a directory is a mount
15 > point, since Busybox has a "mountpoint" applet (and of course, one
16 > could stat the directory and its parent, and compare device IDs, but
17 > again...).
18
19 thanks, i'll take a look
20 -mike

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies