CVS commit: [netbsd-6] src/sbin/raidctl

2013-09-20 Thread Jeff Rizzo
Module Name:src
Committed By:   riz
Date:   Fri Sep 20 14:13:21 UTC 2013

Modified Files:
src/sbin/raidctl [netbsd-6]: raidctl.8

Log Message:
Pull up following revision(s) (requested by tron in ticket #948):
sbin/raidctl/raidctl.8: revision 1.65
Note that NetBSD/amd64 can boot off RAID volumes.


To generate a diff of this commit:
cvs rdiff -u -r1.63 -r1.63.4.1 src/sbin/raidctl/raidctl.8

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [netbsd-6] src/sbin/raidctl

2015-11-15 Thread Manuel Bouyer
Module Name:src
Committed By:   bouyer
Date:   Sun Nov 15 16:30:38 UTC 2015

Modified Files:
src/sbin/raidctl [netbsd-6]: raidctl.c

Log Message:
Pull up following revision(s) (requested by manu in ticket #1304):
sbin/raidctl/raidctl.c: revision 1.58
Better sanity check numbers given to raidctl(8)
Replace atoi(3) by strtol(3), and check that numbers are valid,
positive, and in int32_t range. The previous lack of check could
silently lead to the same serial being set to all RAID volumes
for instance because given numbers were bigger than INT_MAX. The
consequence is in an awful mess when RAIDframe would mix volumes...


To generate a diff of this commit:
cvs rdiff -u -r1.55 -r1.55.4.1 src/sbin/raidctl/raidctl.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.