cvs commit: src/sys/geom/label g_label_ufs.c

Pawel Jakub Dawidek pjd at FreeBSD.org
Sat Mar 4 11:41:55 PST 2006


pjd         2006-03-04 19:41:54 UTC

  FreeBSD src repository

  Modified files:
    sys/geom/label       g_label_ufs.c 
  Log:
  We need to check if file system size is equal to provider's size, because
  sysinstall(8) still bogusly puts first partition at offset 0 instead of 16,
  so glabel/ufs will find file system on slice instead of partition.
  
  Before sysinstall is fixed, we must keep this code, which means that we
  wont't be able to detect UFS file systems created with 'newfs -s ...'.
  
  PS. bsdlabel(8) creates partitions properly.
  
  MFC after:      3 days
  
  Revision  Changes    Path
  1.10      +7 -2      src/sys/geom/label/g_label_ufs.c


More information about the cvs-src mailing list