[lkml]   [1997]   [Jul]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: kernel-managed /dev, revisited
    And lo, Alan Cox saith unto me:
    > > 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).
    > How about CD and scanners. Do I put sheets of paper with 1,2,3,4 in my
    > scanners at boot time ?
    Howabout if /etc/fstab stays the same as normal, possibly with "key" fields
    after the usual fields; then add /etc/fsatab for associations between either
    keys or actual device (disk, partition, whatnot) names in /etc/fstab, and
    strings gathered from /proc/scsi/scsi, whatever volume-label-checker program
    may exist, and hdparm -i on all the IDE disks. This will let you know at
    least the model numbers of all SCSI devices, and the model and serial numbers
    of all IDE devices, even without volume labels.

    Then a program called "amount" could associate its arguments, /etc/fsatab,
    and /etc/fstab to figure out how to call mount and do so (and would
    be configurable to print a warning if it had to actually do something
    different than /etc/fstab literally says, to scream at you at boot time
    if it had to fall back or if you had drives plugged in oddly). A similar
    "aswapon" command could easily be written. No muss, no fuss, no kernel

    Keith (or even mount `amount args...`)

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