From: Christoph Hellwig <hch@infradead.org>
To: Mark Peloquin <peloquin@us.ibm.com>
Cc: torvalds@transmeta.com, linux-kernel@vger.kernel.org,
evms-devel@lists.sourceforge.net
Subject: Re: [Evms-devel] Re: [PATCH] EVMS core 2/4: evms.h
Date: Fri, 4 Oct 2002 15:08:50 +0100 [thread overview]
Message-ID: <20021004150849.A30635@infradead.org> (raw)
In-Reply-To: <OF6E4A0115.7A4BB6D7-ON85256C47.0059EE6F@pok.ibm.com>; from peloquin@us.ibm.com on Thu, Oct 03, 2002 at 12:42:23PM -0500
On Thu, Oct 03, 2002 at 12:42:23PM -0500, Mark Peloquin wrote:
> >> +#define TRUE 1
>
> > Please just use 0/1 directly just like everyone else..
>
> More than happy to comply, however grep'ing the tree its
> plain to see that not "everyone else" is following this
> suggestion.
Sure there are other offenders in the drivers, from known offenders like
Richard or IBM, but no core code. There is a reason why theses defines are
not in kernel.h..
>
> >> +#define DEV_PATH "/dev"
> >> +#define EVMS_DIR_NAME "evms"
> >> +#define EVMS_DEV_NAME "block_device"
> >> +#define EVMS_DEV_NODE_PATH DEV_PATH "/" EVMS_DIR_NAME "/"
> >> +#define EVMS_DEVICE_NAME DEV_PATH "/" EVMS_DIR_NAME "/"
> EVMS_DEV_NAME
>
> > The kernel doesn't know about device names at all.
>
> I realize this is a goal, and I'm not opposed to it. However,
> I know devfs is not popular, but people are using it, and it
> *is* still available in 2.5. For the cases where ppl are
> using it, the EVMS kernel component needs this info to tell
> devfs the name of the devnode to create. I don't want to get
> into a devfs flamewar, EVMS is simply offering interoperability
> with what ppl n do today. Should that change, EVMS is more
> than happy to adapt to the latest technology.
You can"t know where devfs is mounted. So of the above only EVMS_DIR_NAME
and EVMS_DEV_NAME make sense.
next prev parent reply other threads:[~2002-10-04 14:03 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-10-03 17:42 [Evms-devel] Re: [PATCH] EVMS core 2/4: evms.h Mark Peloquin
2002-10-04 12:28 ` Robert Varga
2002-10-04 14:08 ` Christoph Hellwig [this message]
2002-10-04 14:36 ` Richard B. Johnson
-- strict thread matches above, loose matches on Subject: below --
2002-10-04 18:45 Steve Pratt
2002-10-07 17:25 ` Christoph Hellwig
2002-10-04 14:59 Mark Peloquin
2002-10-04 13:59 Mark Peloquin
2002-10-03 18:59 Mark Peloquin
2002-10-04 14:14 ` Christoph Hellwig
2002-10-04 14:34 ` Andreas Dilger
2002-10-04 17:10 ` Christoph Hellwig
2002-10-03 12:36 Kevin Corry
2002-10-03 14:50 ` Christoph Hellwig
2002-10-03 15:10 ` [Evms-devel] " Michael Clark
2002-10-03 15:14 ` Christoph Hellwig
2002-10-03 16:22 ` Linus Torvalds
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=20021004150849.A30635@infradead.org \
--to=hch@infradead.org \
--cc=evms-devel@lists.sourceforge.net \
--cc=linux-kernel@vger.kernel.org \
--cc=peloquin@us.ibm.com \
--cc=torvalds@transmeta.com \
/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