cvs commit: src/tools/tools/nanobsd nanobsd.sh

Simon L. Nielsen simon at FreeBSD.org
Thu Dec 27 04:17:45 PST 2007


simon       2007-12-27 12:17:45 UTC

  FreeBSD src repository

  Modified files:
    tools/tools/nanobsd  nanobsd.sh 
  Log:
  - Fix calculation of data slice size when NANO_DATASIZE=-1.
  
    Due to a typo, setting NANO_DATASIZE=-1 resulted in the data slice
    being the same size as entire image instead of the size of the
    remaining space on the image.
  
  - Fix detection of overcommit of the slices.
  
    This fix mainly result in a nicer error than when newfs etc. tries to
    write beyond the end of the disk image.
  
  MFC after:      2 weeks
  X-MFC after:    RELENG_7 is open again
  
  Revision  Changes    Path
  1.29      +2 -2      src/tools/tools/nanobsd/nanobsd.sh


More information about the cvs-src mailing list