From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1SOny8-0003KU-Gh for garchives@archives.gentoo.org; Mon, 30 Apr 2012 10:36:36 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 9C4BBE0A69; Mon, 30 Apr 2012 10:36:22 +0000 (UTC) Received: from mail-ob0-f181.google.com (mail-ob0-f181.google.com [209.85.214.181]) by pigeon.gentoo.org (Postfix) with ESMTP id BDE34E096D for ; Mon, 30 Apr 2012 10:35:41 +0000 (UTC) Received: by obbun3 with SMTP id un3so4428019obb.40 for ; Mon, 30 Apr 2012 03:35:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dee.su; s=google; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type:content-transfer-encoding; bh=qWyZwK6nYhpblzAaPfuTATLAo8fbuSP87tnXNm193L0=; b=F7XSMjqSJS7CJ3aoHyh2yI3UtZRpI84xZprAnev8zCo/toxbTOEa3y9oRh/acROFRJ zT/BtxOxzWR4oD8VA25/gXjwviASOzJZEGKGv1k41oVFvhGexAIV8y2iAZfg17cMQNGo 1VsJyssCo41pqw5nFBnwG9wINF9JKe8sqEPyY= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type:content-transfer-encoding:x-gm-message-state; bh=qWyZwK6nYhpblzAaPfuTATLAo8fbuSP87tnXNm193L0=; b=gbYPwpky3f1h94qRN5SjRVPrcgi5Lt5CxUU/ychHtwTZoE9/1ZkUzabC2t675cxZun PH0FWYwIUX2QLk25Bb1BsSyHZUTvwb+ucXshlKH36D3JaVUhRKFl8PL/UuKKt1coaHCg hqIZSs4rcxnB5dcCnEo7+7B6nGs8OFOyFBc7bNXwfRnf0VLcuwpaDhbO03A3k40N5uwf scdAzyzNoR+9BuDYVctq17uKYY7OmjNuuhXGhwwnBZFiUHzXP9vaiUEqMM5w23Eqlu2k fS3O/3L5trSUVbV6NOREIPLIMu+hyX+yU02eWsplGDGnmIF/wGube+eMzHhVwjpPgGUY OPvA== Received: by 10.182.167.104 with SMTP id zn8mr1673526obb.62.1335782141035; Mon, 30 Apr 2012 03:35:41 -0700 (PDT) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org MIME-Version: 1.0 Received: by 10.182.109.101 with HTTP; Mon, 30 Apr 2012 03:35:20 -0700 (PDT) In-Reply-To: <201204292200.26618.vapier@gentoo.org> References: <201204292200.26618.vapier@gentoo.org> From: Maxim Kammerer Date: Mon, 30 Apr 2012 13:35:20 +0300 Message-ID: Subject: Re: [gentoo-dev] busybox[sep-usr] support for mounting /usr w/out hassle To: gentoo-dev@lists.gentoo.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Gm-Message-State: ALoCoQkP7pcJ1kk5Q/9zYAN0rCsbpptZNJXYOuWqkDNB2CIOMYYv9YMz61X5eiLKu1MtOXoHYcdp X-Archives-Salt: 698dff1a-5941-478f-b189-25735a34aa0e X-Archives-Hash: cddf5fb568db94af2dd9df2a349b955c On Mon, Apr 30, 2012 at 05:00, Mike Frysinger wrote: > this is all in busybox-1.20.0 which is now in the tree. =A0if 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...). --=20 Maxim Kammerer Libert=E9 Linux (discussion / support: http://dee.su/liberte-contribute)