#
90aea514 |
|
23-Nov-2023 |
Warner Losh <imp@FreeBSD.org> |
bin: Remove ancient SCCS tags. Remove ancient SCCS tags from the tree, automated scripting, with two minor fixup to keep things compiling. All the common forms in the tree were removed with a perl script. Sponsored by: Netflix
|
#
b2c76c41 |
|
16-Aug-2023 |
Warner Losh <imp@FreeBSD.org> |
Remove $FreeBSD$: one-line nroff pattern Remove /^\.\\"\s*\$FreeBSD\$$\n/
|
#
bc0d1102 |
|
12-Jun-2018 |
Edward Tomasz Napierala <trasz@FreeBSD.org> |
Add an example to the chflags(1) man page. MFC after: 2 weeks
|
#
fdee29d7 |
|
06-Mar-2018 |
Bryan Drewery <bdrewery@FreeBSD.org> |
chflags: Add SIGINFO support. This is copied from chmod r311668. MFC after: 2 weeks
|
#
25d90d5c |
|
04-Mar-2018 |
Bryan Drewery <bdrewery@FreeBSD.org> |
chflags: Add -x option to not traverse mount points. MFC after: 2 weeks
|
#
fbbd9655 |
|
28-Feb-2017 |
Warner Losh <imp@FreeBSD.org> |
Renumber copyright clause 4 Renumber cluase 4 to 3, per what everybody else did when BSD granted them permission to remove clause 3. My insistance on keeping the same numbering for legal reasons is too pedantic, so give up on that point. Submitted by: Jan Schaumann <jschauma@stevens.edu> Pull Request: https://github.com/freebsd/freebsd/pull/96
|
#
ad34cace |
|
28-Apr-2015 |
Steven Hartland <smh@FreeBSD.org> |
Standardise chmod, chflags, chown and chgrp recursive symlink processing chmod, chflags, chgrp, chmod and chown now affect symlinks in -R mode as defined in symlink(7); previously symlinks were silently ignored. Differential Revision: https://reviews.freebsd.org/D2316 Reviewed by: jilles MFC after: 1 month Relnotes: yes Sponsored by: Multiplay
|
#
7da1a731 |
|
21-Aug-2013 |
Kenneth D. Merry <ken@FreeBSD.org> |
Expand the use of stat(2) flags to allow storing some Windows/DOS and CIFS file attributes as BSD stat(2) flags. This work is intended to be compatible with ZFS, the Solaris CIFS server's interaction with ZFS, somewhat compatible with MacOS X, and of course compatible with Windows. The Windows attributes that are implemented were chosen based on the attributes that ZFS already supports. The summary of the flags is as follows: UF_SYSTEM: Command line name: "system" or "usystem" ZFS name: XAT_SYSTEM, ZFS_SYSTEM Windows: FILE_ATTRIBUTE_SYSTEM This flag means that the file is used by the operating system. FreeBSD does not enforce any special handling when this flag is set. UF_SPARSE: Command line name: "sparse" or "usparse" ZFS name: XAT_SPARSE, ZFS_SPARSE Windows: FILE_ATTRIBUTE_SPARSE_FILE This flag means that the file is sparse. Although ZFS may modify this in some situations, there is not generally any special handling for this flag. UF_OFFLINE: Command line name: "offline" or "uoffline" ZFS name: XAT_OFFLINE, ZFS_OFFLINE Windows: FILE_ATTRIBUTE_OFFLINE This flag means that the file has been moved to offline storage. FreeBSD does not have any special handling for this flag. UF_REPARSE: Command line name: "reparse" or "ureparse" ZFS name: XAT_REPARSE, ZFS_REPARSE Windows: FILE_ATTRIBUTE_REPARSE_POINT This flag means that the file is a Windows reparse point. ZFS has special handling code for reparse points, but we don't currently have the other supporting infrastructure for them. UF_HIDDEN: Command line name: "hidden" or "uhidden" ZFS name: XAT_HIDDEN, ZFS_HIDDEN Windows: FILE_ATTRIBUTE_HIDDEN This flag means that the file may be excluded from a directory listing if the application honors it. FreeBSD has no special handling for this flag. The name and bit definition for UF_HIDDEN are identical to the definition in MacOS X. UF_READONLY: Command line name: "urdonly", "rdonly", "readonly" ZFS name: XAT_READONLY, ZFS_READONLY Windows: FILE_ATTRIBUTE_READONLY This flag means that the file may not written or appended, but its attributes may be changed. ZFS currently enforces this flag, but Illumos developers have discussed disabling enforcement. The behavior of this flag is different than MacOS X. MacOS X uses UF_IMMUTABLE to represent the DOS readonly permission, but that flag has a stronger meaning than the semantics of DOS readonly permissions. UF_ARCHIVE: Command line name: "uarch", "uarchive" ZFS_NAME: XAT_ARCHIVE, ZFS_ARCHIVE Windows name: FILE_ATTRIBUTE_ARCHIVE The UF_ARCHIVED flag means that the file has changed and needs to be archived. The meaning is same as the Windows FILE_ATTRIBUTE_ARCHIVE attribute, and the ZFS XAT_ARCHIVE and ZFS_ARCHIVE attribute. msdosfs and ZFS have special handling for this flag. i.e. they will set it when the file changes. sys/param.h: Bump __FreeBSD_version to 1000047 for the addition of new stat(2) flags. chflags.1: Document the new command line flag names (e.g. "system", "hidden") available to the user. ls.1: Reference chflags(1) for a list of file flags and their meanings. strtofflags.c: Implement the mapping between the new command line flag names and new stat(2) flags. chflags.2: Document all of the new stat(2) flags, and explain the intended behavior in a little more detail. Explain how they map to Windows file attributes. Different filesystems behave differently with respect to flags, so warn the application developer to take care when using them. zfs_vnops.c: Add support for getting and setting the UF_ARCHIVE, UF_READONLY, UF_SYSTEM, UF_HIDDEN, UF_REPARSE, UF_OFFLINE, and UF_SPARSE flags. All of these flags are implemented using attributes that ZFS already supports, so the on-disk format has not changed. ZFS currently doesn't allow setting the UF_REPARSE flag, and we don't really have the other infrastructure to support reparse points. msdosfs_denode.c, msdosfs_vnops.c: Add support for getting and setting UF_HIDDEN, UF_SYSTEM and UF_READONLY in MSDOSFS. It supported SF_ARCHIVED, but this has been changed to be UF_ARCHIVE, which has the same semantics as the DOS archive attribute instead of inverse semantics like SF_ARCHIVED. After discussion with Bruce Evans, change several things in the msdosfs behavior: Use UF_READONLY to indicate whether a file is writeable instead of file permissions, but don't actually enforce it. Refuse to change attributes on the root directory, because it is special in FAT filesystems, but allow most other attribute changes on directories. Don't set the archive attribute on a directory when its modification time is updated. Windows and DOS don't set the archive attribute in that scenario, so we are now bug-for-bug compatible. smbfs_node.c, smbfs_vnops.c: Add support for UF_HIDDEN, UF_SYSTEM, UF_READONLY and UF_ARCHIVE in SMBFS. This is similar to changes that Apple has made in their version of SMBFS (as of smb-583.8, posted on opensource.apple.com), but not quite the same. We map SMB_FA_READONLY to UF_READONLY, because UF_READONLY is intended to match the semantics of the DOS readonly flag. The MacOS X code maps both UF_IMMUTABLE and SF_IMMUTABLE to SMB_FA_READONLY, but the immutable flags have stronger meaning than the DOS readonly bit. stat.h: Add definitions for UF_SYSTEM, UF_SPARSE, UF_OFFLINE, UF_REPARSE, UF_ARCHIVE, UF_READONLY and UF_HIDDEN. The definition of UF_HIDDEN is the same as the MacOS X definition. Add commented-out definitions of UF_COMPRESSED and UF_TRACKED. They are defined in MacOS X (as of 10.8.2), but we do not implement them (yet). ufs_vnops.c: Add support for getting and setting UF_ARCHIVE, UF_HIDDEN, UF_OFFLINE, UF_READONLY, UF_REPARSE, UF_SPARSE, and UF_SYSTEM in UFS. Alphabetize the flags that are supported. These new flags are only stored, UFS does not take any action if the flag is set. Sponsored by: Spectra Logic Reviewed by: bde (earlier version)
|
#
a7d5f7eb |
|
19-Oct-2010 |
Jamie Gritton <jamie@FreeBSD.org> |
A new jail(8) with a configuration file, to replace the work currently done by /etc/rc.d/jail.
|
#
0d9deed5 |
|
07-Oct-2010 |
Ulrich Spörlein <uqs@FreeBSD.org> |
mdoc: drop redundant .Pp and .LP calls They have no effect when coming in pairs, or before .Bl/.Bd
|
#
fe0506d7 |
|
09-Mar-2010 |
Marcel Moolenaar <marcel@FreeBSD.org> |
Create the altix project branch. The altix project will add support for the SGI Altix 350 to FreeBSD/ia64. The hardware used for porting is a two-module system, consisting of a base compute module and a CPU expansion module. SGI's NUMAFlex architecture can be an excellent platform to test CPU affinity and NUMA-aware features in FreeBSD.
|
#
d7f03759 |
|
19-Oct-2008 |
Ulf Lilleengen <lulf@FreeBSD.org> |
- Import the HEAD csup code which is the basis for the cvsmode work.
|
#
1b21ffa6 |
|
08-Mar-2008 |
Robert Watson <rwatson@FreeBSD.org> |
Make chflags(1) more chmod(1)-like (and more feature complete): - Add -v to print file names as they are processed; -vv prints the flags change as well. - Add -f to ignore failures with the same semantics as chflags(1), neither printing an error nor affecting the return code. - Don't try to set the flags if they won't change. I made minor cosmetic tweaks to the code in the patch. MFC after: 1 week PR: 112827 Submitted by: Ighighi <ighighi at gmail.com>
|
#
2bb42822 |
|
27-May-2007 |
Pawel Jakub Dawidek <pjd@FreeBSD.org> |
Fix probably copy&paste from chmod(1) - we change file flags here, not mode.
|
#
64f9e6ad |
|
09-Mar-2006 |
Tom Rhodes <trhodes@FreeBSD.org> |
Use .Cm for all key words, not just the ones I added. More in line with mdoc(7) according to ru. Requested by: ru
|
#
4d5ea497 |
|
06-Mar-2006 |
Tom Rhodes <trhodes@FreeBSD.org> |
Slightly better markup. Discussed with: ru
|
#
6de681c6 |
|
03-Mar-2006 |
Tom Rhodes <trhodes@FreeBSD.org> |
Instead of just hinting at available octets, list some. Mention that the setting of securelevel may affect one's ability to alter flags. Xref security.7. Bump doc date.
|
#
7b020a2f |
|
14-Jun-2005 |
Ruslan Ermilov <ru@FreeBSD.org> |
Sort sections. Approved by: re (blanket)
|
#
7e81a152 |
|
14-May-2005 |
Dima Dorfman <dd@FreeBSD.org> |
Add an interface to the lchflags(2) syscall. The new -h option is analogous to chmod(1)'s -h. It allows setting flags on symbolic links, which *do* exist in 5.x+ despite a claim to the contrary in the chflags(1) man page. Suggested by: Chris Dillon
|
#
61001d75 |
|
24-Feb-2005 |
Tom Rhodes <trhodes@FreeBSD.org> |
Fix a few markup nits in previous commit. Noticed by: ru, who else? :)
|
#
51cf6329 |
|
23-Feb-2005 |
Tom Rhodes <trhodes@FreeBSD.org> |
Add information on utilities which may or may not be aware of file flags. PR: 55653 Submitted by: Tony Maher <tonymaher@optushome.com.au> (original version)
|
#
6fca4c7c |
|
16-Jan-2005 |
Ruslan Ermilov <ru@FreeBSD.org> |
Add the new standard EXIT STATUS section where appropriate. Sort standard sections in the (documented) preferred order.
|
#
9ddb49cb |
|
10-Jan-2005 |
Warner Losh <imp@FreeBSD.org> |
/*- or .\"- or #- to begin license clauses.
|
#
fc6db5e3 |
|
21-Sep-2004 |
Giorgos Keramidas <keramida@FreeBSD.org> |
Group equivalent flags together and delete the `aliases' section. PR: docs/70856 Submitted by: Rostislav Krasny <rosti_bsd@yahoo.com>
|
#
6195fb41 |
|
06-Apr-2004 |
Mark Murray <markm@FreeBSD.org> |
Remove clause 3 from the UCB licenses. OK'ed by: imp, core
|
#
b289f982 |
|
16-May-2003 |
Ruslan Ermilov <ru@FreeBSD.org> |
mdoc(7) police: Fix document date. Approved by: re (blanket)
|
#
ab46875a |
|
24-Mar-2003 |
Johan Karlsson <johan@FreeBSD.org> |
Document how to clear flags with negative-logic, currently only the nodump flag. PR: 46912 Reported by: dave@syix.com <dave@syix.com> MFC after: 2 weeks
|
#
d628d776 |
|
15-Aug-2001 |
Ruslan Ermilov <ru@FreeBSD.org> |
mdoc(7) police: utilize the new .Ex macro.
|
#
95a09b05 |
|
25-May-2001 |
Ruslan Ermilov <ru@FreeBSD.org> |
Make it clear that -P is the default. PR: docs/27629
|
#
9b88faec |
|
19-Dec-2000 |
Ruslan Ermilov <ru@FreeBSD.org> |
Prepare for mdoc(7)NG.
|
#
8fe908ef |
|
20-Nov-2000 |
Ruslan Ermilov <ru@FreeBSD.org> |
mdoc(7) police: use the new features of the Nm macro.
|
#
ec9247d5 |
|
03-Apr-2000 |
John Polstra <jdp@FreeBSD.org> |
Document that the flags can be specified as an octal number.
|
#
dd562b0e |
|
21-Nov-1999 |
Philippe Charnier <charnier@FreeBSD.org> |
Correct use of .Nm. Add DIAGNOSTICS section. Add rcsid
|
#
15856298 |
|
29-Aug-1999 |
Bruce Evans <bde@FreeBSD.org> |
Yet another previously forgotten merge from Lite2. (Describe `opaque', fix reversed description of `nodump', and don't use `nodump' as an example of adding a `no' prefix since the double negative would be confusing (it's still confusing -- the implicitly documented `nonodump' flag doesn't exist).)
|
#
c3aac50f |
|
27-Aug-1999 |
Peter Wemm <peter@FreeBSD.org> |
$Id$ -> $FreeBSD$
|
#
601fc2b9 |
|
24-Jun-1997 |
Philippe Charnier <charnier@FreeBSD.org> |
Document the use of `ls -lo' to see flags. Obtained from: OpenBSD.
|
#
50dab48a |
|
02-Jun-1997 |
Julian Elischer <julian@FreeBSD.org> |
Submitted by: Whistle Communications (archie Cobbs) These changes add the ability to specify that a UFS file/directory cannot be unlinked. This is basically a scaled back version of the IMMUTABLE flag. The reason is to allow an administrator to create a directory hierarchy that a group of users can arbitrarily add/delete files from, but that the hierarchy itself is safe from removal by them. If the NOUNLINK definition is set to 0 then this results in no change to what happens normally. (and results in identical binary (in the kernel)). It can be proven that if this bit is never set by the admin, no new behaviour is introduced.. Several "good idea" comments from reviewers plus one grumble about creeping featurism. This code is in production in 2.2 based systems
|
#
c8da9b75 |
|
19-Feb-1997 |
Mike Pritchard <mpp@FreeBSD.org> |
Use the .Bx macro in the HISTORY section.
|
#
995369a6 |
|
18-Feb-1997 |
David E. O'Brien <obrien@FreeBSD.org> |
Add history section. Follows chflags(2).
|
#
62a1ce7a |
|
27-Dec-1994 |
Bruce Evans <bde@FreeBSD.org> |
Document the arch flag. It has always worked in 2.0. Document aliases for the flags. The formatting of the section describing the flags is poor.
|
#
9b50d902 |
|
26-May-1994 |
Rodney W. Grimes <rgrimes@FreeBSD.org> |
BSD 4.4 Lite Usr.bin Sources
|