Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 2 May 2003 12:58:08 -0700 (PDT)
From:      Poul-Henning Kamp <phk@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sbin/bsdlabel bsdlabel.c
Message-ID:  <200305021958.h42Jw87Q040034@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200305021958.h42Jw87Q040034>