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 17:33:29
Message-Id: 201204301332.43993.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 13:16:52 Maxim Kammerer wrote:
2 > On Mon, Apr 30, 2012 at 19:03, Mike Frysinger wrote:
3 > > i don't know what you mean by "OS functions", but the whole point is that
4 > > this code *cannot* execute *any* external program by default.
5 >
6 > I meant calling mount(2) directly instead of executing Busybox's
7 > "mount" applet, etc.
8
9 this was done on purpose to make maintenance much simpler, and to avoid re-
10 implementing non-trivial things like /etc/fstab parsing
11
12 > First /dev mount attempt in the code is supposed
13 > to use /etc/fstab, but Busybox's mount options are not always
14 > compatible with util-linux mount, so maybe that's not a good idea
15 > anyway.
16
17 i don't think it's a big deal ... busybox generally aims to be compatible with
18 the utils it replaces, so if there's bugs/missing stuff, file a bug to get it
19 added.
20 -mike

Attachments

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

Replies