cvs commit: src/sbin/newfs mkfs.c

Yar Tikhiy yar at FreeBSD.org
Tue Aug 5 06:35:19 PDT 2003


yar         2003/08/05 06:35:18 PDT

  FreeBSD src repository

  Modified files:
    sbin/newfs           mkfs.c 
  Log:
  Exit with a non-zero status upon a block allocation failure.
  The old way of just returning could result in a file system
  extremely likely to panic the kernel.  The warning printed
  wouldn't help much since tools invoking newfs(8), e.g., mdmfs(8),
  couldn't detect the error.
  
  PR:             bin/55078
  MFC after:      1 week
  
  Revision  Changes    Path
  1.78      +3 -3      src/sbin/newfs/mkfs.c


More information about the cvs-src mailing list