aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/extattrctl
Commit message (Collapse)AuthorAgeFilesLines
* Remove residual blank line at start of MakefileWarner Losh2024-07-151-1/+0
| | | | | | | This is a residual of the $FreeBSD$ removal. MFC After: 3 days (though I'll just run the command on the branches) Sponsored by: Netflix
* man filesystems: fix xrefs after move to section 4Alexander Ziaee2024-05-161-1/+1
| | | | | Reviewed by: des, imp Pull Request: https://github.com/freebsd/freebsd-src/pull/1077
* Remove $FreeBSD$: two-line nroff patternWarner Losh2023-08-161-2/+0
| | | | Remove /^\.\\"\n\.\\"\s*\$FreeBSD\$$\n/
* Remove $FreeBSD$: one-line sh patternWarner Losh2023-08-162-2/+0
| | | | Remove /^\s*#[#!]?\s*\$FreeBSD\$.*$\n/
* Remove $FreeBSD$: two-line .h patternWarner Losh2023-08-161-2/+0
| | | | Remove /^\s*\*\n \*\s+\$FreeBSD\$$\n/
* spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSDWarner Losh2023-05-121-1/+1
| | | | | | | | | The SPDX folks have obsoleted the BSD-2-Clause-FreeBSD 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-1/+0
|
* Fix a few mandoc issuesGordon Bergling2020-10-091-1/+1
| | | | | | | | | | | - no blank before trailing delimiter - whitespace at end of input line - sections out of conventional order - normalizing date format - AUTHORS section without An macro Notes: svn path=/head/; revision=366572
* various: general adoption of SPDX licensing ID tags.Pedro F. Giffuni2017-11-271-0/+2
| | | | | | | | | | | | | | | | | 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
* Add META_MODE support.Simon J. Gerraty2015-06-131-0/+19
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * 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
| * 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 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
* Close fd in initattr() and showattr().Kevin Lo2010-12-081-0/+6
| | | | | | | Reviewed by: rwatson Notes: svn path=/head/; revision=216292
* The last big commit: let usr.sbin/ use WARNS=6 by default.Ed Schouten2010-01-021-2/+0
| | | | Notes: svn path=/head/; revision=201390
* ANSIfy some more tools in usr.sbin/.Ed Schouten2010-01-021-1/+1
| | | | | | | | Most of these tools build with WARNS=6, except for their use of K&R function declarations. Notes: svn path=/head/; revision=201387
* Fixed the misplaced $FreeBSD$.Ruslan Ermilov2005-02-091-1/+1
| | | | Notes: svn path=/head/; revision=141580
* When giving examples of how to use extattrctl(8) to configure UFS1Robert Watson2003-05-141-4/+4
| | | | | | | | | | attributes, use the current convention for attribute directory names so that UFS_EXTATTR_AUTOSTART will work with them. Approved by: re (scottl) Notes: svn path=/head/; revision=115002
* style.Makefile(5)David E. O'Brien2003-04-041-1/+2
| | | | Notes: svn path=/head/; revision=113091
* The .Nm utilityPhilippe Charnier2002-07-141-2/+3
| | | | Notes: svn path=/head/; revision=99968
* Cross-reference with ffs(7).Chris Costello2002-06-271-0/+1
| | | | | | | Sponsored by: DARPA, NAI Labs Notes: svn path=/head/; revision=98905
* Make it clear that this applies only to UFS1 file systems, as UFS2 willRobert Watson2002-06-221-3/+3
| | | | | | | | | | | have native extended attributes rather than stacked extended attributes. While I'm at it, make sure UFS_EXTATTR is not spelt FFS_EXTATTR. Sponsored by: DARPA, NAI Labs Obtained from: TrustedBSD Project Notes: svn path=/head/; revision=98602
* Clean up usage message: don't put optional parameter's in brackets.Robert Watson2002-04-191-7/+7
| | | | | | | | | | | Update copyright date. Obtained from: TrustedBSD Project Sponsored by: DARPA, NAI Labs Extracted from: green Notes: svn path=/head/; revision=95018
* Simplify and optimize. This speeds up 'initattr' enormously for smallDag-Erling Smørgrav2002-04-061-41/+29
| | | | | | | attribute sizes (up to two orders of magnitude!) Notes: svn path=/head/; revision=93928
* o Add a 'showattr' function the extattrctl, allowing a backing file toRobert Watson2001-12-312-0/+50
| | | | | | | be inspected to show the maximum attribute size and file. Notes: svn path=/head/; revision=88740
* Make extattrctl WARNS?=2-safe:Chris D. Faulhaber2001-11-272-8/+7
| | | | | | | | | | | | | o remove extraneous extern's o prototype functions o combine multiple return (0)'s into a single return (0) at the end of main() Approved by: rwatson Obtained from: TrustedBSD Project Notes: svn path=/head/; revision=86994
* o Reflect moving of extattr_namespace calls to libc from libutil; noRobert Watson2001-11-161-3/+0
| | | | | | | | | | longer need to link libutil into command-line extended attribute utilities. Obtained from: TrustedBSD Project Notes: svn path=/head/; revision=86453
* o Update copyright dates, comments...Robert Watson2001-11-152-3/+11
| | | | | | | Obtained from: TrustedBSD Project Notes: svn path=/head/; revision=86429
* o extattrctl initattr, when pre-allocating store for extended attributes,Robert Watson2001-11-151-4/+4
| | | | | | | | | | | | | | | computed a a chunksize that didn't include the extended attribute header. This was a non-fatal error, in that it was just writing out zeros anyway, but did have the effect of not pre-allocating the right amount of disk space. This fix calculates chunksize to include the attribute header. Submitted by: Dale Rahn Sponsored by: DARPA, UPenn POSSE Project Obtained from: OpenBSD Notes: svn path=/head/; revision=86428
* Perform a major cleanup of the usr.sbin Makefiles.David E. O'Brien2001-07-201-0/+1
| | | | | | | | These are not perfectly in agreement with each other style-wise, but they are orders of orders of magnitude more consistent style-wise than before. Notes: svn path=/head/; revision=80029
* Remove GCC'isms in CFLAGS.David E. O'Brien2001-07-201-1/+0
| | | | Notes: svn path=/head/; revision=80022
* mdoc(7) police: remove extraneous .Pp before and/or after .Sh.Dima Dorfman2001-07-091-1/+0
| | | | Notes: svn path=/head/; revision=79454
* Fix LDADD and add missing DPADD.Ruslan Ermilov2001-03-271-2/+4
| | | | Notes: svn path=/head/; revision=74866
* - Backout botched attempt to introduce MANSECT feature.Ruslan Ermilov2001-03-261-0/+1
| | | | | | | - MAN[1-9] -> MAN. Notes: svn path=/head/; revision=74816
* Set the default manual section for usr.sbin/ to 8.Ruslan Ermilov2001-03-201-2/+0
| | | | Notes: svn path=/head/; revision=74532
* o Rename "namespace" argument to "attrnamespace" as namespace is a C++Robert Watson2001-03-192-13/+13
| | | | | | | | | | reserved word. Submitted by: jkh Obtained from: TrustedBSD Project Notes: svn path=/head/; revision=74441
* Correct the arguments to the extattrct()l call so that the enable andThomas Moestl2001-03-171-3/+3
| | | | | | | | | disable commands work as documented. Approved by: rwatson Notes: svn path=/head/; revision=74394
* mdoc(7) police: -mdoc still has a nine-arguments limitation.Ruslan Ermilov2001-03-161-2/+2
| | | | Notes: svn path=/head/; revision=74350
* o Update extattrctl to take into account the updated EA interface withRobert Watson2001-03-153-23/+59
| | | | | | | | | | | explicit namespaces. Modify it to use libutil for string/constant namespace conversions. Update the documentation to take into account the new interface. Obtained from: TrustedBSD Project Notes: svn path=/head/; revision=74275
* mdoc(7) police: split punctuation characters + misc fixes.Ruslan Ermilov2001-02-011-1/+1
| | | | Notes: svn path=/head/; revision=71898
* Prepare for mdoc(7)NG.Ruslan Ermilov2000-12-271-0/+1
| | | | Notes: svn path=/head/; revision=70403
* o Check return of strdup() for NULL, abort if so.Robert Watson2000-12-141-1/+4
| | | | | | | Submitted by: jedgar Notes: svn path=/head/; revision=70003
* mdoc(7) police: use the new features of the Nm macro.Ruslan Ermilov2000-11-201-5/+5
| | | | Notes: svn path=/head/; revision=68965
* o What a good idea, ``-o'' should be a ``-f'' like in every otherRobert Watson2000-09-122-6/+6
| | | | | | | | | | utility that is cautious but sometimes you want to be less cautious. Go figure. Submitted by: sheldonh Notes: svn path=/head/; revision=65777
* o Add a ``-o'' argument to initattr, which causes extattrctl to overwriteRobert Watson2000-09-122-4/+20
| | | | | | | | | | | | the existing attribute file rather than aborting with an error. o Useful if you want to reset the state of attributes on the system without allocating different disk blocks through deletion and recreation, for example, if you're doing benchmarks of extended attribute code. :-) Obtained from: TrustedBSD Project Notes: svn path=/head/; revision=65767
* o When pre-allocating attribute storage space, also allocate space forRobert Watson2000-09-071-3/+5
| | | | | | | | | | attribute instance headers, or higher inode numbers will require additional disk blocks to be allocated later. Obtained from: TrustedBSD Project Notes: svn path=/head/; revision=65589