lkml.org 
[lkml]   [1997]   [Jul]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: kernel-managed /dev, revisited
Date
From
Miguel de Icaza <miguel@luthien.nuclecu.unam.mx> said:
> Actually, I like Ted's idea better: Have the kernel scan the disk
> labels at boot time for every partition detected and grab a list of
> the disk labels on those partitions (you will need to label your file
> systems of course).

> And then, instead of using devices for mouting your file systems, you
> just mount them by name:

> mount usr /usr
> mount MyToys /opt

What if you've got filesystems that don't take labels? Or just a small set
of "standard" ones? What if you've got _two_ usr filesystems (my case: a
RedHat "working" system, and a "test-drive" Debian one)? What if some of
the partitions aren't filesystems but just raw devices (like a floppy you
simply tar over), or before mkfs-ing it? Or filesystems/devices that need
to load a module to access?

I do like the idea, but at the kernel level I'd prefer to KISS and just use
low-level descriptors for simplicity.
--
Dr. Horst H. von Brand mailto:vonbrand@inf.utfsm.cl
Departamento de Informatica Fono: +56 32 654431
Universidad Tecnica Federico Santa Maria +56 32 654239
Casilla 110-V, Valparaiso, Chile Fax: +56 32 797513

\
 
 \ /
  Last update: 2005-03-22 13:39    [from the cache]
©2003-2011 Jasper Spaans