Date: Thu, 13 Jul 2000 16:05:05 -0700 (PDT) From: John Baldwin <jhb@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/usr.sbin/boot0cfg boot0cfg.c Message-ID: <200007132305.QAA96384@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
jhb 2000/07/13 16:05:05 PDT Modified files: usr.sbin/boot0cfg boot0cfg.c Log: - When we save the existing MBR to a file, check to see if the MBR we are saving is boot0. If it is, use its version number so that we can grab all of boot0 (1024 bytes with version 1.1 for example) when we save it to a file via the 'f' option. Otherwise, we just save the first sector. - Cleanup this code a bit by splitting some functionality out into separate functions. Suggested by: Patrick Bihan-Faou <patrick@mindstep.com> (1) Revision Changes Path 1.9 +139 -84 src/usr.sbin/boot0cfg/boot0cfg.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200007132305.QAA96384>