From: Dan Williams <dan.j.williams@intel.com>
To: Christoph Hellwig <hch@infradead.org>
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: Mon, 28 Jan 2008 11:43:59 -0700 [thread overview]
Message-ID: <1201545839.25736.10.camel@dwillia2-linux.ch.intel.com> (raw)
In-Reply-To: <20080126202246.GB28444@infradead.org>
On Sat, 2008-01-26 at 13:22 -0700, Christoph Hellwig wrote:
> 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?
What was the objection?
My search only came up with a discussion about possibly making this a
generic capability for all devices:
http://marc.info/?t=118646704500006&r=1&w=2
Regards,
Dan
prev parent reply other threads:[~2008-01-28 18:45 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
2008-01-28 18:43 ` Dan Williams [this message]
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=1201545839.25736.10.camel@dwillia2-linux.ch.intel.com \
--to=dan.j.williams@intel.com \
--cc=akpm@linux-foundation.org \
--cc=hch@infradead.org \
--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
Powered by JetHome