aboutsummaryrefslogtreecommitdiff
path: root/sbin/ccdconfig
Commit message (Collapse)AuthorAgeFilesLines
* ccdconfig: reference gpart rather than fdisk and disklabelEd Maste2024-03-221-6/+4
| | | | | | | | | fdisk and disklabel are legacy tools for legacy disk partitioning schemes. Reviewed by: imp Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D43564
* ccdconfig(8): Minor grammar fixYi-Chen Li2024-02-131-1/+1
| | | | | Event: Advanced UNIX Programming Course (Fall'23) at NTHU. Pull Request: https://github.com/freebsd/freebsd-src/pull/1031
* ccdconfig: remove obsolete references to BSD disklabelsEd Maste2024-01-241-41/+1
| | | | | | | | | | | | ccd(4) previoulsy had knowledge of BSD disklabels, and relied on their use on the underlying disks, but this hasn't been the case since 2003 (commit 0f76d6d822f4). Remove disklabel references from the man page. Reviewed by: imp Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D43574
* sbin: Automated cleanup of cdefs and other formattingWarner Losh2023-11-271-1/+0
| | | | | | | | | | | | | | | | Apply the following automated changes to try to eliminate no-longer-needed sys/cdefs.h includes as well as now-empty blank lines in a row. Remove /^#if.*\n#endif.*\n#include\s+<sys/cdefs.h>.*\n/ Remove /\n+#include\s+<sys/cdefs.h>.*\n+#if.*\n#endif.*\n+/ Remove /\n+#if.*\n#endif.*\n+/ Remove /^#if.*\n#endif.*\n/ Remove /\n+#include\s+<sys/cdefs.h>\n#include\s+<sys/types.h>/ Remove /\n+#include\s+<sys/cdefs.h>\n#include\s+<sys/param.h>/ Remove /\n+#include\s+<sys/cdefs.h>\n#include\s+<sys/capsicum.h>/ Sponsored by: Netflix
* Remove $FreeBSD$: one-line nroff patternWarner Losh2023-08-161-1/+0
| | | | Remove /^\.\\"\s*\$FreeBSD\$$\n/
* Remove $FreeBSD$: one-line sh patternWarner Losh2023-08-162-2/+0
| | | | Remove /^\s*#[#!]?\s*\$FreeBSD\$.*$\n/
* Remove $FreeBSD$: one-line .c patternWarner Losh2023-08-161-2/+0
| | | | Remove /^[\s*]*__FBSDID\("\$FreeBSD\$"\);?\s*\n/
* Remove $FreeBSD$: one-line .h patternWarner Losh2023-08-161-1/+0
| | | | Remove /^\s*\*+\s*\$FreeBSD\$.*$\n/
* spdx: The BSD-2-Clause-NetBSD identifier is obsolete, drop -NetBSDWarner Losh2023-05-121-1/+1
| | | | | | | | | The SPDX folks have obsoleted the BSD-2-Clause-NetBSD identifier. Catch up to that fact and revert to their recommended match of BSD-2-Clause. Discussed with: pfg MFC After: 3 days Sponsored by: Netflix
* Update/fix Makefile.depend for userlandSimon J. Gerraty2023-04-191-3/+0
|
* *: Do not use the no-op -r flag for bsdlabel(8)Mateusz Piotrowski2022-03-171-2/+2
| | | | | | | | | | | | | | | The -r flag is ignored by the FreeBSD implementation of bsdlabel(8) (also called disklabel(8) in the past). Remove its use from examples and tests in the tree. This commit does not touch historical documentation under share/doc/smm and files under contrib/netbsd-tests. Reviewed by: imp MFC after: 2 weeks Approved by: imp (src) Fixes: 57dfbec57b6d More axe-work: Differential Revision: https://reviews.freebsd.org/D34585
* GEOM: Introduce gctl_add_param() API.Alexander Motin2022-03-071-2/+6
| | | | | | | | | Make gctl_add_param() API public, allowing more precise control over parameter flags. Previously it was impossible to properly declare write-only ASCII parameters, used for result reporting, they were declared as read-write binary instead, that was not nice. MFC after: 1 month
* ccdconfig: Move VCS tags to be more consistent with our style.Pedro F. Giffuni2017-12-303-7/+5
| | | | | | | Update a now-bogus SPDX tag while here. Notes: svn path=/head/; revision=327370
* ccdconfig: Update licensing terms to match NetBSD.Pedro F. Giffuni2017-12-302-14/+0
| | | | | | | | | | The code originated in NetBSD which has since removed Clauses 3 and 4. Approved by: phk (concerning his own copyright) Obtained from: NetBSD (CVS ccdconfig.c 1.47, ccdconfig.8 1.24) Notes: svn path=/head/; revision=327368
* ccdconfig: Update licensing terms.Pedro F. Giffuni2017-12-273-40/+51
| | | | | | | | | | | | | | | | | The code originate in NetBSD and there are the copyright notes have been assigned to the NetBSD Foundation. Update the files up to the point where we started diverging. Further relaxation of the licensing terms are possible after we check the NetBSD updates, and contact the local authors. In the case of ccdconfig.8 this reinstates the 3rd clause but since the code is not directly from Berkeley, the change was bogus. Obtained from: NetBSD Notes: svn path=/head/; revision=327245
* various: general adoption of SPDX licensing ID tags.Pedro F. Giffuni2017-11-272-2/+6
| | | | | | | | | | | | | | | | | Mainly focus on files that use BSD 2-Clause license, however the tool I was using misidentified many licenses so this was mostly a manual - error prone - task. The Software Package Data Exchange (SPDX) group provides a specification to make it easier for automated tools to detect and summarize well known opensource licenses. We are gradually adopting the specification, noting that the tags are considered only advisory and do not, in any way, superceed or replace the license texts. No functional change intended. Notes: svn path=/head/; revision=326276
* DIRDEPS_BUILD: Update dependencies.Bryan Drewery2017-10-311-1/+0
| | | | | | | Sponsored by: Dell EMC Isilon Notes: svn path=/head/; revision=325188
* ccdconfig first appeared in NetBSD 1.1Sevan Janiyan2016-10-021-3/+3
| | | | | | | | | | | | | | | | | From NetBSD man page, confirmed with repo tags in CVS [1] (there was also no 1.0a release according to [2]) [1] http://cvsweb.netbsd.org/bsdweb.cgi/src/sbin/ccdconfig/ccdconfig.c [2] http://netbsd.org/releases/formal.html#history PR: 212437 Approved by: bcr (mentor) Obtained from: NetBSD MFC after: 4 days Differential Revision: https://reviews.freebsd.org/D8105 Notes: svn path=/head/; revision=306598
* Create packages for atm, ccdconfig, devd, ipf, ipfw,Glen Barber2016-02-091-0/+1
| | | | | | | | | | | iscsi, natd, nandfs, pf, quotacheck, and routed. Add ping6 and rtsol to the runtime package. Sponsored by: The FreeBSD Foundation Notes: svn path=/projects/release-pkg/; revision=295448
* Add META_MODE support.Simon J. Gerraty2015-06-131-0/+21
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | Off by default, build behaves normally. WITH_META_MODE we get auto objdir creation, the ability to start build from anywhere in the tree. Still need to add real targets under targets/ to build packages. Differential Revision: D2796 Reviewed by: brooks imp Notes: svn path=/head/; revision=284345
| * dirdeps.mk now sets DEP_RELDIRSimon J. Gerraty2015-06-081-2/+0
| | | | | | | | Notes: svn path=/projects/bmake/; revision=284172
| * Merge sync of headSimon J. Gerraty2015-05-271-2/+1
| |\ | |/ |/| | | Notes: svn path=/projects/bmake/; revision=283595
| * Updated dependenciesSimon J. Gerraty2014-05-161-1/+0
| | | | | | | | Notes: svn path=/projects/bmake/; revision=266219
| * Updated dependenciesSimon J. Gerraty2014-05-101-0/+2
| | | | | | | | Notes: svn path=/projects/bmake/; revision=265802
| * Merge head@256284Simon J. Gerraty2013-10-131-2/+2
| |\ | | | | | | | | | Notes: svn path=/projects/bmake/; revision=256424
| * | Updated dependenciesSimon J. Gerraty2013-10-131-0/+2
| | | | | | | | | | | | Notes: svn path=/projects/bmake/; revision=256419
| * | sync from headSimon J. Gerraty2013-04-121-3/+3
| |\ \ | | | | | | | | | | | | Notes: svn path=/projects/bmake/; revision=249429
| * | | Updated dependenciesSimon J. Gerraty2013-03-111-0/+1
| | | | | | | | | | | | | | | | Notes: svn path=/projects/bmake/; revision=248169
| * | | Updated dependenciesSimon J. Gerraty2013-02-161-2/+0
| | | | | | | | | | | | | | | | Notes: svn path=/projects/bmake/; revision=246868
| * | | Sync from headSimon J. Gerraty2012-11-041-3/+6
| |\ \ \ | | | | | | | | | | | | | | | Notes: svn path=/projects/bmake/; revision=242545
| * | | | Sync FreeBSD's bmake branch with Juniper's internal bmake branch.Marcel Moolenaar2012-08-221-0/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Requested by: Simon Gerraty <sjg@juniper.net> Notes: svn path=/projects/bmake/; revision=239572
* | | | | Convert sbin/ to LIBADDBaptiste Daroussin2014-11-251-2/+1
| |_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | Reduce overlinking Notes: svn path=/head/; revision=275030
* | | | Sweep man pages replacing ad -> ada.Sergey Kandaurov2013-10-011-2/+2
| |_|/ |/| | | | | | | | | | | | | | | | | | | | | | | Approved by: re (blackend) MFC after: 1 week X-MFC note: stable/9 only Notes: svn path=/head/; revision=255977
* | | Cross-reference gvinum(8) instead of vinum(8).Joel Dahl2013-03-161-3/+3
| |/ |/| | | | | Notes: svn path=/head/; revision=248385
* | Check the return error of set[e][ug]id. While this can never fail in theEitan Adler2012-10-221-3/+6
|/ | | | | | | | | | | | | current version of FreeBSD, this isn't guarenteed by the API. Custom security modules, or future implementations of the setuid and setgid may fail. Submitted by: Erik Cederstrand Approved by: cperciva MFC after: 3 days Notes: svn path=/head/; revision=241848
* Add missing static keywords for global variables to tools in sbin/.Ed Schouten2011-11-041-1/+1
| | | | | | | | | These tools declare global variables without using the static keyword, even though their use is limited to a single C-file, or without placing an extern declaration of them in the proper header file. Notes: svn path=/head/; revision=227081
* mdoc: drop redundant .Pp and .LP callsUlrich Spörlein2010-10-081-2/+0
| | | | | | | They have no effect when coming in pairs, or before .Bl/.Bd Notes: svn path=/head/; revision=213573
* Remove dead variable assignmentsUlrich Spörlein2010-06-111-2/+1
| | | | | | | | Found by: clang static analyzer Verified by: md5(1) Notes: svn path=/head/; revision=209052
* Switch the default WARNS level for sbin/ to 6.Ruslan Ermilov2009-10-191-1/+0
| | | | | | | Submitted by: Ulrich Spörlein Notes: svn path=/head/; revision=198236
* Fix markup and some typos.Ruslan Ermilov2006-04-141-5/+14
| | | | Notes: svn path=/head/; revision=157748
* Make CCD be able to read and write Linux software raids.Martin Cracauer2006-04-132-0/+26
| | | | | | | | | | | | | Supported for raid-0 with <n> disks, raid-1 with 2 disks. Manpages have examples, warnings etc. Test scripts on http://www.cons.org/cracauer/ccdconfig-linux/ Reviewed by: alfred Notes: svn path=/head/; revision=157740
* Remove reference to raid(4), the RAIDframe manual page, which wasSimon L. B. Nielsen2005-08-201-1/+0
| | | | | | | | | | | deleted a while ago. PR: docs/85142 Submitted by: Jeremy Chadwick <freebsd@jdc.parodius.com> MFC after: 3 days Notes: svn path=/head/; revision=149318
* Garbage collect useless variables.Stefan Farfeleder2005-08-051-2/+0
| | | | Notes: svn path=/head/; revision=148719
* Spell "partition" correctly.Giorgos Keramidas2005-07-281-1/+1
| | | | | | | | | PR: docs/84198 Submitted by: Gary W. Swearingen MFC after: 3 days Notes: svn path=/head/; revision=148475
* Sync program's usage() with manpage's SYNOPSIS.Ruslan Ermilov2005-02-102-8/+6
| | | | Notes: svn path=/head/; revision=141611
* Sort sections.Ruslan Ermilov2005-01-181-10/+10
| | | | Notes: svn path=/head/; revision=140415
* Fixed display types.Ruslan Ermilov2005-01-151-5/+5
| | | | Notes: svn path=/head/; revision=140289
* Replace link to nonexistent raid(4) with one to geom(8). I don't likeDima Dorfman2004-10-311-2/+1
| | | | | | | | | | | implying that geom(8) is a RAID solution, but it can be used for that purpose, and a pointer in that direction is better than nothing. PR: 73088 Submitted by: Miguel Mendez <flynn@energyhq.es.eu.org> Notes: svn path=/head/; revision=137096
* Deal with double whitespace.Ruslan Ermilov2004-07-031-1/+1
| | | | Notes: svn path=/head/; revision=131506
* Mechanically kill hard sentence breaks.Ruslan Ermilov2004-07-021-20/+40
| | | | Notes: svn path=/head/; revision=131488