Re: [PATCH] reiserfs: fix handling of device names with /'s in them

From: H. Peter Anvin
Date: Thu Jul 13 2006 - 01:21:33 EST


Followup to: <20060712175542.108e6e37.akpm@xxxxxxxx>
By author: Andrew Morton <akpm@xxxxxxxx>
In newsgroup: linux.dev.kernel
>
> On Wed, 12 Jul 2006 12:42:28 -0400
> Jeff Mahoney <jeffm@xxxxxxxx> wrote:
>
> > On systems with block devices containing slashes (virtual dasd, cciss,
> > etc), reiserfs will fail to initialize /proc/fs/reiserfs/<dev> due to
> > it being interpreted as a subdirectory. The generic block device code
> > changes the / to ! for use in the sysfs tree. This patch uses that
> > convention.
>
> Isn't it a bit dumb of us to be putting slashes in the device names anyway?
> It would be better, if poss, to alter dasd/cciss/etc and stop all these
> s@/@!@everywhere games.

A *lot* of people have been requesting more, not less, hierarchy in
the filenames in /dev, and by now there is plenty of history there,
too. The convention needs to be consistent and stable, though.

-hpa

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/