Commit Graph

45 Commits

Author SHA1 Message Date
fvdl 53d30b7a60 Handle MBRs for x86_64. 2002-12-11 14:28:46 +00:00
manu 3966af389b Enable USE_MBR for all arm ports. 2002-07-28 15:17:38 +00:00
itojun a532d33818 USE_MBR on macppc too 2002-06-18 00:21:53 +00:00
bjh21 f8840ef0ab Rename arm26 -> acorn26. 2002-03-24 22:25:27 +00:00
bjh21 822cc4efe2 Rather than making FileCore boot block support conditional on __arm32__, make
it conditional on USE_ACORN, and define that if MACHINE is arm26 or acorn32.
This is less than optimal, and maybe we should define it for all ARM systems,
but then disklabel handling across architectures is generally a mess at the
moment.
2001-11-29 23:08:53 +00:00
minoura d7835b08b0 Preserve the boot area on x68k. 2001-11-19 13:55:06 +00:00
lukem 1c5cb88e30 move showinfo() and showpartition() into separate file, for use by
other programs.  slightly change argument signature so that globals
aren't depended upon.
2000-12-24 07:08:02 +00:00
soren abf17c0cc1 MBR on cobalt too. 2000-05-02 19:00:41 +00:00
nonaka e4f0173fa3 also use mbr partition table on prep. 2000-05-02 18:21:41 +00:00
soda 3c7d51f177 - use MBR partition table also on arc.
- use defined(USE_MBR) instead of defined(__i386__), like hpcmips and arc.
2000-01-31 16:01:06 +00:00
shin 8ceded3101 Add '-DSAVEBOOTAREA' to keep MBR partition information
when NetBSD partition starts at sector 0.
Closes PR:port-hpcmips/9146.
2000-01-09 02:45:43 +00:00
shin 39a8a0436e add hpcmips support (MBR) 1999-10-11 05:28:04 +00:00
cgd 50f0c49606 On NetBSD/alpha, go out of the way to read the boot area's contents if -r
is specified, so that the boot blocks aren't clobbered when writing labels.
1999-06-03 01:58:51 +00:00
kleink de8c37eadc Update a pasto-ed comment. 1999-04-09 16:00:17 +00:00
pk 832bb22922 Enable non-cylinder-aligned partition warning on sparc[64] & sun3.
See also PR#6853.
1999-01-21 11:58:00 +00:00
drochner 699af7acdd Handle new MBR partition ID on i386. Put all code which decides about
usability of an entry to one place, use same algorithm as kernel (ie,
check signature).
1998-03-02 16:26:47 +00:00
mark 1d23b0901e Define NUMBOOT=1 for the arm32 port. 1997-10-18 07:28:47 +00:00
christos e230a48b57 CFLAGS->CPPFLAGS 1997-10-10 19:47:50 +00:00
lukem 216ef04613 switch to using opendisk(3) from libutil 1997-09-25 05:08:28 +00:00
lukem 2ddc10a0ab define WARNS?=1 for all of sbin/* 1997-09-15 12:45:47 +00:00
christos 5ec7cc78a5 Fix warnings. 1997-06-30 22:51:27 +00:00
perry bdb6d3716b i386 now uses "installboot" for installing boot blocks. Comment out
the CFLAGS+= -DNUMBOOT=2 for now.
1997-06-07 00:47:27 +00:00
christos f3703d3a82 Remove -g 1997-03-18 21:27:16 +00:00
christos 5a6005a07e Off by one. 1997-03-18 21:26:43 +00:00
perry e27abe4739 Nuke obsolete special case .if for amigas. 1997-03-14 22:49:51 +00:00
christos 649ae0edb1 Jason says: Use getmaxpartitions(3) to determine the number of partitions
allowed in this architecture.
1997-03-09 00:14:17 +00:00
christos 72fbacb380 Add -i (interactive mode to create/edit labels) inspired by the SunOS/Solaris
format/partition command.
1997-03-08 23:46:08 +00:00
cgd 2bccd7cac4 don't define NUMBOOT on the alpha, any more. boot block installation
is now done by /usr/mdec/installboot.
1995-10-17 16:34:04 +00:00
ragge c39f186d60 Changed to use only one bootblock file on VAX. 1995-04-23 19:27:59 +00:00
ragge f66d5868d5 Added vax for 2-file boot blocks. 1995-04-18 22:37:46 +00:00
cgd 0114e805ce convert to new RCS Id conventions; reduce my headache 1995-03-18 14:54:19 +00:00
cgd 532a938c1d NUMBOOT == 2 on the alpha, too. 1995-02-11 02:42:21 +00:00
cgd 1e71c95ea1 kill unnecessary .include. 1994-12-22 11:14:51 +00:00
cgd ae9172d6cd specify man pages the new way. 1994-12-22 09:57:51 +00:00
cgd 8e0e3522e1 pull in bsd.own.mk by hand, early, so NOMAN= can be defined there. 1994-12-20 15:12:31 +00:00
mycroft 7322d6fb41 Finish 4.4-Lite merge, and convert to use err(3)/warn(3) functions. 1994-09-22 22:03:52 +00:00
hpeyerl 965c81a824 disklabel(8) from 4.4 merged with our old disklabel(8) by John Brezak
(brezak@apollo.hp.com).  hp300's can now disklabel by themselves.
1994-06-24 13:48:17 +00:00
chopps c46eb1bc76 added -D${MACHINE} for amiga's becuase of differing sizeof (struct disklabel) 1994-02-12 17:49:32 +00:00
mycroft cda4f8f6ee Add RCS identifiers. 1993-08-01 05:37:30 +00:00
mycroft f6e43c3958 Use ${COPY}, not -c for install. 1993-07-18 19:17:22 +00:00
mycroft ad0e69d5b0 Don't build man page if NOMAN set. 1993-04-25 06:58:16 +00:00
cgd 2357a0fbaa make user the cat5 dir exists before trying to install man page there. 1993-04-10 20:17:42 +00:00
cgd 06be60083d changed "Id" to "Header" for rcsids 1993-03-23 00:22:59 +00:00
cgd 346aa5dd48 added rcs ids to all files 1993-03-22 08:04:00 +00:00
cgd 61f282557f initial import of 386bsd-0.1 sources 1993-03-21 09:45:37 +00:00