Bug 155372

Summary: hast doc bug
Product: Documentation Reporter: johnpupu
Component: Books & ArticlesAssignee: Daniel Gerzo <danger>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.diff none

Description johnpupu 2011-03-08 03:50:07 UTC
/usr/local/sbin/carp-hast-switch
when hast change to slave, it unmounts unsuccessfully
becourse the grep result is nothing.

Fix: if ! mount | grep -q "^${disk} on "
change to 
if ! mount | grep -q "^/dev/hast/${disk} on "


Patch attached with submission follows:
How-To-Repeat: ifconfig carp0 down && ifconfig carp0 up
Comment 1 Daniel Gerzo freebsd_committer freebsd_triage 2011-03-08 08:48:07 UTC
Responsible Changed
From-To: freebsd-doc->danger

Take.
Comment 2 dfilter service freebsd_committer freebsd_triage 2011-03-08 08:48:13 UTC
danger      2011-03-08 08:47:59 UTC

  FreeBSD doc repository

  Modified files:
    en_US.ISO8859-1/books/handbook/disks chapter.sgml 
  Log:
  - fix the failover example script in the HAST section
  
  PR:             docs/155372
  Submitted by:   johnpupu@gmail.com
  
  Revision  Changes    Path
  1.305     +1 -1      doc/en_US.ISO8859-1/books/handbook/disks/chapter.sgml
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 3 Daniel Gerzo freebsd_committer freebsd_triage 2011-03-08 08:48:24 UTC
State Changed
From-To: open->closed

Fix committed to the Handbook, it should appear online in next 24 hrs. 
Thank you for submission!