CVSROOT:        /cvs
Module name:    src
Changes by:     schwa...@cvs.openbsd.org        2009/05/24 15:58:06

Modified files:
        etc            : daily 

Log message:
Before dd'ing raw partitions around, do stricter sanity checking:
Do not attempt to copy a larger partition onto a smaller one.
Backup of non-ffs root partitions was never supported, so don't even try.
(Both of the above suggested by guenther@).
Also add error messages in case ROOTBACKUP is switched on but severely
misconfigured - those were silently ignored in the past:
/altroot not defined or wrong type or on the same device as root.
otto@ agrees that checking the sizes makes sense

Reply via email to