summaryrefslogtreecommitdiffstats
path: root/usr.sbin/pw/cpdir.c
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2000-07-13 23:05:05 +0000
committerjhb <jhb@FreeBSD.org>2000-07-13 23:05:05 +0000
commitc882f3a97ea43b30d94f633755ce98459f212762 (patch)
treef27da15307198b505efa48a4d83cf3e313a978f9 /usr.sbin/pw/cpdir.c
parent4fa3dd4b5ec42ad6509fdc8109d67b2b5e951a16 (diff)
downloadFreeBSD-src-c882f3a97ea43b30d94f633755ce98459f212762.zip
FreeBSD-src-c882f3a97ea43b30d94f633755ce98459f212762.tar.gz
- 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)
Diffstat (limited to 'usr.sbin/pw/cpdir.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud