CVS log for src/sbin/disklabel/interact.c
Up to [cvs.NetBSD.org] / src / sbin / disklabel
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
Revision 1.40: download - view: text, markup, annotated - select for diffs
Wed Nov 3 14:25:39 2021 UTC (3 years ago) by nia
Branches: MAIN
CVS tags: perseant-exfatfs-base-20240630,
perseant-exfatfs-base,
perseant-exfatfs,
netbsd-10-base,
netbsd-10-0-RELEASE,
netbsd-10-0-RC6,
netbsd-10-0-RC5,
netbsd-10-0-RC4,
netbsd-10-0-RC3,
netbsd-10-0-RC2,
netbsd-10-0-RC1,
netbsd-10,
HEAD
Diff to: previous 1.39: preferred, colored
Changes since revision 1.39: +5 -5
lines
disklabel(8): convert malloc(x * y) to reallocarr
Revision 1.39: download - view: text, markup, annotated - select for diffs
Sun Jan 31 18:57:29 2016 UTC (8 years, 10 months ago) by christos
Branches: MAIN
CVS tags: prg-localcount2-base3,
prg-localcount2-base2,
prg-localcount2-base1,
prg-localcount2-base,
prg-localcount2,
phil-wifi-base,
phil-wifi-20200421,
phil-wifi-20200411,
phil-wifi-20200406,
phil-wifi-20191119,
phil-wifi-20190609,
phil-wifi,
pgoyette-localcount-base,
pgoyette-localcount-20170426,
pgoyette-localcount-20170320,
pgoyette-localcount-20170107,
pgoyette-localcount-20161104,
pgoyette-localcount-20160806,
pgoyette-localcount-20160726,
pgoyette-localcount,
pgoyette-compat-merge-20190127,
pgoyette-compat-base,
pgoyette-compat-20190127,
pgoyette-compat-20190118,
pgoyette-compat-1226,
pgoyette-compat-1126,
pgoyette-compat-1020,
pgoyette-compat-0930,
pgoyette-compat-0906,
pgoyette-compat-0728,
pgoyette-compat-0625,
pgoyette-compat-0521,
pgoyette-compat-0502,
pgoyette-compat-0422,
pgoyette-compat-0415,
pgoyette-compat-0407,
pgoyette-compat-0330,
pgoyette-compat-0322,
pgoyette-compat-0315,
pgoyette-compat,
perseant-stdc-iso10646-base,
perseant-stdc-iso10646,
netbsd-9-base,
netbsd-9-4-RELEASE,
netbsd-9-3-RELEASE,
netbsd-9-2-RELEASE,
netbsd-9-1-RELEASE,
netbsd-9-0-RELEASE,
netbsd-9-0-RC2,
netbsd-9-0-RC1,
netbsd-9,
netbsd-8-base,
netbsd-8-3-RELEASE,
netbsd-8-2-RELEASE,
netbsd-8-1-RELEASE,
netbsd-8-1-RC1,
netbsd-8-0-RELEASE,
netbsd-8-0-RC2,
netbsd-8-0-RC1,
netbsd-8,
matt-nb8-mediatek-base,
matt-nb8-mediatek,
localcount-20160914,
is-mlppp-base,
is-mlppp,
cjep_sun2x-base1,
cjep_sun2x-base,
cjep_sun2x,
cjep_staticlib_x-base1,
cjep_staticlib_x-base,
cjep_staticlib_x,
bouyer-socketcan-base1,
bouyer-socketcan-base,
bouyer-socketcan
Diff to: previous 1.38: preferred, colored
Changes since revision 1.38: +6 -2
lines
PR/50729: Izumi Tsutsui: Add "SMALLPROG"-like options to disklabel(8)
Revision 1.35.6.2: download - view: text, markup, annotated - select for diffs
Thu May 22 11:37:27 2014 UTC (10 years, 6 months ago) by yamt
Branches: yamt-pagecache
Diff to: previous 1.35.6.1: preferred, colored; branchpoint 1.35: preferred, colored; next MAIN 1.36: preferred, colored
Changes since revision 1.35.6.1: +3 -3
lines
sync with head.
for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.
this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
Revision 1.35.12.2: download - view: text, markup, annotated - select for diffs
Sun Jun 23 06:28:50 2013 UTC (11 years, 5 months ago) by tls
Branches: tls-maxphys
Diff to: previous 1.35.12.1: preferred, colored; branchpoint 1.35: preferred, colored; next MAIN 1.36: preferred, colored
Changes since revision 1.35.12.1: +3 -3
lines
resync from head
Revision 1.38: download - view: text, markup, annotated - select for diffs
Fri May 3 16:05:12 2013 UTC (11 years, 7 months ago) by matt
Branches: MAIN
CVS tags: yamt-pagecache-base9,
tls-maxphys-base,
tls-earlyentropy-base,
tls-earlyentropy,
riastradh-xf86-video-intel-2-7-1-pre-2-21-15,
riastradh-drm2-base3,
riastradh-drm2-base2,
riastradh-drm2-base1,
riastradh-drm2-base,
riastradh-drm2,
netbsd-7-nhusb-base-20170116,
netbsd-7-nhusb-base,
netbsd-7-nhusb,
netbsd-7-base,
netbsd-7-2-RELEASE,
netbsd-7-1-RELEASE,
netbsd-7-1-RC2,
netbsd-7-1-RC1,
netbsd-7-1-2-RELEASE,
netbsd-7-1-1-RELEASE,
netbsd-7-1,
netbsd-7-0-RELEASE,
netbsd-7-0-RC3,
netbsd-7-0-RC2,
netbsd-7-0-RC1,
netbsd-7-0-2-RELEASE,
netbsd-7-0-1-RELEASE,
netbsd-7-0,
netbsd-7
Diff to: previous 1.37: preferred, colored
Changes since revision 1.37: +3 -3
lines
Make disklabel a MI tool. It will use MACHINE/MACHINE_ARCH to determine
the disklabel params as well as allowing command-line options of -M <machine>
and -B {le,be} to specify MACHINE and byteorder to be used.
Revision 1.35.12.1: download - view: text, markup, annotated - select for diffs
Mon Feb 25 00:28:04 2013 UTC (11 years, 9 months ago) by tls
Branches: tls-maxphys
Diff to: previous 1.35: preferred, colored
Changes since revision 1.35: +81 -57
lines
resync with head
Revision 1.35.6.1: download - view: text, markup, annotated - select for diffs
Wed Jan 23 00:05:28 2013 UTC (11 years, 10 months ago) by yamt
Branches: yamt-pagecache
CVS tags: yamt-pagecache-tag8
Diff to: previous 1.35: preferred, colored
Changes since revision 1.35: +81 -57
lines
sync with head
Revision 1.37: download - view: text, markup, annotated - select for diffs
Thu Jan 17 18:33:58 2013 UTC (11 years, 10 months ago) by christos
Branches: MAIN
CVS tags: yamt-pagecache-base8,
agc-symver-base,
agc-symver
Diff to: previous 1.36: preferred, colored
Changes since revision 1.36: +3 -3
lines
move dk_ioctl to a header file for the benefit of x-building.
Revision 1.36: download - view: text, markup, annotated - select for diffs
Tue Jan 15 23:52:48 2013 UTC (11 years, 10 months ago) by christos
Branches: MAIN
Diff to: previous 1.35: preferred, colored
Changes since revision 1.35: +81 -57
lines
- simplify getinput.
- add adjust command.
Revision 1.30.32.1: download - view: text, markup, annotated - select for diffs
Fri May 20 08:11:18 2011 UTC (13 years, 6 months ago) by matt
Branches: matt-nb5-mips64
Diff to: previous 1.30: preferred, colored; next MAIN 1.31: preferred, colored
Changes since revision 1.30: +23 -21
lines
bring matt-nb5-mips64 up to date with netbsd-5-1-RELEASE (except compat).
Revision 1.35: download - view: text, markup, annotated - select for diffs
Thu Jan 6 21:39:01 2011 UTC (13 years, 10 months ago) by apb
Branches: MAIN
CVS tags: yamt-pagecache-base7,
yamt-pagecache-base6,
yamt-pagecache-base5,
yamt-pagecache-base4,
yamt-pagecache-base3,
yamt-pagecache-base2,
yamt-pagecache-base,
netbsd-6-base,
netbsd-6-1-RELEASE,
netbsd-6-1-RC4,
netbsd-6-1-RC3,
netbsd-6-1-RC2,
netbsd-6-1-RC1,
netbsd-6-1-5-RELEASE,
netbsd-6-1-4-RELEASE,
netbsd-6-1-3-RELEASE,
netbsd-6-1-2-RELEASE,
netbsd-6-1-1-RELEASE,
netbsd-6-1,
netbsd-6-0-RELEASE,
netbsd-6-0-RC2,
netbsd-6-0-RC1,
netbsd-6-0-6-RELEASE,
netbsd-6-0-5-RELEASE,
netbsd-6-0-4-RELEASE,
netbsd-6-0-3-RELEASE,
netbsd-6-0-2-RELEASE,
netbsd-6-0-1-RELEASE,
netbsd-6-0,
netbsd-6,
matt-nb6-plus-nbase,
matt-nb6-plus-base,
matt-nb6-plus,
cherry-xenmp-base,
cherry-xenmp,
bouyer-quota2-nbase,
bouyer-quota2-base,
bouyer-quota2
Branch point for: yamt-pagecache,
tls-maxphys
Diff to: previous 1.34: preferred, colored
Changes since revision 1.34: +27 -27
lines
Change printf formats to match the data type of the values being
printed. There's now a lot of PRIu16 and PRIu32, some PRIu8, some
SCNu32, and a few cases where %u and %d were reversed. Multiplication
of 32-bit and 8-bit values is cast to uint64_t and printed with PRIu64.
Inspired by a report from Patrick Welche on current-users.
Revision 1.30.26.1: download - view: text, markup, annotated - select for diffs
Sat Jun 12 01:11:42 2010 UTC (14 years, 5 months ago) by riz
Branches: netbsd-5
CVS tags: netbsd-5-2-RELEASE,
netbsd-5-2-RC1,
netbsd-5-2-3-RELEASE,
netbsd-5-2-2-RELEASE,
netbsd-5-2-1-RELEASE,
netbsd-5-2,
netbsd-5-1-RELEASE,
netbsd-5-1-RC4,
netbsd-5-1-RC3,
netbsd-5-1-5-RELEASE,
netbsd-5-1-4-RELEASE,
netbsd-5-1-3-RELEASE,
netbsd-5-1-2-RELEASE,
netbsd-5-1-1-RELEASE,
netbsd-5-1,
matt-nb5-pq3-base,
matt-nb5-pq3
Diff to: previous 1.30: preferred, colored; next MAIN 1.31: preferred, colored
Changes since revision 1.30: +23 -21
lines
Pull up following revision(s) (requested by dholland in ticket #1410):
sbin/disklabel/interact.c: revision 1.34
Change getnum() to use intmax_t instead of int, so it doesn't overflow
between 2^31 and 2^32. Adjust call sites accordingly. PR 43354.
Revision 1.34: download - view: text, markup, annotated - select for diffs
Fri May 28 07:40:53 2010 UTC (14 years, 6 months ago) by dholland
Branches: MAIN
CVS tags: matt-mips64-premerge-20101231
Diff to: previous 1.33: preferred, colored
Changes since revision 1.33: +23 -21
lines
Change getnum() to use intmax_t instead of int, so it doesn't overflow
between 2^31 and 2^32. Adjust call sites accordingly. PR 43354.
Revision 1.33: download - view: text, markup, annotated - select for diffs
Sat Nov 28 10:52:10 2009 UTC (15 years ago) by abs
Branches: MAIN
CVS tags: matt-premerge-20091211
Diff to: previous 1.32: preferred, colored
Changes since revision 1.32: +4 -3
lines
- Display "Enter '?' for help" when starting interactive mode
- Use %.40g rather than %g when printing sectors and MB for existing
partition size/offset.
Changes [1.93802e+06c, 1953525105s, 953870M]:
to: [1938021c, 1953525105s, 953869.6875M]:
Revision 1.32: download - view: text, markup, annotated - select for diffs
Wed Oct 21 01:07:46 2009 UTC (15 years, 1 month ago) by snj
Branches: MAIN
Diff to: previous 1.31: preferred, colored
Changes since revision 1.31: +2 -7
lines
Remove 3rd and 4th clauses in christos' license. OK christos.
Revision 1.30.28.1: download - view: text, markup, annotated - select for diffs
Wed May 13 19:19:00 2009 UTC (15 years, 6 months ago) by jym
Branches: jym-xensuspend
Diff to: previous 1.30: preferred, colored; next MAIN 1.31: preferred, colored
Changes since revision 1.30: +8 -8
lines
Sync with HEAD.
Third (and last) commit. See http://mail-index.netbsd.org/source-changes/2009/05/13/msg221222.html
Revision 1.31: download - view: text, markup, annotated - select for diffs
Mon Mar 16 13:33:36 2009 UTC (15 years, 8 months ago) by lukem
Branches: MAIN
CVS tags: jym-xensuspend-nbase,
jym-xensuspend-base
Diff to: previous 1.30: preferred, colored
Changes since revision 1.30: +8 -8
lines
fix sign-compare issues
Revision 1.30: download - view: text, markup, annotated - select for diffs
Sun Nov 26 16:16:31 2006 UTC (18 years ago) by jmmv
Branches: 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,
wrstuden-fixsa-newbase,
wrstuden-fixsa-base-1,
wrstuden-fixsa-base,
wrstuden-fixsa,
netbsd-5-base,
netbsd-5-1-RC2,
netbsd-5-1-RC1,
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-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,
mjf-devfs2-base,
mjf-devfs2,
mjf-devfs-base,
mjf-devfs,
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-nb4-mips64-k7-u2a-k9b,
matt-mips64-base2,
matt-mips64-base,
matt-mips64,
matt-armv6-prevmlocking,
matt-armv6-nbase,
matt-armv6-base,
matt-armv6,
keiichi-mipv6-base,
keiichi-mipv6,
hpcarm-cleanup-nbase,
hpcarm-cleanup-base,
hpcarm-cleanup,
cube-autoconf-base,
cube-autoconf
Branch point for: netbsd-5,
matt-nb5-mips64,
jym-xensuspend
Diff to: previous 1.29: preferred, colored
Changes since revision 1.29: +12 -2
lines
Add a '-l' flag and a 'L' command to interactive mode to list all known
file system types. (Similar to what fdisk does for partition types.)
Closes PR bin/12954.
Revision 1.29: download - view: text, markup, annotated - select for diffs
Sat Mar 18 12:48:35 2006 UTC (18 years, 8 months ago) by dsl
Branches: MAIN
CVS tags: abandoned-netbsd-4-base,
abandoned-netbsd-4
Diff to: previous 1.28: preferred, colored
Changes since revision 1.28: +14 -14
lines
Avoid indexing beyond the end of a malloced array.
Rework loop to be less confusing.
Coverty 519 made me read this code, but this isn't the 'bug' it found.
Revision 1.28: download - view: text, markup, annotated - select for diffs
Fri Mar 17 14:50:44 2006 UTC (18 years, 8 months ago) by rumble
Branches: MAIN
Diff to: previous 1.27: preferred, colored
Changes since revision 1.27: +4 -3
lines
Gracefully handle out of memory condition.
Revision 1.27: download - view: text, markup, annotated - select for diffs
Wed Oct 19 21:22:21 2005 UTC (19 years, 1 month ago) by dsl
Branches: MAIN
Diff to: previous 1.26: preferred, colored
Changes since revision 1.26: +3 -3
lines
Rototil the way disklabel -r reads and writes labels.
In particular the 'read' part plays 'hunt the disklabel' in order to get a
label into a local buffer - from where it can be displayed/edited.
The 'write' part makes a separate scan of the disk looking for places to
write the label.
The main changes are:
- It can no longer write the first 8k of the mbr to the pbr (or v.v.)
- All labels on the disk (that it can find) get updated during a write
- With -A all the labels are displayed (inc. those deleted by -D)
- Addition of -D which will delete (by one's complimenting dk_magic{2}) and
existing labels before writing labels to the expected locations.
- -v gives some verbose output to stderr, -vv more etc
A better basis for processing incorrect endian labels, or labels from other
architectures.
Revision 1.26: download - view: text, markup, annotated - select for diffs
Mon Jun 27 01:00:05 2005 UTC (19 years, 5 months ago) by christos
Branches: MAIN
Diff to: previous 1.25: preferred, colored
Changes since revision 1.25: +3 -3
lines
Move WARNS=3 to the Makefile.inc, and add a little const to the remaining
programs that did not compile before.
Revision 1.25: download - view: text, markup, annotated - select for diffs
Sun Jun 12 19:18:34 2005 UTC (19 years, 5 months ago) by dyoung
Branches: MAIN
Diff to: previous 1.24: preferred, colored
Changes since revision 1.24: +13 -3
lines
Make disklabel(8) into a host-tool, "nbdisklabel." Move disklabel.c
to main.c to avoid a name collision with lib/libc/gen/disklabel.c
when we build nbdisklabel. Still todo: commit host-tool build
infrastructure to src/tools/disklabel/.
Revision 1.24: download - view: text, markup, annotated - select for diffs
Thu Apr 7 21:27:44 2005 UTC (19 years, 8 months ago) by christos
Branches: MAIN
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +23 -2
lines
Recognize more units and be more helpful when we enter bad units.
Revision 1.23: download - view: text, markup, annotated - select for diffs
Mon Dec 29 21:21:25 2003 UTC (20 years, 11 months ago) by jdc
Branches: 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,
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
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +3 -3
lines
Add missing ' in prompt text.
Pointed out by Allen Briggs.
Revision 1.22: download - view: text, markup, annotated - select for diffs
Mon Dec 29 19:12:29 2003 UTC (20 years, 11 months ago) by jdc
Branches: MAIN
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +31 -13
lines
Add the ability to define a partition as starting after another partition.
If chaining is on, display all changed partitions (not just this one).
OK'ed by Christos.
Revision 1.21: download - view: text, markup, annotated - select for diffs
Mon Oct 20 13:20:20 2003 UTC (21 years, 1 month ago) by pooka
Branches: MAIN
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +5 -5
lines
Handle partition offset and size as unsigned entities.
Revision 1.19.2.1: download - view: text, markup, annotated - select for diffs
Sat Jun 29 23:13:52 2002 UTC (22 years, 5 months ago) by lukem
Branches: netbsd-1-6
CVS tags: 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
Diff to: previous 1.19: preferred, colored; next MAIN 1.20: preferred, colored
Changes since revision 1.19: +9 -2
lines
Pull up revision 1.20 (requested by grant in ticket #402):
disallow creation of partitions which start beyond (or extend beyond)
the end of the disk.
Revision 1.20: download - view: text, markup, annotated - select for diffs
Sat Jun 29 15:24:03 2002 UTC (22 years, 5 months ago) by grant
Branches: MAIN
CVS tags: fvdl_fs64_base
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +9 -2
lines
disallow creation of partitions which start beyond (or extend beyond)
the end of the disk.
Revision 1.19: download - view: text, markup, annotated - select for diffs
Fri Oct 19 01:16:38 2001 UTC (23 years, 1 month ago) by lukem
Branches: MAIN
CVS tags: netbsd-1-6-base
Branch point for: netbsd-1-6
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +3 -3
lines
minor WARNS=2 stuff
Revision 1.18: download - view: text, markup, annotated - select for diffs
Sat May 26 19:48:32 2001 UTC (23 years, 6 months ago) by christos
Branches: MAIN
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +14 -10
lines
- KNF printlabel.c
- add a function to print only one partition's info.
- print the partition information if it was modified in interactive mode.
- improve on the chaining code. [still assumes that partition offsets increase
monotonically]. We could check for overlap too.
Revision 1.13.4.2: download - view: text, markup, annotated - select for diffs
Mon Feb 26 22:27:45 2001 UTC (23 years, 9 months ago) by he
Branches: netbsd-1-5
CVS tags: netbsd-1-5-PATCH003,
netbsd-1-5-PATCH002,
netbsd-1-5-PATCH001
Diff to: previous 1.13.4.1: preferred, colored; branchpoint 1.13: preferred, colored; next MAIN 1.14: preferred, colored
Changes since revision 1.13.4.1: +84 -119
lines
Pull up revisions 1.16-1.17 (requested by lukem):
Several fixes and enhancements:
o with ``-I'', initialize the label if it's not there, it's
corrupt, or there's no ``fake'' label.
o correct partition table header
o move some functions into a separate file for other programs
to use
o fix examples and cross references
o various cleanups
Revision 1.17: download - view: text, markup, annotated - select for diffs
Sun Dec 24 07:08:03 2000 UTC (23 years, 11 months ago) by lukem
Branches: MAIN
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +6 -6
lines
move showinfo() and showpartition() into separate file, for use by
other programs. slightly change argument signature so that globals
aren't depended upon.
Revision 1.16: download - view: text, markup, annotated - select for diffs
Sun Dec 24 05:59:11 2000 UTC (23 years, 11 months ago) by lukem
Branches: MAIN
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +81 -116
lines
- convert to KNF ANSI style guide
- reorder arguments of runcmd(), getnum(), defnum() to be consistent
with other functions (pass struct disklabel * first)
Revision 1.13.4.1: download - view: text, markup, annotated - select for diffs
Wed Oct 18 02:53:09 2000 UTC (24 years, 1 month ago) by tv
Branches: netbsd-1-5
CVS tags: netbsd-1-5-RELEASE,
netbsd-1-5-BETA2,
netbsd-1-5-BETA
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +191 -91
lines
Pullup 1.13-1.15 [christos]:
supported disk types printout, sizeof parentheses, better error messages.
Revision 1.15: download - view: text, markup, annotated - select for diffs
Mon Sep 4 02:09:26 2000 UTC (24 years, 3 months ago) by lukem
Branches: MAIN
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +5 -4
lines
in cmd_name(), put the default prompt into a temporary buffer rather
than overwrite the existing d_packname. noted by enami@.
Revision 1.14: download - view: text, markup, annotated - select for diffs
Mon Aug 14 22:37:08 2000 UTC (24 years, 3 months ago) by lukem
Branches: MAIN
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +190 -91
lines
* use strcasecmp() instead of strcmp() so that filesystem type and disk type
searchs (amongst others) are case insensitive.
* in interactive mode (-i), when editing entries display supported disk types
and filesystem types when given `?' (when ``[?]'' appears in the prompt
this feature is supported for the question).
* support `m' as a suffix equivalent to `M'
* in interactive mode, be a bit more sensible about handling errors and EOF
* implement dumpnames(), which takes a char ** and size, and displays
as per ls -F (sorted, listed vertically) but indented by one tab
* don't assume d_typename and d_packname are NUL terminated
* fix up some comments and some warning messages (bad cut & pastos :)
* deprecate deffstypename() and getfstypename()
* be consistent when using sizeof()
Revision 1.10.4.1: download - view: text, markup, annotated - select for diffs
Mon Dec 27 18:30:21 1999 UTC (24 years, 11 months ago) by wrstuden
Branches: wrstuden-devbsize
Diff to: previous 1.10: preferred, colored; next MAIN 1.11: preferred, colored
Changes since revision 1.10: +251 -15
lines
Pull up to last week's -current.
Revision 1.8.2.2: download - view: text, markup, annotated - select for diffs
Fri Dec 17 23:07:32 1999 UTC (24 years, 11 months ago) by he
Branches: netbsd-1-4
CVS tags: netbsd-1-4-PATCH003,
netbsd-1-4-PATCH002
Diff to: previous 1.8.2.1: preferred, colored; branchpoint 1.8: preferred, colored; next MAIN 1.9: preferred, colored
Changes since revision 1.8.2.1: +16 -9
lines
Pull up revisions 1.12-1.13 (requested by abs):
When setting size of partitions interactively, allow '$'
for the remainder of the disk.
Revision 1.13: download - view: text, markup, annotated - select for diffs
Fri Dec 17 13:06:49 1999 UTC (24 years, 11 months ago) by abs
Branches: MAIN
CVS tags: wrstuden-devbsize-base,
wrstuden-devbsize-19991221,
netbsd-1-5-base,
netbsd-1-5-ALPHA2,
minoura-xpg4dl-base,
minoura-xpg4dl
Branch point for: netbsd-1-5
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +4 -4
lines
Use '$' instead of '-' to select remainder of disk interactively
Revision 1.12: download - view: text, markup, annotated - select for diffs
Fri Dec 17 12:30:02 1999 UTC (24 years, 11 months ago) by abs
Branches: MAIN
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +16 -9
lines
When setting size of partitions interactively allow '-' for remainder of disk
Revision 1.11: download - view: text, markup, annotated - select for diffs
Fri Nov 26 06:03:10 1999 UTC (25 years ago) by mrg
Branches: MAIN
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +237 -8
lines
allow changing partition info from inside the interactive handler.
Revision 1.8.2.1: download - view: text, markup, annotated - select for diffs
Fri Sep 10 22:37:10 1999 UTC (25 years, 2 months ago) by he
Branches: netbsd-1-4
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +3 -3
lines
Pull up revision 1.10:
'Label disk?' prompt should check for 'Y' as well as 'y'. (abs)
Revision 1.10: download - view: text, markup, annotated - select for diffs
Sun Sep 5 07:27:55 1999 UTC (25 years, 3 months ago) by abs
Branches: MAIN
CVS tags: comdex-fall-1999-base,
comdex-fall-1999
Branch point for: wrstuden-devbsize
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +3 -3
lines
Accept 'Y' for label disk as well as 'y'
Revision 1.9: download - view: text, markup, annotated - select for diffs
Mon May 3 09:45:01 1999 UTC (25 years, 7 months ago) by christos
Branches: MAIN
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +46 -3
lines
Add a 'chain' command in interactive mode that allows you to vary the
size of the partitions, while the starting point gets adjusted automagically.
This chaining works for partitions that are not 'unused'.
Revision 1.8: download - view: text, markup, annotated - select for diffs
Thu Nov 12 16:19:48 1998 UTC (26 years ago) by christos
Branches: MAIN
CVS tags: netbsd-1-4-base,
netbsd-1-4-RELEASE,
netbsd-1-4-PATCH001
Branch point for: netbsd-1-4
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +3 -3
lines
Adjust for DKTYPENAME changes.
Revision 1.7: download - view: text, markup, annotated - select for diffs
Mon Oct 13 09:53:29 1997 UTC (27 years, 1 month ago) by bouyer
Branches: 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
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +4 -4
lines
The number of fs types is FSMAXTYPES not DKMAXTYPES.
Correct read of formatted file (used with -e or -R) so that fstype with
spaces will work. Also enlarge the fstype field by 2 chars so that
"Linux Ext2" will not be truncated.
Revision 1.6: download - view: text, markup, annotated - select for diffs
Thu Sep 18 22:20:36 1997 UTC (27 years, 2 months ago) by enami
Branches: MAIN
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +4 -4
lines
Don't pass return value of writelabel() to strerror(), since
the value is not a errno but just 0 or 1.
Revision 1.5: download - view: text, markup, annotated - select for diffs
Mon Jun 30 22:51:34 1997 UTC (27 years, 5 months ago) by christos
Branches: MAIN
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +7 -5
lines
Fix warnings.
Revision 1.4: download - view: text, markup, annotated - select for diffs
Tue Mar 18 21:26:44 1997 UTC (27 years, 8 months ago) by christos
Branches: MAIN
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +3 -3
lines
Off by one.
Revision 1.3: download - view: text, markup, annotated - select for diffs
Sun Mar 9 00:35:44 1997 UTC (27 years, 9 months ago) by christos
Branches: MAIN
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +3 -3
lines
fix reversed test for maxpartitions.
Revision 1.2: download - view: text, markup, annotated - select for diffs
Sun Mar 9 00:14:18 1997 UTC (27 years, 9 months ago) by christos
Branches: MAIN
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +18 -15
lines
Jason says: Use getmaxpartitions(3) to determine the number of partitions
allowed in this architecture.
Revision 1.1: download - view: text, markup, annotated - select for diffs
Sat Mar 8 23:46:12 1997 UTC (27 years, 9 months ago) by christos
Branches: MAIN
Add -i (interactive mode to create/edit labels) inspired by the SunOS/Solaris
format/partition command.
CVSweb <webmaster@jp.NetBSD.org>