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

Pawel Jakub Dawidek pjd at
Wed Mar 8 06:20:14 PST 2006

pjd         2006-03-08 14:20:14 UTC

  FreeBSD src repository

  Modified files:        (Branch: RELENG_6)
    sys/geom/label       g_label_ufs.c 
  MFC:    sys/geom/label/g_label_ufs.c    1.10
  We need to check if file system size is equal to provider's size, because
  sysinstall(8) still bogusly puts the first partition at offset 0 instead of 16,
  so glabel/ufs will find file system on a 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.
  Approved by:    re (hrs)
  Revision  Changes    Path   +7 -2      src/sys/geom/label/g_label_ufs.c

More information about the cvs-src mailing list