util-linux.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Karel Zak <kzak@redhat.com>
To: Dave Reisner <d@falconindy.com>
Cc: util-linux@vger.kernel.org, Dave Reisner <dreisner@archlinux.org>
Subject: Re: [PATCH 2/2] mountpoint: support symbolic and relative paths
Date: Tue, 11 Oct 2011 11:34:53 +0200	[thread overview]
Message-ID: <20111011093453.GK11730@nb.net.home> (raw)
In-Reply-To: <1318288456-22940-2-git-send-email-dreisner@archlinux.org>

On Mon, Oct 10, 2011 at 07:14:16PM -0400, Dave Reisner wrote:
> Use our own canonicalize library to resolve a provided path before
> checking if its a mountpoint.

 Good idea. Thanks.

 I have applied a more robust solution based on libmount.

    Karel


==27191== Command:
/home/projects/util-linux/util-linux/sys-utils/.libs/mountpoint home
==27191== 
home is a mountpoint
==27191== 
==27191== HEAP SUMMARY:
==27191==     in use at exit: 0 bytes in 0 blocks
==27191==   total heap usage: 535 allocs, 535 frees, 44,094 bytes
allocated
==27191== 
==27191== All heap blocks were freed -- no leaks are possible
==27191== 
==27191== For counts of detected and suppressed errors, rerun with: -v
==27191== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 6 from 6)

-- 
 Karel Zak  <kzak@redhat.com>
 http://karelzak.blogspot.com

  reply	other threads:[~2011-10-11  9:34 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-10-10 23:14 [PATCH 1/2] mountpoint: refactor exit path Dave Reisner
2011-10-10 23:14 ` [PATCH 2/2] mountpoint: support symbolic and relative paths Dave Reisner
2011-10-11  9:34   ` Karel Zak [this message]
2011-10-11  7:07 ` [PATCH 1/2] mountpoint: refactor exit path Voelker, Bernhard
2011-10-11  7:44   ` Karel Zak
2011-10-11  7:55     ` Voelker, Bernhard
2011-10-11  8:14       ` Karel Zak
2011-10-11  9:06 ` Karel Zak
2011-10-11  9:31   ` Karel Zak
  -- strict thread matches above, loose matches on Subject: below --
2011-10-09 15:12 Dave Reisner
2011-10-09 15:12 ` [PATCH 2/2] mountpoint: support symbolic and relative paths Dave Reisner

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20111011093453.GK11730@nb.net.home \
    --to=kzak@redhat.com \
    --cc=d@falconindy.com \
    --cc=dreisner@archlinux.org \
    --cc=util-linux@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).