cvs commit: src/sbin/geom/core geom.c

Pawel Jakub Dawidek pjd at FreeBSD.org
Mon Mar 14 04:33:20 PST 2005


pjd         2005-03-14 12:33:20 UTC

  FreeBSD src repository

  Modified files:
    sbin/geom/core       geom.c 
  Log:
  Add '-s' option to 'status' subcommand. It produces script-friendly output:
  
  # gmirror status
         Name    Status  Components
  mirror/root  COMPLETE  ad0s1a
                         ad2s1a
  mirror/data  DEGRADED  da0
                         da1 (76%)
                         da2
  # gmirror status -s
         Name    Status  Components
  mirror/root  COMPLETE  ad0s1a
  mirror/root  COMPLETE  ad2s1a
  mirror/data  DEGRADED  da0
  mirror/data  DEGRADED  da1 (76%)
  mirror/data  DEGRADED  da2
  
  MFC after:      1 week
  
  Revision  Changes    Path
  1.17      +50 -26    src/sbin/geom/core/geom.c


More information about the cvs-src mailing list