lkml.org 
[lkml]   [1998]   [Apr]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: I want my old SCSI order back :-)
Dwight Hubbard writes:
> Chris Arguin wrote:
>
> > On Mon, 13 Apr 1998, Dwight Hubbard wrote:
> >
> > > Michel wrote:
> > >
> > > How about naming the devices by the label on the disk instead of how it's
> > > physically connected. I.E. a disk with a label of "foo" could be accessed as
> > > /dev/disk/foo in addition to the current naming convention of /dev/sdd. Then
> > > if the scsi ID changes or the disk gets hooked to a different controller it
> > > still is acessed as /dev/disk/foo.
> >
> > I believe this has been discussed before, and it seemed to go nowhere,
> > despite it's usefulness.
> >
> > The problem is, do you want the kernel to basically be creating symlinks
> > at bootup? Is that really the place? I'd prefer a user-space utility that
> > created those symlinks, which I could run *after* I boot.
>
> Actually, I would prefer the kernel create the device special files in a directory
> under /proc that is symlinked to /dev/disk.
>
> Doesn't devfs do something like this already??

devfs allows drivers to automatically create device nodes. While it is
possible to do the same thing with clever scripts, people advocating
userland approaches tend to ignore both the complexity (read: hackery)
and performance impact of creating and deleting device nodes in
userspace.

The other point about mounting by volume label is something that can
be supported by devfs, but requires someone to write the label
searching code. So, in a sense we're halfway there with devfs :-)

Regards,

Richard....

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu

\
 
 \ /
  Last update: 2005-03-22 13:42    [W:0.054 / U:0.456 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site