ONJava.com -- The Independent Source for Enterprise Java
oreilly.comSafari Books Online.Conferences.


AddThis Social Bookmark Button
  Using Software RAID-1 with FreeBSD
Subject:   avoid typos
Date:   2005-12-07 13:53:33
From:   scrib
Great article!

One improvement, to back up and edit fstab in one command:

# sed -i .orig 's/ad0/mirror\/gm0/' /etc/fstab

(This edits fstab in-place after creating a backup as fstab.orig. Confirmed in 6.0-RELEASE, should work in others.)