Gentoo Archives: gentoo-dev

From: Maxim Kammerer <mk@×××.su>
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 10:36:36
Message-Id: CAHsXYDAzmq1pbvWsoNTrju6SoVXP2o_9qou=fA_opZmQ20AX0A@mail.gmail.com
In Reply to: [gentoo-dev] busybox[sep-usr] support for mounting /usr w/out hassle by Mike Frysinger
1 On Mon, Apr 30, 2012 at 05:00, Mike Frysinger <vapier@g.o> wrote:
2 > this is all in busybox-1.20.0 which is now in the tree.  if people want to try
3 > it out before i unmask it, that'd be great.
4
5 If you insist on calling other applets from C instead of using OS
6 functions, there is still no need to mount /proc and parse
7 /proc/mounts in order to find out whether a directory is a mount
8 point, since Busybox has a "mountpoint" applet (and of course, one
9 could stat the directory and its parent, and compare device IDs, but
10 again...).
11
12 --
13 Maxim Kammerer
14 Liberté Linux (discussion / support: http://dee.su/liberte-contribute)

Replies