cvs commit: src/share/man/man4 snp.4 src/sys/dev/snp snp.c src/usr.sbin/watch watch.c

Ed Schouten ed at FreeBSD.org
Fri Aug 15 13:15:53 UTC 2008


ed          2008-08-15 13:07:07 UTC

  FreeBSD src repository

  Modified files:
    share/man/man4       snp.4 
    sys/dev/snp          snp.c 
    usr.sbin/watch       watch.c 
  Log:
  SVN rev 181755 on 2008-08-15 13:07:07Z by ed
  
  Convert the snp(4) driver to use cdevpriv.
  
  Now we have a single /dev/snp device node, which can be opened by
  watch(8) multiple times. Even though snp(4) will be dead as of next
  week, it's nice having this in SVN, because:
  
  - We may want to MFC it to RELENG_7.
  - By the time we fix snp(4) again, it's already there, existing watch(8)
    binaries should already work.
  
  Just like bpf(4), I'm adding a symlink from snp0 to snp to remain binary
  compatible.
  
  Revision  Changes    Path
  1.28      +2 -2      src/share/man/man4/snp.4
  1.109     +46 -66    src/sys/dev/snp/snp.c
  1.36      +7 -16     src/usr.sbin/watch/watch.c


More information about the cvs-src mailing list