cvs commit: src/usr.sbin/quot quot.c

Ed Schouten ed at FreeBSD.org
Sun Sep 14 11:50:29 UTC 2008


ed          2008-09-14 11:50:19 UTC

  FreeBSD src repository

  Modified files:
    usr.sbin/quot        quot.c 
  Log:
  SVN rev 183018 on 2008-09-14 11:50:19Z by ed
  
  Make `quot -a' work when we've got slashes in the device name.
  
  A very long time ago we had raw device nodes. quot(8) was supposed to
  use these  when running `quot -a'. For some reason the code got once
  changed to strip the device name until it reaches the last slash. This
  is not reliable, because this means /dev/mirror/foo will be stripped to
  /dev/foo.
  
  This bug also exists on RELENG_7 and RELENG_6, but I think I'll just
  merge them back somewhere after the upcoming releases. There's no rush.
  
  MFC after:      2 months
  
  Revision  Changes    Path
  1.27      +2 -10     src/usr.sbin/quot/quot.c


More information about the cvs-src mailing list