cvs commit: src/sbin/bsdlabel bsdlabel.c

Poul-Henning Kamp phk at FreeBSD.org
Fri May 2 12:58:09 PDT 2003


phk         2003/05/02 12:58:08 PDT

  FreeBSD src repository

  Modified files:
    sbin/bsdlabel        bsdlabel.c 
  Log:
  Add three global variables which contain the location, size and a flag
  for the alpha checksum, and set them depending on the specified architecture
  
  Don't look for disklabels every 16 bytes, look the only place they should
  be for the current architecture.
  
  Always read the label from the raw disk and decode it into struct
  disklabel rather than trust a cast from random addresses.
  
  When writing to the raw disk, encode the label properly.
  
  Revision  Changes    Path
  1.83      +20 -37    src/sbin/bsdlabel/bsdlabel.c


More information about the cvs-src mailing list