Up to [cvs.NetBSD.org] / src / sbin / fdisk
Request diff between arbitrary revisions
Default branch: MAIN
Current tag: MAIN
Revision 1.42 / (download) - annotate - [select for diffs], Sat May 5 16:03:55 2012 UTC (12 months, 2 weeks ago) by tsutsui
Branch: MAIN
CVS Tags: yamt-pagecache-base8,
yamt-pagecache-base7,
yamt-pagecache-base6,
yamt-pagecache-base5,
tls-maxphys-nbase,
tls-maxphys-base,
tls-maxphys,
agc-symver-base,
agc-symver,
HEAD
Changes since 1.41: +8 -1
lines
Diff to previous 1.41 (colored)
Don't use "#if defined(__i386__) || defined(__x86_64__)" conditionals
in C source file to define option features.
Define proper options in each Makefile per ${MACHINE_ARCH} variable instead.
Previously if a host is x86 and it has /usr/mdec/mbr file in its system,
tools fdisk implicitly installs it as mbr bootcode even for !x86 targets.
Revision 1.41 / (download) - annotate - [select for diffs], Fri Nov 27 15:37:32 2009 UTC (3 years, 5 months ago) by tsutsui
Branch: MAIN
CVS Tags: yamt-pagecache-base4,
yamt-pagecache-base3,
yamt-pagecache-base2,
yamt-pagecache-base,
netbsd-6-base,
matt-premerge-20091211,
matt-mips64-premerge-20101231,
cherry-xenmp-base,
cherry-xenmp,
bouyer-quota2-nbase,
bouyer-quota2-base,
bouyer-quota2
Branch point for: yamt-pagecache,
netbsd-6
Changes since 1.40: +1 -3
lines
Diff to previous 1.40 (colored)
Remove fdisk/mbr for macppc which was blindly pulled from OpenBSD. It just fakes MBR partition map which contains 1MB FAT16B partition and ~1GB OpenBSD partition, and we can always create necessary MBR partitions for OpenFirmware by the fdisk(8) command itself.
Revision 1.40 / (download) - annotate - [select for diffs], Mon Jun 1 19:57:33 2009 UTC (3 years, 11 months ago) by christos
Branch: MAIN
Changes since 1.39: +3 -3
lines
Diff to previous 1.39 (colored)
Delete GPT partitions if we overwrite with MBR to avoid confusion with disks that have both MBR and a secondary left over GPT partition signature. From Mike M. Volokhov
Revision 1.39 / (download) - annotate - [select for diffs], Mon Apr 6 12:19:16 2009 UTC (4 years, 1 month ago) by lukem
Branch: MAIN
CVS Tags: jym-xensuspend-nbase,
jym-xensuspend-base
Changes since 1.38: +1 -2
lines
Diff to previous 1.38 (colored)
remove mispelt WARNS. (it will be set in ../Makefile.inc "soon")
Revision 1.38 / (download) - annotate - [select for diffs], Thu Nov 29 23:19:25 2007 UTC (5 years, 5 months ago) by dsl
Branch: MAIN
CVS Tags: yamt-pf42-baseX,
yamt-pf42-base4,
yamt-pf42-base3,
yamt-pf42-base2,
yamt-pf42-base,
yamt-pf42,
wrstuden-revivesa-base-3,
wrstuden-revivesa-base-2,
wrstuden-revivesa-base-1,
wrstuden-revivesa-base,
wrstuden-revivesa,
netbsd-5-base,
netbsd-5-2-RELEASE,
netbsd-5-2-RC1,
netbsd-5-2,
netbsd-5-1-RELEASE,
netbsd-5-1-RC4,
netbsd-5-1-RC3,
netbsd-5-1-RC2,
netbsd-5-1-RC1,
netbsd-5-1-2-RELEASE,
netbsd-5-1-1-RELEASE,
netbsd-5-1,
netbsd-5-0-RELEASE,
netbsd-5-0-RC4,
netbsd-5-0-RC3,
netbsd-5-0-RC2,
netbsd-5-0-RC1,
netbsd-5-0-2-RELEASE,
netbsd-5-0-1-RELEASE,
netbsd-5-0,
netbsd-5,
mjf-devfs2-base,
mjf-devfs2,
mjf-devfs-base,
matt-nb5-pq3-base,
matt-nb5-pq3,
matt-nb5-mips64-u2-k2-k4-k7-k8-k9,
matt-nb5-mips64-u1-k1-k5,
matt-nb5-mips64-premerge-20101231,
matt-nb5-mips64-premerge-20091211,
matt-nb5-mips64-k15,
matt-nb5-mips64,
matt-nb4-mips64-k7-u2a-k9b,
matt-mips64-base2,
matt-armv6-nbase,
matt-armv6-base,
keiichi-mipv6-base,
keiichi-mipv6,
hpcarm-cleanup-nbase,
hpcarm-cleanup-base,
cube-autoconf-base,
cube-autoconf
Branch point for: mjf-devfs,
jym-xensuspend
Changes since 1.37: +1 -7
lines
Diff to previous 1.37 (colored)
Make this compile without -Wno-pointer-sign (Needs updated bootblock.h)
Revision 1.37 / (download) - annotate - [select for diffs], Sat Mar 10 18:22:04 2007 UTC (6 years, 2 months ago) by apb
Branch: MAIN
CVS Tags: matt-mips64-base,
matt-mips64,
matt-armv6-prevmlocking,
hpcarm-cleanup
Branch point for: matt-armv6
Changes since 1.36: +2 -1
lines
Diff to previous 1.36 (colored)
WARNS= 4
Revision 1.36 / (download) - annotate - [select for diffs], Fri May 12 01:18:25 2006 UTC (7 years ago) by mrg
Branch: MAIN
CVS Tags: wrstuden-fixsa-newbase,
wrstuden-fixsa-base-1,
wrstuden-fixsa-base,
wrstuden-fixsa,
netbsd-4-base,
netbsd-4-0-RELEASE,
netbsd-4-0-RC5,
netbsd-4-0-RC4,
netbsd-4-0-RC3,
netbsd-4-0-RC2,
netbsd-4-0-RC1,
netbsd-4-0-1-RELEASE,
netbsd-4-0,
netbsd-4,
abandoned-netbsd-4-base,
abandoned-netbsd-4
Changes since 1.35: +3 -1
lines
Diff to previous 1.35 (colored)
don't do the -Wno-pointer-sign dance for host programs.
Revision 1.35 / (download) - annotate - [select for diffs], Thu May 11 23:16:29 2006 UTC (7 years ago) by mrg
Branch: MAIN
Changes since 1.34: +6 -1
lines
Diff to previous 1.34 (colored)
sprinkle some -fno-strict-aliasing and -Wno-pointer-sign with GCC4.
Revision 1.34 / (download) - annotate - [select for diffs], Thu Jun 23 00:54:47 2005 UTC (7 years, 11 months ago) by fvdl
Branch: MAIN
Changes since 1.33: +4 -7
lines
Diff to previous 1.33 (colored)
If HOSTPROG is empty, do not pull in libutil, since we do not need it in that case, and several host platforms do not have libutil. Fixes the build of these programs as host tools on platforms without libutil.
Revision 1.33 / (download) - annotate - [select for diffs], Sun Jun 12 19:14:10 2005 UTC (7 years, 11 months ago) by dyoung
Branch: MAIN
Changes since 1.32: +5 -1
lines
Diff to previous 1.32 (colored)
Turn fdisk(8) into a host tool. Still todo: commit the host-tool build infrastructure to src/tools/fdisk/.
Revision 1.32 / (download) - annotate - [select for diffs], Sun May 22 03:45:30 2005 UTC (8 years ago) by lukem
Branch: MAIN
Changes since 1.31: +1 -17
lines
Diff to previous 1.31 (colored)
Make fdisk(8) available on all platforms, since MS-DOS partitioning is the de-facto standard for many removable media types.
Revision 1.31 / (download) - annotate - [select for diffs], Thu Jan 20 16:39:23 2005 UTC (8 years, 4 months ago) by xtraeme
Branch: MAIN
CVS Tags: netbsd-3-base,
netbsd-3-1-RELEASE,
netbsd-3-1-RC4,
netbsd-3-1-RC3,
netbsd-3-1-RC2,
netbsd-3-1-RC1,
netbsd-3-1-1-RELEASE,
netbsd-3-1,
netbsd-3-0-RELEASE,
netbsd-3-0-RC6,
netbsd-3-0-RC5,
netbsd-3-0-RC4,
netbsd-3-0-RC3,
netbsd-3-0-RC2,
netbsd-3-0-RC1,
netbsd-3-0-3-RELEASE,
netbsd-3-0-2-RELEASE,
netbsd-3-0-1-RELEASE,
netbsd-3-0,
netbsd-3
Changes since 1.30: +1 -3
lines
Diff to previous 1.30 (colored)
WARNS=2 is the default defined in sbin/Makefile.inc. (thanks wiz)
Revision 1.30 / (download) - annotate - [select for diffs], Thu Jan 20 16:01:02 2005 UTC (8 years, 4 months ago) by xtraeme
Branch: MAIN
Changes since 1.29: +3 -1
lines
Diff to previous 1.29 (colored)
Remove main() prototype; WARNS=2
Revision 1.29 / (download) - annotate - [select for diffs], Wed Oct 13 23:28:35 2004 UTC (8 years, 7 months ago) by gavan
Branch: MAIN
Changes since 1.28: +2 -1
lines
Diff to previous 1.28 (colored)
Initial import of iyonix port. The Iyonix is a desktop machine from Castle Technology, based on a 600MHz XScale[tm] 80321 processor. * Uses the bootloader from NetBSD/acorn32, which is now 32-bit compatible. * Currently boots multiuser with a serial console. * Device support is not yet complete. With help from abs.
Revision 1.28 / (download) - annotate - [select for diffs], Wed Apr 30 19:49:01 2003 UTC (10 years ago) by dsl
Branch: MAIN
CVS Tags: netbsd-2-base,
netbsd-2-1-RELEASE,
netbsd-2-1-RC6,
netbsd-2-1-RC5,
netbsd-2-1-RC4,
netbsd-2-1-RC3,
netbsd-2-1-RC2,
netbsd-2-1-RC1,
netbsd-2-1,
netbsd-2-0-base,
netbsd-2-0-RELEASE,
netbsd-2-0-RC5,
netbsd-2-0-RC4,
netbsd-2-0-RC3,
netbsd-2-0-RC2,
netbsd-2-0-RC1,
netbsd-2-0-3-RELEASE,
netbsd-2-0-2-RELEASE,
netbsd-2-0-1-RELEASE,
netbsd-2-0,
netbsd-2
Changes since 1.27: +1 -4
lines
Diff to previous 1.27 (colored)
Don't descend into mbr_bootsel. i386/and64 mbr code is built in arch i386/stand/mbr
Revision 1.27 / (download) - annotate - [select for diffs], Sat Apr 26 19:10:09 2003 UTC (10 years, 1 month ago) by fvdl
Branch: MAIN
Changes since 1.26: +3 -3
lines
Diff to previous 1.26 (colored)
x86_64 -> amd64
Revision 1.26 / (download) - annotate - [select for diffs], Sat Nov 23 23:45:51 2002 UTC (10 years, 6 months ago) by fvdl
Branch: MAIN
CVS Tags: fvdl_fs64_base
Changes since 1.25: +4 -3
lines
Diff to previous 1.25 (colored)
Compile mbr and mbr_bootsel on x86_64
Revision 1.25 / (download) - annotate - [select for diffs], Fri Jul 26 17:22:51 2002 UTC (10 years, 10 months ago) by manu
Branch: MAIN
Changes since 1.24: +2 -1
lines
Diff to previous 1.24 (colored)
Added fdisk on hpcarm
Revision 1.24 / (download) - annotate - [select for diffs], Mon Jun 17 15:11:46 2002 UTC (10 years, 11 months ago) by itojun
Branch: MAIN
Changes since 1.23: +3 -2
lines
Diff to previous 1.23 (colored)
fdisk is now useful for macppc, build it
Revision 1.23 / (download) - annotate - [select for diffs], Thu May 9 18:16:16 2002 UTC (11 years ago) by uch
Branch: MAIN
CVS Tags: netbsd-1-6-base,
netbsd-1-6-RELEASE,
netbsd-1-6-RC3,
netbsd-1-6-RC2,
netbsd-1-6-RC1,
netbsd-1-6-PATCH002-RELEASE,
netbsd-1-6-PATCH002-RC4,
netbsd-1-6-PATCH002-RC3,
netbsd-1-6-PATCH002-RC2,
netbsd-1-6-PATCH002-RC1,
netbsd-1-6-PATCH002,
netbsd-1-6-PATCH001-RELEASE,
netbsd-1-6-PATCH001-RC3,
netbsd-1-6-PATCH001-RC2,
netbsd-1-6-PATCH001-RC1,
netbsd-1-6-PATCH001,
netbsd-1-6
Changes since 1.22: +2 -1
lines
Diff to previous 1.22 (colored)
add hpcsh
Revision 1.22 / (download) - annotate - [select for diffs], Wed Apr 3 03:17:36 2002 UTC (11 years, 1 month ago) by thorpej
Branch: MAIN
Changes since 1.21: +15 -5
lines
Diff to previous 1.21 (colored)
Build fdisk(8) on netwinder.
Revision 1.21 / (download) - annotate - [select for diffs], Wed Feb 27 22:31:18 2002 UTC (11 years, 2 months ago) by scw
Branch: MAIN
Changes since 1.20: +3 -2
lines
Diff to previous 1.20 (colored)
fdisk(8) is needed on mvmeppc since PPCBUG uses PeeCee-style MBR partition info when booting from disk.
Revision 1.20 / (download) - annotate - [select for diffs], Mon Oct 15 16:22:53 2001 UTC (11 years, 7 months ago) by uch
Branch: MAIN
Changes since 1.19: +2 -2
lines
Diff to previous 1.19 (colored)
playstation2 support
Revision 1.19 / (download) - annotate - [select for diffs], Tue May 2 18:20:41 2000 UTC (13 years ago) by nonaka
Branch: MAIN
CVS Tags: netbsd-1-5-base,
netbsd-1-5-RELEASE,
netbsd-1-5-PATCH003,
netbsd-1-5-PATCH002,
netbsd-1-5-PATCH001,
netbsd-1-5-BETA2,
netbsd-1-5-BETA,
netbsd-1-5-ALPHA2,
netbsd-1-5,
minoura-xpg4dl-base,
minoura-xpg4dl
Changes since 1.18: +3 -2
lines
Diff to previous 1.18 (colored)
also install on prep.
Revision 1.18 / (download) - annotate - [select for diffs], Sun Mar 19 23:01:07 2000 UTC (13 years, 2 months ago) by soren
Branch: MAIN
Changes since 1.17: +2 -2
lines
Diff to previous 1.17 (colored)
Also install on cobalt.
Revision 1.17 / (download) - annotate - [select for diffs], Mon Jan 31 15:54:48 2000 UTC (13 years, 3 months ago) by soda
Branch: MAIN
Changes since 1.16: +6 -2
lines
Diff to previous 1.16 (colored)
Build fdisk also on arc
Revision 1.16 / (download) - annotate - [select for diffs], Sat Sep 25 04:27:55 1999 UTC (13 years, 8 months ago) by enami
Branch: MAIN
CVS Tags: wrstuden-devbsize-base,
wrstuden-devbsize-19991221,
comdex-fall-1999-base,
comdex-fall-1999
Changes since 1.15: +3 -3
lines
Diff to previous 1.15 (colored)
Oops, needs an operator.
Revision 1.15 / (download) - annotate - [select for diffs], Sat Sep 25 04:26:28 1999 UTC (13 years, 8 months ago) by enami
Branch: MAIN
Changes since 1.14: +3 -2
lines
Diff to previous 1.14 (colored)
Build fdisk also on hpcmips.
Revision 1.14 / (download) - annotate - [select for diffs], Sat Sep 25 04:18:20 1999 UTC (13 years, 8 months ago) by enami
Branch: MAIN
Changes since 1.13: +4 -3
lines
Diff to previous 1.13 (colored)
Don't decend into the subdirectory mbr_bootsel except i386, since it currently doesn't contain MI thing and not compile on ofppc box (thanks Wolfgang) and probably on bebox box.
Revision 1.13 / (download) - annotate - [select for diffs], Fri Jul 2 17:48:26 1999 UTC (13 years, 10 months ago) by sakamoto
Branch: MAIN
Branch point for: wrstuden-devbsize
Changes since 1.12: +2 -2
lines
Diff to previous 1.12 (colored)
Build fdisk on bebox and ofppc(replaced powerpc).
Revision 1.12 / (download) - annotate - [select for diffs], Sun May 2 04:42:47 1999 UTC (14 years ago) by ross
Branch: MAIN
Changes since 1.11: +3 -4
lines
Diff to previous 1.11 (colored)
Since fdisk/mbr contains a man page, we need to descend into it regardless
of which ${MACHINE} we are.
Revision 1.11 / (download) - annotate - [select for diffs], Thu Apr 15 22:31:23 1999 UTC (14 years, 1 month ago) by fvdl
Branch: MAIN
Changes since 1.10: +2 -2
lines
Diff to previous 1.10 (colored)
Add and build a bootselecting MBR (i386).
Revision 1.10 / (download) - annotate - [select for diffs], Thu Oct 15 15:23:23 1998 UTC (14 years, 7 months ago) by ws
Branch: MAIN
CVS Tags: netbsd-1-4-base
Branch point for: netbsd-1-4
Changes since 1.9: +5 -1
lines
Diff to previous 1.9 (colored)
Separate master bootcode from fdisk.
Revision 1.9 / (download) - annotate - [select for diffs], Thu Sep 25 05:08:28 1997 UTC (15 years, 8 months ago) by lukem
Branch: MAIN
CVS Tags: netbsd-1-3-base,
netbsd-1-3-RELEASE,
netbsd-1-3-PATCH003-CANDIDATE2,
netbsd-1-3-PATCH003-CANDIDATE1,
netbsd-1-3-PATCH003-CANDIDATE0,
netbsd-1-3-PATCH003,
netbsd-1-3-PATCH002,
netbsd-1-3-PATCH001,
netbsd-1-3-BETA,
netbsd-1-3
Changes since 1.8: +3 -5
lines
Diff to previous 1.8 (colored)
switch to using opendisk(3) from libutil
Revision 1.8 / (download) - annotate - [select for diffs], Mon Sep 15 12:45:51 1997 UTC (15 years, 8 months ago) by lukem
Branch: MAIN
Changes since 1.7: +1 -3
lines
Diff to previous 1.7 (colored)
define WARNS?=1 for all of sbin/*
Revision 1.7 / (download) - annotate - [select for diffs], Sun Sep 14 13:52:26 1997 UTC (15 years, 8 months ago) by lukem
Branch: MAIN
Changes since 1.6: +7 -2
lines
Diff to previous 1.6 (colored)
* support ``short'' names of disks (e.g, ``sd0'') instead of requiring the full name (e.g, ``/dev/rsd0d'') a la disklabel(8) (where the code was effectively lifted from ;-) * prefix hexadecimal numbers in output with '0x'
Revision 1.6 / (download) - annotate - [select for diffs], Fri Sep 5 21:26:57 1997 UTC (15 years, 8 months ago) by phil
Branch: MAIN
Changes since 1.5: +3 -1
lines
Diff to previous 1.5 (colored)
-- add -b flag for setting fdisk's idea of BIOS geometry from command line -- cleanup so WARNS=1 works -- man page updated to reality.
Revision 1.5 / (download) - annotate - [select for diffs], Mon Jun 23 04:23:50 1997 UTC (15 years, 11 months ago) by mrg
Branch: MAIN
Changes since 1.4: +5 -1
lines
Diff to previous 1.4 (colored)
move man pages into share/man.
Revision 1.4 / (download) - annotate - [select for diffs], Sat Mar 18 14:55:33 1995 UTC (18 years, 2 months ago) by cgd
Branch: MAIN
CVS Tags: netbsd-1-2-base,
netbsd-1-2-RELEASE,
netbsd-1-2-PATCH001,
netbsd-1-2-BETA,
netbsd-1-2,
netbsd-1-1-base,
netbsd-1-1-RELEASE,
netbsd-1-1-PATCH001,
netbsd-1-1
Changes since 1.3: +1 -2
lines
Diff to previous 1.3 (colored)
convert to new RCS Id conventions; reduce my headache
Revision 1.3 / (download) - annotate - [select for diffs], Thu Dec 22 10:44:38 1994 UTC (18 years, 5 months ago) by cgd
Branch: MAIN
Changes since 1.2: +2 -2
lines
Diff to previous 1.2 (colored)
specify man pages the new way.
Revision 1.2 / (download) - annotate - [select for diffs], Sun Aug 1 05:37:54 1993 UTC (19 years, 9 months ago) by mycroft
Branch: MAIN
CVS Tags: netbsd-1-0-base,
netbsd-1-0-RELEASE,
netbsd-1-0-PATCH1,
netbsd-1-0-PATCH06,
netbsd-1-0-PATCH05,
netbsd-1-0-PATCH04,
netbsd-1-0-PATCH03,
netbsd-1-0-PATCH02,
netbsd-1-0-PATCH0,
netbsd-1-0
Changes since 1.1: +2 -3
lines
Diff to previous 1.1 (colored)
Add RCS identifiers.
Revision 1.1 / (download) - annotate - [select for diffs], Fri Apr 9 19:23:56 1993 UTC (20 years, 1 month ago) by cgd
Branch: MAIN
CVS Tags: netbsd-alpha-1,
netbsd-0-9-base,
netbsd-0-9-RELEASE,
netbsd-0-9-BETA,
netbsd-0-9-ALPHA2,
netbsd-0-9-ALPHA,
netbsd-0-9,
netbsd-0-8
added a 386bsd fdisk program, by julian elischer. (patch 111)