lkml.org 
[lkml]   [1998]   [Aug]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: devfs
Hi,

On Sat, 08 Aug 1998 14:08:24 -0400, Jeff Garzik <jgarzik@pobox.com>
said:

>> You'll have to be the only person that can pull this trick though.
>> If anyone else wants to do this, how is the kernel supposed to know whose
>> /home to mount? If the kernel doesn't know in advance where the /home is
>> located, it will have to search for it and it might find someone elses'
>> on another Jaz drive somewhere.

> Yeah, the only real problem inherent in UUIDs is that they inherently
> required a discovery phase, which probably involves searching (a) ALL
> your drives and partitions, (b) looking at a device list ("only search
> *these* devices"), or (c) adding another level of indirection by
> requiring a device->UUID map.

We already do the disk scanning when we perform partition discovery on a
new block device. We already have to maintain lists of partitions per
device. Keeping the uuid/label information is an insignificant extra
cost, and there's no indirection: the information can be exported via
/proc to whoever wants to use it, but we don't need to force programs to
use it if they don't want to.

> Going from the abstract (UUID) to the concrete (/dev/...) will be the
> bear.

Given that we've already got code to do it, this turns out not to be the
case. :)

--Stephen

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.altern.org/andrebalsa/doc/lkml-faq.html

\
 
 \ /
  Last update: 2005-03-22 13:44    [W:0.043 / U:2.780 seconds]
©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site