mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Christoph Hellwig <hch@infradead.org>
To: Dan Williams <dan.j.williams@intel.com>
Cc: akpm@linux-foundation.org, jens.axboe@oracle.com, neilb@suse.de,
	kay.sievers@vrfy.org, linux-kernel@vger.kernel.org,
	viro@ZenIV.linux.org.uk
Subject: Re: [PATCH] block: look up block device path in sysfs
Date: Sat, 26 Jan 2008 20:22:47 +0000	[thread overview]
Message-ID: <20080126202246.GB28444@infradead.org> (raw)
In-Reply-To: <20080126050313.3756.13442.stgit@dwillia2-linux.ch.intel.com>

On Fri, Jan 25, 2008 at 10:04:51PM -0700, Dan Williams wrote:
> Given an fd on a block device, returns a string like
> 
> 	/block/sda/sda1
> 
> which can be used to find related information in /sys.
> 
> Ideally we should have an ioctl that works on char devices as well,
> but that seems far from trivial, so it seems reasonable to have
> this until the latter can be implemented.

What did you do to address Viro's reasonable rejection of this when
it came up last time?


  reply	other threads:[~2008-01-26 20:23 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-01-26  5:04 Dan Williams
2008-01-26 20:22 ` Christoph Hellwig [this message]
2008-01-28 18:43   ` Dan Williams

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=20080126202246.GB28444@infradead.org \
    --to=hch@infradead.org \
    --cc=akpm@linux-foundation.org \
    --cc=dan.j.williams@intel.com \
    --cc=jens.axboe@oracle.com \
    --cc=kay.sievers@vrfy.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=neilb@suse.de \
    --cc=viro@ZenIV.linux.org.uk \
    /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

all inboxes | Powered by JetHome®