On Mon, Apr 30, 2012 at 05:00, Mike Frysinger <vap...@gentoo.org> wrote: > this is all in busybox-1.20.0 which is now in the tree. if people want to try > it out before i unmask it, that'd be great.
If you insist on calling other applets from C instead of using OS functions, there is still no need to mount /proc and parse /proc/mounts in order to find out whether a directory is a mount point, since Busybox has a "mountpoint" applet (and of course, one could stat the directory and its parent, and compare device IDs, but again...). -- Maxim Kammerer Liberté Linux (discussion / support: http://dee.su/liberte-contribute)