Up to [cvs.NetBSD.org] / src / sbin / ccdconfig
Request diff between arbitrary revisions
Default branch: MAIN
Revision 1.56.18.1 / (download) - annotate - [select for diffs], Sun Oct 11 12:34:29 2020 UTC (3 years, 8 months ago) by martin
Branch: netbsd-9
CVS Tags: netbsd-9-4-RELEASE,
netbsd-9-3-RELEASE,
netbsd-9-2-RELEASE,
netbsd-9-1-RELEASE
Changes since 1.56: +28 -13
lines
Diff to previous 1.56 (colored) next main 1.57 (colored)
Pull up following revision(s) (requested by mlelstv in ticket #1110): sys/dev/dkwedge/dk.c: revision 1.102 sys/dev/ccd.c: revision 1.185 sbin/ccdconfig/ccdconfig.c: revision 1.58 Use raw device for configuring units. This is necessary as having a block device opened prevents autodiscovery of wedges. Fix ioctl locking. Add dkdriver. Check dkdriver before calling a driver function.
Revision 1.58 / (download) - annotate - [select for diffs], Tue Oct 6 18:47:07 2020 UTC (3 years, 8 months ago) by mlelstv
Branch: MAIN
CVS Tags: 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,
cjep_sun2x-base1,
cjep_sun2x-base,
cjep_sun2x,
cjep_staticlib_x-base1,
cjep_staticlib_x-base,
cjep_staticlib_x,
HEAD
Changes since 1.57: +28 -13
lines
Diff to previous 1.57 (colored)
Use raw device for configuring units. This is necessary as having a block device opened prevents autodiscovery of wedges.
Revision 1.57 / (download) - annotate - [select for diffs], Sun Sep 6 02:34:30 2020 UTC (3 years, 9 months ago) by mrg
Branch: MAIN
Changes since 1.56: +3 -3
lines
Diff to previous 1.56 (colored)
rework error message to never call printf() %s with NULL.
Revision 1.53.6.2 / (download) - annotate - [select for diffs], Tue Dec 9 20:18:47 2014 UTC (9 years, 6 months ago) by martin
Branch: netbsd-7
CVS Tags: netbsd-7-nhusb-base-20170116,
netbsd-7-nhusb-base,
netbsd-7-nhusb,
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
Changes since 1.53.6.1: +28 -16
lines
Diff to previous 1.53.6.1 (colored) to branchpoint 1.53 (colored) next main 1.54 (colored)
Pull up following revision(s) (requested by mlelstv in ticket #305): sbin/ccdconfig/ccdconfig.c: revision 1.56 Make ccdconfig resolve wedge names.
Revision 1.56 / (download) - annotate - [select for diffs], Sun Dec 7 10:44:34 2014 UTC (9 years, 6 months ago) by mlelstv
Branch: 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-0-RELEASE,
netbsd-9-0-RC2,
netbsd-9-0-RC1,
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,
bouyer-socketcan-base1,
bouyer-socketcan-base,
bouyer-socketcan
Branch point for: netbsd-9
Changes since 1.55: +28 -16
lines
Diff to previous 1.55 (colored)
Make ccdconfig resolve wedge names.
Revision 1.51.4.1 / (download) - annotate - [select for diffs], Wed Aug 27 14:39:19 2014 UTC (9 years, 10 months ago) by msaitoh
Branch: netbsd-6
Changes since 1.51: +3 -3
lines
Diff to previous 1.51 (colored) next main 1.52 (colored)
Pull up following revision(s) (requested by sborrill in ticket #1113): sbin/ccdconfig/ccdconfig.c 1.54 via patch sys/dev/ccd.c 1.152 via patch sys/dev/ccdvar.h 1.34 via patch Switch size_t to uint64_t in appropriate places to ensure that ccd(4) works with component and total sizes of > 2TB. Make kernel print device information when a ccd configured. Fix some typos in comments.
Revision 1.48.2.1 / (download) - annotate - [select for diffs], Wed Aug 27 05:47:42 2014 UTC (9 years, 10 months ago) by msaitoh
Branch: netbsd-5
Changes since 1.48: +3 -3
lines
Diff to previous 1.48 (colored) next main 1.49 (colored)
Pull up following revision(s) (requested by sborrill in ticket #1919): sbin/ccdconfig/ccdconfig.c 1.54 via patch sys/dev/ccd.c 1.152 via patch sys/dev/ccdvar.h 1.34 via patch Switch size_t to uint64_t in appropriate places to ensure that ccd(4) works with component and total sizes of > 2TB. Make kernel print device information when a ccd configured. Fix some typos in comments.
Revision 1.53.6.1 / (download) - annotate - [select for diffs], Mon Aug 18 12:40:36 2014 UTC (9 years, 10 months ago) by martin
Branch: netbsd-7
Changes since 1.53: +6 -5
lines
Diff to previous 1.53 (colored)
Pull up following revision(s) (requested by sborrill in ticket #38): sys/dev/ccd.c: revision 1.152 sbin/ccdconfig/ccdconfig.c: revision 1.54 sbin/ccdconfig/ccdconfig.c: revision 1.55 sys/dev/ccdvar.h: revision 1.34 Switch size_t to uint64_t in appropriate places to ensure that ccd(4) works with component and total sizes of > 2TB. Add COMPAT_60 code for platforms where this alters userland-accessible structures. Make kernel print device information when a ccd configured. Fix some typos in comments. Don't print ccd_size with %zu; it no longer has type size_t. Instead, cast to uintmax_t and print with %ju.
Revision 1.55 / (download) - annotate - [select for diffs], Sun Aug 17 07:05:44 2014 UTC (9 years, 10 months ago) by apb
Branch: MAIN
Changes since 1.54: +5 -4
lines
Diff to previous 1.54 (colored)
Don't print ccd_size with %zu; it no longer has type size_t. Instead, cast to uintmax_t and print with %ju.
Revision 1.54 / (download) - annotate - [select for diffs], Sat Aug 16 19:27:27 2014 UTC (9 years, 10 months ago) by sborrill
Branch: MAIN
Changes since 1.53: +3 -3
lines
Diff to previous 1.53 (colored)
Switch size_t to uint64_t in appropriate places to ensure that ccd(4) works with component and total sizes of > 2TB. Add COMPAT_60 code for platforms where this alters userland-accessible structures. Make kernel print device information when a ccd configured. Fix some typos in comments.
Revision 1.51.2.1 / (download) - annotate - [select for diffs], Thu May 22 11:37:27 2014 UTC (10 years, 1 month ago) by yamt
Branch: yamt-pagecache
Changes since 1.51: +112 -221
lines
Diff to previous 1.51 (colored) next main 1.52 (colored)
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.51.8.1 / (download) - annotate - [select for diffs], Sun Jun 23 06:28:50 2013 UTC (11 years ago) by tls
Branch: tls-maxphys
Changes since 1.51: +112 -221
lines
Diff to previous 1.51 (colored) next main 1.52 (colored)
resync from head
Revision 1.53 / (download) - annotate - [select for diffs], Fri May 3 00:01:15 2013 UTC (11 years, 2 months ago) by christos
Branch: 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-base
Branch point for: netbsd-7
Changes since 1.52: +3 -3
lines
Diff to previous 1.52 (colored)
avoid initialization bug in vax gcc: int i; foo(&i);
Revision 1.52 / (download) - annotate - [select for diffs], Sat Apr 27 17:12:36 2013 UTC (11 years, 2 months ago) by christos
Branch: MAIN
Changes since 1.51: +112 -221
lines
Diff to previous 1.51 (colored)
one less kvm groveller. Use sysctl to get ccd info.
Revision 1.51 / (download) - annotate - [select for diffs], Sat Aug 27 16:29:51 2011 UTC (12 years, 10 months ago) by joerg
Branch: MAIN
CVS Tags: yamt-pagecache-tag8,
yamt-pagecache-base8,
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,
matt-nb6-plus-nbase,
matt-nb6-plus-base,
matt-nb6-plus,
agc-symver-base,
agc-symver
Branch point for: yamt-pagecache,
tls-maxphys,
netbsd-6
Changes since 1.50: +4 -4
lines
Diff to previous 1.50 (colored)
static. __dead.
Revision 1.50 / (download) - annotate - [select for diffs], Tue Jan 4 23:31:29 2011 UTC (13 years, 6 months ago) by wiz
Branch: MAIN
CVS Tags: cherry-xenmp-base,
cherry-xenmp,
bouyer-quota2-nbase,
bouyer-quota2-base,
bouyer-quota2
Changes since 1.49: +4 -2
lines
Diff to previous 1.49 (colored)
Fix file descriptor leak. Found by cppcheck.
Revision 1.48.4.1 / (download) - annotate - [select for diffs], Wed May 13 19:18:59 2009 UTC (15 years, 1 month ago) by jym
Branch: jym-xensuspend
Changes since 1.48: +15 -14
lines
Diff to previous 1.48 (colored) next main 1.49 (colored)
Sync with HEAD. Third (and last) commit. See http://mail-index.netbsd.org/source-changes/2009/05/13/msg221222.html
Revision 1.49 / (download) - annotate - [select for diffs], Mon Mar 16 12:52:07 2009 UTC (15 years, 3 months ago) by lukem
Branch: MAIN
CVS Tags: matt-premerge-20091211,
matt-mips64-premerge-20101231,
jym-xensuspend-nbase,
jym-xensuspend-base
Changes since 1.48: +15 -14
lines
Diff to previous 1.48 (colored)
fix sign-compare issues
Revision 1.46.18.2 / (download) - annotate - [select for diffs], Sun Sep 28 11:17:10 2008 UTC (15 years, 9 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.46.18.1: +2 -3
lines
Diff to previous 1.46.18.1 (colored) to branchpoint 1.46 (colored) next main 1.47 (colored)
Sync with HEAD.
Revision 1.47.2.1 / (download) - annotate - [select for diffs], Thu Sep 18 04:28:22 2008 UTC (15 years, 9 months ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.47: +4 -5
lines
Diff to previous 1.47 (colored) next main 1.48 (colored)
Sync with wrstuden-revivesa-base-2.
Revision 1.48 / (download) - annotate - [select for diffs], Sun Jul 20 01:20:21 2008 UTC (15 years, 11 months ago) by lukem
Branch: MAIN
CVS Tags: wrstuden-revivesa-base-3,
wrstuden-revivesa-base-2,
netbsd-5-base,
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-RC2,
netbsd-5-1-RC1,
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,
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,
mjf-devfs2-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
Branch point for: netbsd-5,
jym-xensuspend
Changes since 1.47: +4 -5
lines
Diff to previous 1.47 (colored)
Remove the \n and tabs from the __COPYRIGHT() strings. (Tweak some to use a consistent format.)
Revision 1.46.18.1 / (download) - annotate - [select for diffs], Mon Jun 2 13:21:20 2008 UTC (16 years, 1 month ago) by mjf
Branch: mjf-devfs2
Changes since 1.46: +2 -9
lines
Diff to previous 1.46 (colored)
Sync with HEAD.
Revision 1.46.20.1 / (download) - annotate - [select for diffs], Sun May 18 12:30:50 2008 UTC (16 years, 1 month ago) by yamt
Branch: yamt-pf42
Changes since 1.46: +2 -9
lines
Diff to previous 1.46 (colored) next main 1.47 (colored)
sync with head.
Revision 1.47 / (download) - annotate - [select for diffs], Mon Apr 28 20:23:07 2008 UTC (16 years, 2 months ago) by martin
Branch: MAIN
CVS Tags: yamt-pf42-base4,
yamt-pf42-base3,
yamt-pf42-base2,
wrstuden-revivesa-base-1,
wrstuden-revivesa-base,
hpcarm-cleanup-nbase
Branch point for: wrstuden-revivesa
Changes since 1.46: +2 -9
lines
Diff to previous 1.46 (colored)
Remove clause 3 and 4 from TNF licenses
Revision 1.46 / (download) - annotate - [select for diffs], Mon Oct 16 02:42:42 2006 UTC (17 years, 8 months ago) by christos
Branch: MAIN
CVS Tags: yamt-pf42-baseX,
yamt-pf42-base,
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,
mjf-devfs-base,
mjf-devfs,
matt-mips64-base,
matt-mips64,
matt-armv6-prevmlocking,
matt-armv6-nbase,
matt-armv6-base,
matt-armv6,
keiichi-mipv6-base,
keiichi-mipv6,
hpcarm-cleanup-base,
hpcarm-cleanup,
cube-autoconf-base,
cube-autoconf
Branch point for: yamt-pf42,
mjf-devfs2
Changes since 1.45: +6 -6
lines
Diff to previous 1.45 (colored)
c99 initializers
Revision 1.45 / (download) - annotate - [select for diffs], Mon Mar 20 22:44:25 2006 UTC (18 years, 3 months ago) by christos
Branch: MAIN
CVS Tags: abandoned-netbsd-4-base,
abandoned-netbsd-4
Changes since 1.44: +2 -3
lines
Diff to previous 1.44 (colored)
Delete an obvious free(NULL) pointed out by erh.
Revision 1.44 / (download) - annotate - [select for diffs], Mon Mar 20 01:00:34 2006 UTC (18 years, 3 months ago) by christos
Branch: MAIN
Changes since 1.43: +5 -2
lines
Diff to previous 1.43 (colored)
Coverity CID's 1853, 1852, 1851: Plug memory leaks.
Revision 1.43 / (download) - annotate - [select for diffs], Fri Mar 17 16:14:48 2006 UTC (18 years, 3 months ago) by hubertf
Branch: MAIN
Changes since 1.42: +9 -2
lines
Diff to previous 1.42 (colored)
Fix minor ressource leak Coverity CID 1855 OK'd by thorpej
Revision 1.40.2.1 / (download) - annotate - [select for diffs], Mon Feb 20 15:26:49 2006 UTC (18 years, 4 months ago) by tron
Branch: netbsd-3
CVS Tags: 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
Changes since 1.40: +41 -21
lines
Diff to previous 1.40 (colored) next main 1.41 (colored)
Pull up following revision(s) (requested by lukem in ticket #1178): sys/dev/ccd.c: revision 1.108 sbin/ccdconfig/ccdconfig.c: revision 1.42 * The kernel's struct ccd_softc has extra structure members over the userland version; provide another ccd global variable (ccd_softc_elemsize) containing the kernel's size, and use that it ccdconfig(8) to convert the kernel's ccd_softc into userland versions. Fixes 'ccdconfig -g'. * Use DISKUNIT() instead of home-grown cruft to determine the `N' of "ccdN". Fixes 'ccdconfig -g ccd1'. * Use (void *) instead of (char *) in the calls to kvm_read(). XXX: ccd could be converted from nlist to sysctl. "Someone else's yak shave".
Revision 1.42 / (download) - annotate - [select for diffs], Thu Feb 16 23:25:18 2006 UTC (18 years, 4 months ago) by lukem
Branch: MAIN
Changes since 1.41: +41 -21
lines
Diff to previous 1.41 (colored)
* The kernel's struct ccd_softc has extra structure members over the userland version; provide another ccd global variable (ccd_softc_elemsize) containing the kernel's size, and use that it ccdconfig(8) to convert the kernel's ccd_softc into userland versions. Fixes 'ccdconfig -g'. * Use DISKUNIT() instead of home-grown cruft to determine the `N' of "ccdN". Fixes 'ccdconfig -g ccd1'. * Use (void *) instead of (char *) in the calls to kvm_read(). XXX: ccd could be converted from nlist to sysctl. "Someone else's yak shave".
Revision 1.41 / (download) - annotate - [select for diffs], Thu Sep 8 14:50:02 2005 UTC (18 years, 9 months ago) by drochner
Branch: MAIN
Changes since 1.40: +2 -3
lines
Diff to previous 1.40 (colored)
namespace sanity: no need to include <sys/device.h>
Revision 1.40 / (download) - annotate - [select for diffs], Thu Jan 20 15:49:24 2005 UTC (19 years, 5 months ago) by xtraeme
Branch: MAIN
CVS Tags: netbsd-3-base,
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
Branch point for: netbsd-3
Changes since 1.39: +23 -43
lines
Diff to previous 1.39 (colored)
Kill __P(), ANSIfy, remove main() prototype; WARNS=2
Revision 1.39 / (download) - annotate - [select for diffs], Thu Oct 28 19:43:29 2004 UTC (19 years, 8 months ago) by dsl
Branch: MAIN
Changes since 1.38: +3 -3
lines
Diff to previous 1.38 (colored)
Add (unsigned char) to isdigit()
Revision 1.38 / (download) - annotate - [select for diffs], Fri Oct 17 05:23:56 2003 UTC (20 years, 8 months ago) by lukem
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.37: +3 -2
lines
Diff to previous 1.37 (colored)
Support CCDF_NOLABEL. Document what CCDF_UNIFORM actually does.
Revision 1.37 / (download) - annotate - [select for diffs], Wed Oct 8 20:39:07 2003 UTC (20 years, 8 months ago) by itojun
Branch: MAIN
Changes since 1.36: +8 -13
lines
Diff to previous 1.36 (colored)
use asprintf David Hill
Revision 1.36 / (download) - annotate - [select for diffs], Wed Oct 8 20:36:25 2003 UTC (20 years, 8 months ago) by itojun
Branch: MAIN
Changes since 1.35: +5 -2
lines
Diff to previous 1.35 (colored)
plug memory leak. David Hill
Revision 1.35 / (download) - annotate - [select for diffs], Fri Sep 19 08:37:25 2003 UTC (20 years, 9 months ago) by itojun
Branch: MAIN
Changes since 1.34: +7 -5
lines
Diff to previous 1.34 (colored)
realloc pedant
Revision 1.34 / (download) - annotate - [select for diffs], Mon Feb 19 22:56:18 2001 UTC (23 years, 4 months ago) by cgd
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,
fvdl_fs64_base
Changes since 1.33: +10 -11
lines
Diff to previous 1.33 (colored)
convert to use getprogname()
Revision 1.33 / (download) - annotate - [select for diffs], Sun Jan 28 00:59:27 2001 UTC (23 years, 5 months ago) by thorpej
Branch: MAIN
Changes since 1.32: +5 -5
lines
Diff to previous 1.32 (colored)
Sprinkle some const.
Revision 1.30.2.2 / (download) - annotate - [select for diffs], Wed Oct 18 00:39:43 2000 UTC (23 years, 8 months ago) by tv
Branch: netbsd-1-5
CVS Tags: netbsd-1-5-RELEASE,
netbsd-1-5-PATCH003,
netbsd-1-5-PATCH002,
netbsd-1-5-PATCH001,
netbsd-1-5-BETA2,
netbsd-1-5-BETA
Changes since 1.30.2.1: +4 -3
lines
Diff to previous 1.30.2.1 (colored) to branchpoint 1.30 (colored) next main 1.31 (colored)
Pullup sbin string format fixes [is]. See "cvs log" for explicit revision numbers per file, from sommerfeld.
Revision 1.27.2.1 / (download) - annotate - [select for diffs], Tue Oct 10 22:24:37 2000 UTC (23 years, 8 months ago) by he
Branch: netbsd-1-4
CVS Tags: netbsd-1-4-PATCH003
Changes since 1.27: +4 -3
lines
Diff to previous 1.27 (colored) next main 1.28 (colored)
Pull up revision 1.32 (requested by is): Format string cleanup.
Revision 1.32 / (download) - annotate - [select for diffs], Tue Oct 10 20:24:50 2000 UTC (23 years, 8 months ago) by is
Branch: MAIN
Changes since 1.31: +4 -3
lines
Diff to previous 1.31 (colored)
Format string cleanups by Bill Sommerfeld.
Revision 1.30.2.1 / (download) - annotate - [select for diffs], Thu Jul 27 16:12:34 2000 UTC (23 years, 11 months ago) by itojun
Branch: netbsd-1-5
CVS Tags: netbsd-1-5-ALPHA2
Changes since 1.30: +6 -6
lines
Diff to previous 1.30 (colored)
pullup (approved by releng-1-5) printf-like format pedant. do not pass string variable alone. use "%s". from openbsd. /cvsroot/basesrc/sbin/swapctl/swapctl.c 1.14 -> 1.15 /cvsroot/basesrc/sbin/ping6/ping6.c 1.15 -> 1.16 /cvsroot/basesrc/sbin/disklabel/disklabel.c 1.84 -> 1.85 /cvsroot/basesrc/sbin/ccdconfig/ccdconfig.c 1.30 -> 1.31
Revision 1.31 / (download) - annotate - [select for diffs], Fri Jul 7 12:29:09 2000 UTC (24 years ago) by itojun
Branch: MAIN
Changes since 1.30: +6 -6
lines
Diff to previous 1.30 (colored)
warnx?/errx? audit. don't pass variable/function return value alone. use with "%s". from openbsd.
Revision 1.29.2.1 / (download) - annotate - [select for diffs], Thu Jun 22 16:05:19 2000 UTC (24 years ago) by minoura
Branch: minoura-xpg4dl
Changes since 1.29: +2 -4
lines
Diff to previous 1.29 (colored) next main 1.30 (colored)
Sync w/ netbsd-1-5-base.
Revision 1.30 / (download) - annotate - [select for diffs], Fri Jun 9 15:06:31 2000 UTC (24 years ago) by enami
Branch: MAIN
CVS Tags: netbsd-1-5-base
Branch point for: netbsd-1-5
Changes since 1.29: +2 -4
lines
Diff to previous 1.29 (colored)
Sync with rev. 1.19 of vnconfig.c.
Revision 1.29 / (download) - annotate - [select for diffs], Wed Feb 16 06:52:32 2000 UTC (24 years, 4 months ago) by enami
Branch: MAIN
CVS Tags: minoura-xpg4dl-base
Branch point for: minoura-xpg4dl
Changes since 1.28: +4 -3
lines
Diff to previous 1.28 (colored)
Define __POOL_EXPOSE almost at the beginning, instead of just before dev/vndvar.h or dev/ccdvar.h so that struct pool is always available regardless of multiple inclusion. Actually, ccdconfig.c compiles without this change but ...
Revision 1.28 / (download) - annotate - [select for diffs], Wed Aug 11 02:44:35 1999 UTC (24 years, 10 months ago) by thorpej
Branch: MAIN
CVS Tags: wrstuden-devbsize-base,
wrstuden-devbsize-19991221,
wrstuden-devbsize,
comdex-fall-1999-base,
comdex-fall-1999
Changes since 1.27: +2 -3
lines
Diff to previous 1.27 (colored)
Garbage-collect CCDF_SWAP; no longer used, and doesn't make any sense with the UVM swap code.
Revision 1.27 / (download) - annotate - [select for diffs], Thu Apr 1 09:12:21 1999 UTC (25 years, 3 months ago) by ross
Branch: MAIN
CVS Tags: netbsd-1-4-base,
netbsd-1-4-RELEASE,
netbsd-1-4-PATCH002,
netbsd-1-4-PATCH001
Branch point for: netbsd-1-4
Changes since 1.26: +3 -2
lines
Diff to previous 1.26 (colored)
Define __POOL_EXPOSE for this nlist-groveling program.
Revision 1.26 / (download) - annotate - [select for diffs], Thu Jan 21 08:48:46 1999 UTC (25 years, 5 months ago) by thorpej
Branch: MAIN
Changes since 1.25: +5 -5
lines
Diff to previous 1.25 (colored)
update for changes to the ccd_softc.
Revision 1.25 / (download) - annotate - [select for diffs], Tue Jan 12 00:22:00 1999 UTC (25 years, 5 months ago) by thorpej
Branch: MAIN
Changes since 1.24: +3 -3
lines
Diff to previous 1.24 (colored)
Update for changes to ccdvar.h
Revision 1.24 / (download) - annotate - [select for diffs], Fri Nov 13 00:27:04 1998 UTC (25 years, 7 months ago) by thorpej
Branch: MAIN
Changes since 1.23: +2 -3
lines
Diff to previous 1.23 (colored)
CCDF_MIRROR is nuked from orbit.
Revision 1.23 / (download) - annotate - [select for diffs], Tue Aug 25 19:18:13 1998 UTC (25 years, 10 months ago) by ross
Branch: MAIN
Changes since 1.22: +4 -3
lines
Diff to previous 1.22 (colored)
from Erik Bertelsen <erik@mediator.uni-c.dk>
{ put } { in } { lots } { of } { these } { to } { shut } { up } { egcs }
Revision 1.22 / (download) - annotate - [select for diffs], Mon Aug 10 18:03:04 1998 UTC (25 years, 10 months ago) by msaitoh
Branch: MAIN
Changes since 1.21: +3 -5
lines
Diff to previous 1.21 (colored)
delete an obsolete usage
Revision 1.21 / (download) - annotate - [select for diffs], Fri Jul 31 01:34:20 1998 UTC (25 years, 11 months ago) by thorpej
Branch: MAIN
Changes since 1.20: +7 -33
lines
Diff to previous 1.20 (colored)
Remove the stats printing code. Now that the ccd driver uses the pool allocator, there are no more stats that it keeps.
Revision 1.20 / (download) - annotate - [select for diffs], Mon Jul 6 07:50:19 1998 UTC (26 years ago) by mrg
Branch: MAIN
Changes since 1.19: +16 -7
lines
Diff to previous 1.19 (colored)
- change setgid kmem programs (that lend themselves to this) so setegid(getgid()) and the top, and then set the effective gid back to kmem around the call to kvm_openfiles(). this reduces the time group kmem is available. - for those above that also allow this, setgid(getgid()) after the call to kvm_openfiles() to fully revoke priviledges. - some KNF - use err(3) over fprintf(3) in some places
Revision 1.19 / (download) - annotate - [select for diffs], Tue Feb 3 09:13:49 1998 UTC (26 years, 5 months ago) by mrg
Branch: MAIN
Changes since 1.18: +3 -3
lines
Diff to previous 1.18 (colored)
use warn() properly.
Revision 1.14.2.2 / (download) - annotate - [select for diffs], Tue Dec 30 06:03:03 1997 UTC (26 years, 6 months ago) by mycroft
Branch: netbsd-1-3
CVS Tags: 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
Changes since 1.14.2.1: +4 -4
lines
Diff to previous 1.14.2.1 (colored) to branchpoint 1.14 (colored) next main 1.15 (colored)
Pull up revision 1.18.
Revision 1.18 / (download) - annotate - [select for diffs], Tue Dec 30 05:58:06 1997 UTC (26 years, 6 months ago) by mycroft
Branch: MAIN
Changes since 1.17: +4 -4
lines
Diff to previous 1.17 (colored)
The output of `ccdconfig -g' is supposed to be a valid configuration file. Prefix two messages with `# ' so they're comments.
Revision 1.14.2.1 / (download) - annotate - [select for diffs], Tue Dec 30 05:44:41 1997 UTC (26 years, 6 months ago) by mrg
Branch: netbsd-1-3
Changes since 1.14: +7 -2
lines
Diff to previous 1.14 (colored)
pull up rev 1.16->1.17 from trunk
Revision 1.17 / (download) - annotate - [select for diffs], Tue Dec 30 05:40:47 1997 UTC (26 years, 6 months ago) by mrg
Branch: MAIN
Changes since 1.16: +7 -2
lines
Diff to previous 1.16 (colored)
reset the gid before calling fopen() on the config file. stops people having read kmem access. from rotel@indigo.ie (who obtained it from openbsd).
Revision 1.16 / (download) - annotate - [select for diffs], Fri Dec 5 20:01:51 1997 UTC (26 years, 7 months ago) by thorpej
Branch: MAIN
Changes since 1.15: +10 -8
lines
Diff to previous 1.15 (colored)
Fix type problems on the Alpha.
Revision 1.15 / (download) - annotate - [select for diffs], Mon Dec 1 03:40:52 1997 UTC (26 years, 7 months ago) by lukem
Branch: MAIN
Changes since 1.14: +17 -16
lines
Diff to previous 1.14 (colored)
use fparseln() instead of fgets(), improve man page
Revision 1.14 / (download) - annotate - [select for diffs], Sun Sep 14 08:39:43 1997 UTC (26 years, 9 months ago) by lukem
Branch: MAIN
CVS Tags: netbsd-1-3-base,
netbsd-1-3-BETA
Branch point for: netbsd-1-3
Changes since 1.13: +7 -7
lines
Diff to previous 1.13 (colored)
use memset instead of bzero
Revision 1.13 / (download) - annotate - [select for diffs], Thu Jul 31 00:11:53 1997 UTC (26 years, 11 months ago) by jtc
Branch: MAIN
Changes since 1.12: +4 -4
lines
Diff to previous 1.12 (colored)
Fix files using old TNF copyright notice
Revision 1.12 / (download) - annotate - [select for diffs], Wed Jul 23 20:25:13 1997 UTC (26 years, 11 months ago) by thorpej
Branch: MAIN
Changes since 1.11: +4 -4
lines
Diff to previous 1.11 (colored)
Clean up usage of __COPYRIGHT() macro.
Revision 1.11 / (download) - annotate - [select for diffs], Sun Jul 20 05:20:40 1997 UTC (26 years, 11 months ago) by thorpej
Branch: MAIN
Changes since 1.10: +3 -3
lines
Diff to previous 1.10 (colored)
Case size_t to "long" for printing, and use %ld for the format.
Revision 1.10 / (download) - annotate - [select for diffs], Sun Jul 20 05:00:51 1997 UTC (26 years, 11 months ago) by thorpej
Branch: MAIN
Changes since 1.9: +18 -6
lines
Diff to previous 1.9 (colored)
- Use __COPYRIGHT() and __RCSID(). - Fix compiler warnings.
Revision 1.9 / (download) - annotate - [select for diffs], Mon Apr 21 11:26:22 1997 UTC (27 years, 2 months ago) by mrg
Branch: MAIN
Changes since 1.8: +3 -3
lines
Diff to previous 1.8 (colored)
be safe with buffers.
Revision 1.8 / (download) - annotate - [select for diffs], Thu Jan 30 04:02:09 1997 UTC (27 years, 5 months ago) by thorpej
Branch: MAIN
Changes since 1.7: +38 -10
lines
Diff to previous 1.7 (colored)
Add support to display the ccd-specific statistics kept by the ccd driver.
Revision 1.6.4.1 / (download) - annotate - [select for diffs], Thu Jun 6 23:35:50 1996 UTC (28 years, 1 month ago) by thorpej
Branch: netbsd-1-2
CVS Tags: netbsd-1-2-RELEASE,
netbsd-1-2-PATCH001,
netbsd-1-2-BETA
Changes since 1.6: +8 -1
lines
Diff to previous 1.6 (colored) next main 1.7 (colored)
Update from trunk: Discard setgid privilidges if not reading the running kernel, as suggested in PR #2485 from Mike Grupenhoff <ashmir@umiacs.umd.edu>.
Revision 1.7 / (download) - annotate - [select for diffs], Thu Jun 6 23:34:39 1996 UTC (28 years, 1 month ago) by thorpej
Branch: MAIN
Changes since 1.6: +8 -1
lines
Diff to previous 1.6 (colored)
Discard setgid privelidges if not reading the running kernel, as suggested in PR #2485 from Mike Grupenhoff <ashmir@umiacs.umd.edu>.
Revision 1.6 / (download) - annotate - [select for diffs], Thu May 16 07:11:18 1996 UTC (28 years, 1 month ago) by thorpej
Branch: MAIN
CVS Tags: netbsd-1-2-base
Branch point for: netbsd-1-2
Changes since 1.5: +2 -33
lines
Diff to previous 1.5 (colored)
Use getmaxpartitions() and getrawpartition() from libutil, not homegrown versions.
Revision 1.5 / (download) - annotate - [select for diffs], Wed Feb 28 01:01:18 1996 UTC (28 years, 4 months ago) by thorpej
Branch: MAIN
Changes since 1.4: +22 -18
lines
Diff to previous 1.4 (colored)
Copyright assigned to The NetBSD Foundation.
Revision 1.4 / (download) - annotate - [select for diffs], Thu Feb 1 20:47:40 1996 UTC (28 years, 5 months ago) by thorpej
Branch: MAIN
Changes since 1.3: +2 -1
lines
Diff to previous 1.3 (colored)
Add experimental data mirroring support, derived from code written by Satoshi Asami and Nisha Talagala. For details on using data mirroring, see the ccd(4) manual page.
Revision 1.2.2.1 / (download) - annotate - [select for diffs], Sat Nov 11 02:43:35 1995 UTC (28 years, 7 months ago) by thorpej
Branch: netbsd-1-1
CVS Tags: netbsd-1-1-RELEASE,
netbsd-1-1-PATCH001
Changes since 1.2: +3 -3
lines
Diff to previous 1.2 (colored) next main 1.3 (colored)
Update from trunk; fix -M and -N.
Revision 1.3 / (download) - annotate - [select for diffs], Sat Nov 11 02:41:45 1995 UTC (28 years, 7 months ago) by thorpej
Branch: MAIN
Changes since 1.2: +3 -3
lines
Diff to previous 1.2 (colored)
Fix handling of "-M core" and "-N system"; a real brain-o on my part. Fix related typo in manual page.
Revision 1.2 / (download) - annotate - [select for diffs], Wed Aug 23 01:06:59 1995 UTC (28 years, 10 months ago) by thorpej
Branch: MAIN
CVS Tags: netbsd-1-1-base
Branch point for: netbsd-1-1
Changes since 1.1: +2 -2
lines
Diff to previous 1.1 (colored)
Fix up a printf(), from Chris P. Ross.
Revision 1.1 / (download) - annotate - [select for diffs], Thu Aug 17 16:37:19 1995 UTC (28 years, 10 months ago) by thorpej
Branch: MAIN
Configuration utility for the ccd.