mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Stephen Rothwell <sfr@canb.auug.org.au>
To: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: greg@kroah.com, linux-kernel@vger.kernel.org,
	mochel@digitalimplant.org, axboe@suse.de
Subject: Re: /sys/block vs. /sys/class/block
Date: Wed, 22 Dec 2004 15:34:49 +1100	[thread overview]
Message-ID: <20041222153449.46da0671.sfr@canb.auug.org.au> (raw)
In-Reply-To: <1103612870.21771.22.camel@gaston>

[-- Attachment #1: Type: text/plain, Size: 931 bytes --]

On Tue, 21 Dec 2004 08:07:50 +0100 Benjamin Herrenschmidt <benh@kernel.crashing.org> wrote:
>
> > Because /sys/block happened before /sys/class did.  Al Viro converted
> > the block layer before I got the struct class stuff working properly
> > during 2.5.
> > 
> > And yes, I would like to convert the block layer to use the class stuff,
> > but for right now, I can't as class devices don't allow
> > sub-classes-devices, and getting to that work is _way_ down on my list
> > of things to do.
> 
> but can't we at least artificially move it down to /sys/class anyway for
> the sake of a sane userland API ?

Can I then make the obvious suggestion: add a symlink in /sys/class
linking to /sys/block and then reverse the symink once the above work has
been done and /sys/class/block has been created?

Or is that too gross? :-)
-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

  parent reply	other threads:[~2004-12-22  4:35 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-12-20  7:08 Benjamin Herrenschmidt
2004-12-20  8:16 ` Nick Piggin
2004-12-20  9:29   ` Benjamin Herrenschmidt
2004-12-20  9:44     ` Nick Piggin
2004-12-20  9:45       ` Jens Axboe
2004-12-20 11:37         ` Jan Engelhardt
2004-12-20 14:08           ` Jens Axboe
2004-12-20 22:49 ` Greg KH
2004-12-21  7:07   ` Benjamin Herrenschmidt
2004-12-22  2:34     ` Daniel Stekloff
2004-12-22  4:34     ` Stephen Rothwell [this message]
2004-12-22  6:20       ` Greg KH
2004-12-23  6:39         ` David Weinehall
2004-12-23  6:55           ` Benjamin Herrenschmidt
2005-01-06 23:14             ` Greg KH

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=20041222153449.46da0671.sfr@canb.auug.org.au \
    --to=sfr@canb.auug.org.au \
    --cc=axboe@suse.de \
    --cc=benh@kernel.crashing.org \
    --cc=greg@kroah.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mochel@digitalimplant.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

all inboxes | Powered by JetHome®