| Commit message (Collapse) | Author | Age | Files | Lines |
|\
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
| | |
|
| |\ |
|
| | | |
|
| | | |
|
| |\ \ |
|
| | | | |
|
| | | | |
|
| |\ \ \ |
|
| | \ \ \ | |
| | \ \ \ | |
| |\ \ \ \ \ |
|
| | |/ / / /
| |/| | | |
| | | | | |
| | | | | | |
Requested by: Simon Gerraty <sjg@juniper.net>
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
- Whitespace.
- Comments.
- Wrap long lines.
MFC after: 2 weeks
X-MFC-with: r284105,r284106
Sponsored by: EMC / Isilon Storage Division
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
This is also implemented in at least GNU coreutils cp.
While here also improve the '-l' handling to not open(2) the source file as
it does not actually need the descriptor.
Sponsored by: EMC / Isilon Storage Division
|
| |_|_|_|/
|/| | | | |
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
In an attempt to improve performance, cp reordered directories first
(although the comment says directories last). This is not effective with new
UFS layout policies.
The sorting reorders multiple arguments passed to cp, which may be
undesirable.
Additionally, the comparison function does not induce a total order. Per
POSIX, this causes undefined behaviour in qsort().
NetBSD removed the sorting in 2009.
On filesystems that return directory entries in hash/btree order, sorting by
d_fileno before statting improves performance on large directories. However,
this can only be implemented in fts(3).
PR: 53475
Reviewed by: bde (in 2004)
MFC after: 1 week
|
| | | | | |
|
| |_|_|/
|/| | |
| | | |
| | | | |
This uses utimensat().
|
| |_|/
|/| |
| | |
| | | |
Obtained from: OpenBSD
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
the -n option is specified and the destination file exists.
PR: bin/174489
Approved by: rstone (co-mentor)
MFC after: 2 weeks
|
| | |
| | |
| | |
| | |
| | |
| | | |
Otherwise with '-v' we print out the file name as if it was copied:
/tmp/2gb-card/M0132.CTG not overwritten
/mnt/DCIM/CANONMSC/M0132.CTG -> /tmp/2gb-card/M0132.CTG
|
| |/
|/|
| |
| |
| |
| |
| | |
-P is an alternative to -H and -L, and it is implemented using the Hflag and Lflag variables.
Approved by: cperciva
MFC after: 3 days
|
|/
|
|
|
| |
PR: docs/168962
MFC after: 1 month
|
|
|
|
|
|
|
|
|
| |
Previously, it would either try to copy it anyway and fail (without -R),
or create fifo instead of the socket (with -R).
Found with: Coverity Prevent
CID: 5623
MFC after: 2 weeks
|
|
|
|
| |
Also remove some local patches to diff(1) which are now unneeded.
|
|
|
|
|
|
|
|
|
|
|
|
| |
feature parity with du(1) and similar: When set, cp(1) will not traverse
mount points.
Initial patch by: Graham J Lee leeg teaching.physics.ox.ac.uk
PR: bin/88056
Initial patch by: Graham J Lee leeg teaching.physics.ox.ac.uk
Approved by: ed (mentor)
MFC after: 1 month
|
|
|
|
|
|
|
|
|
| |
Note that this changes error reporting behaviour somewhat - before,
no error was reported if ACL couldn't be copied because the target
filesystem doesn't support ACLs. Now, it will be reported - of course,
only if there actually is an ACL to copy.
Reviewed by: rwatson
|
|
|
|
|
|
|
|
|
| |
This reported ENOSYS before.
PR: bin/111226 (part of)
Submitted by: Martin Kammerhofer
Approved by: ed (mentor)
MFC after: 3 weeks
|
|
|
|
|
|
| |
compatibility interfaces in both kernel and libc.
Reviewed by: rwatson
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
in the system. A simple heuristics is used to detect what is "enough"
memory: if number of physmem pages is greater than 32k (equalling 128 MB
on machines with 4 kB pages).
Typical immediate result of these changes is reduction in context switches
and the goal is to increase efficiency by using large buffers:
before: /usr/bin/time -hlp cat file1 > file2
...
163 voluntary context switches
11194 involuntary context switches
after: /usr/bin/time -hlp ./cat file1 > file2
...
417 voluntary context switches
272 involuntary context switches
Reviewed by: hackers@ (no objections to earlier version of cat patch)
Approved by: gnn (mentor)
MFC after: 4 months
|
|
|
|
|
|
|
| |
like smbnetfs, do not support mmap.
Reported by: Harti Brandt
MFC after: 1 month
|
|
|
|
|
| |
Submitted by: kensmith
Approved by: rwatson (mentor)
|
|
|
|
|
| |
Approved by: rwatson
MFC after: 3 weeks
|
|
|
|
|
|
| |
compatibility with other implementations.
MFC after: 1 month
|
|
|
|
| |
Submitted by: Peter Jeremy <peterjeremy@optushome.com.au>
|
|
|
|
|
|
|
|
|
| |
warning is given when the directory doesn't exist.
PR: bin/50656
Submitted by: Edwin Groothuis <edwin@mavetju.org>
Approved by: grog@
Not reviewed by: grog@
|
| |
|
| |
|
| |
|
|
|
|
| |
Lesson from: bde
|
|
|
|
|
|
|
|
| |
compatible with old -r behavior with regards to -L. You can now copy fifos
and other special files with -r.
Reviewed by: -standards (long ago), das, bde
Approved by: bde (recently)
|
|
|
|
| |
Submitted by: bde
|
|
|
|
|
|
| |
o Place error checking code near to the syscall.
Submitted by: bde
|
|
|
|
|
|
|
|
| |
displayed by SIGINFO handler from overflow.
PR: bin/104039
Submitted by: Geoffrey Giesemann
MFC after: 2 weeks
|
|
|
|
| |
Overall still not kosher but better matches style(9).
|
|
|
|
| |
- Touch manpage's document date.
|
|
|
|
| |
attempt to enter append mode twice in vi(1). :-)
|
|
|
|
|
|
| |
Bikeshedded to death on: hackers
Submitted by:andersonatcenttech.com
MFC in: 1 month
|
|
|
|
| |
Obtained from: NetBSD, Coverity ID 1754
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This includes adding support for ACLs into cp(1) and mv(1) userspace
utilities.
For mv(1), if _PC_ACL_EXTENDED is in effect for the source AND destination
operands, the destination file's ACLs shall reflect the source.
For cp(1), if _PC_ACL_EXTENDED is in effect for both source and destination
operands, and -p has been specified, the ACLs from the source shall be
preserved on the destination.
MFC after: 1 month
|
|
|
|
| |
Noticed by: ru, who else? :)
|