Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 9 Sep 2000 04:40:00 -0700 (PDT)
From:      Poul-Henning Kamp <phk@FreeBSD.org>
To:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/lib/libc/gen devname.3 devname.c src/sys/kern kern_conf.c
Message-ID:  <200009091140.EAA58169@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
phk         2000/09/09 04:40:00 PDT

  Modified files:
    lib/libc/gen         devname.3 devname.c 
    sys/kern             kern_conf.c 
  Log:
  Add code to devname(3) so it can find the names of devices which
  were not present when dev_mkdb(8) was run.
  
  First the dev_mkdb(8) database is searched, this caters for non-DEVFS
  cases where people have renamed a device.
  
  If that fails we ask the kernel using sysctl kern.devname if the device
  driver has put a name in the dev_t.  This covers DEVFS cloned devices.
  
  If that also fails we format a string which isn't entirely useless.
  
  Revision  Changes    Path
  1.9       +2 -1      src/lib/libc/gen/devname.3
  1.3       +27 -12    src/lib/libc/gen/devname.c
  1.81      +28 -1     src/sys/kern/kern_conf.c



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200009091140.EAA58169>