| #
bb2f41f9 |
| 24-Feb-2010 |
Jaakko Heinonen <jh@FreeBSD.org> |
MFC r202945:
Fixes for ls(1) long format (-l) output:
- Allow -h option to work if the listing contains at least one device file. - Align major and minor device numbers correctly to the size fiel
MFC r202945:
Fixes for ls(1) long format (-l) output:
- Allow -h option to work if the listing contains at least one device file. - Align major and minor device numbers correctly to the size field.
PR: bin/125678
show more ...
|
| #
af0a0fb1 |
| 30-Jan-2010 |
Edward Tomasz Napierala <trasz@FreeBSD.org> |
MFC r196712:
Add NFSv4 ACL support to ls(1).
MFC r196773:
Fix regression introduced in r196712 - the 'name' string needs to be rewritten for each file we want to check ACL on. Without this change
MFC r196712:
Add NFSv4 ACL support to ls(1).
MFC r196773:
Fix regression introduced in r196712 - the 'name' string needs to be rewritten for each file we want to check ACL on. Without this change, ls(1) would check only the ACL on the first file to list.
show more ...
|
| #
55926a66 |
| 24-Jan-2010 |
Jaakko Heinonen <jh@FreeBSD.org> |
Fixes for ls(1) long format (-l) output:
- Allow -h option to work if the listing contains at least one device file. - Align major and minor device numbers correctly to the size field.
PR: bin/1
Fixes for ls(1) long format (-l) output:
- Allow -h option to work if the listing contains at least one device file. - Align major and minor device numbers correctly to the size field.
PR: bin/125678 Approved by: trasz (mentor) MFC after: 1 month
show more ...
|
|
Revision tags: release/8.0.0_cvs, release/8.0.0 |
|
| #
10b3b545 |
| 17-Sep-2009 |
Dag-Erling Smørgrav <des@FreeBSD.org> |
Merge from head
|
| #
cbd59a4f |
| 08-Sep-2009 |
Oleksandr Tymoshenko <gonzo@FreeBSD.org> |
- MFC from head@196987
|
| #
a3429262 |
| 02-Sep-2009 |
Edward Tomasz Napierala <trasz@FreeBSD.org> |
Fix regression introduced in r196712 - the 'name' string needs to be rewritten for each file we want to check ACL on. Without this change, ls(1) would check only the ACL on the first file to list.
|
| #
f7b8687a |
| 31-Aug-2009 |
Edward Tomasz Napierala <trasz@FreeBSD.org> |
Add NFSv4 ACL support to ls(1).
|
|
Revision tags: release/7.2.0_cvs, release/7.2.0, release/7.1.0_cvs, release/7.1.0, release/6.4.0_cvs, release/6.4.0 |
|
| #
2af52e07 |
| 05-Apr-2008 |
Warner Losh <imp@FreeBSD.org> |
Turn a tab into a space. This fixes a misalignment for ls -l.
Tabs Noticed by: Antoine Brodin
|
| #
2269fa57 |
| 04-Apr-2008 |
Greg Lehey <grog@FreeBSD.org> |
Add -D option to specify exact format of date and time output with ls -l.
|
|
Revision tags: release/7.0.0_cvs, release/7.0.0, release/6.3.0_cvs, release/6.3.0, release/6.2.0_cvs, release/6.2.0 |
|
| #
b912fe73 |
| 18-Oct-2006 |
Ruslan Ermilov <ru@FreeBSD.org> |
Avoid a spurious warning for each whiteout found during "ls -lW".
# ls -lW total 2 -rw-r--r-- 1 root wheel 6 Oct 18 14:46 file1 ls: ./file2: No such file or directory w--------- 0 root wheel 0
Avoid a spurious warning for each whiteout found during "ls -lW".
# ls -lW total 2 -rw-r--r-- 1 root wheel 6 Oct 18 14:46 file1 ls: ./file2: No such file or directory w--------- 0 root wheel 0 Jan 1 1970 file2
show more ...
|
|
Revision tags: release/5.5.0_cvs, release/5.5.0, release/6.1.0_cvs, release/6.1.0 |
|
| #
fe79420e |
| 24-Mar-2006 |
John Baldwin <jhb@FreeBSD.org> |
Add a new -U flag to instruct ls to use the birthtime for printing or sorting.
Submitted by: Andrzej Tobola ato at iem dot pw dot edu dot pl MFC after: 1 week
|
|
Revision tags: release/6.0.0_cvs, release/6.0.0, release/5.4.0_cvs, release/5.4.0, release/4.11.0_cvs, release/4.11.0 |
|
| #
9ddb49cb |
| 10-Jan-2005 |
Warner Losh <imp@FreeBSD.org> |
/*- or .\"- or #- to begin license clauses.
|
|
Revision tags: release/5.3.0_cvs, release/5.3.0 |
|
| #
48a91b69 |
| 08-Jun-2004 |
David Schultz <das@FreeBSD.org> |
Remove from the printfns the assumption that dp->list != NULL. Even if there are no entries, these functions may be called to print the total number of blocks (0) for consistency's sake.
|
|
Revision tags: release/4.10.0_cvs, release/4.10.0 |
|
| #
478aa805 |
| 25-May-2004 |
Pawel Jakub Dawidek <pjd@FreeBSD.org> |
Use humanize_number(3).
Reminded by: jhb
|
| #
107409f4 |
| 02-May-2004 |
Tim J. Robbins <tjr@FreeBSD.org> |
Treat filenames as multibyte character strings (according to the current LC_CTYPE setting) when determining which characters are printable. This is an often-requested feature.
Use wcwidth() to deter
Treat filenames as multibyte character strings (according to the current LC_CTYPE setting) when determining which characters are printable. This is an often-requested feature.
Use wcwidth() to determine the number of column positions a character takes up, although there are still a few places left where we assume 1 byte = 1 column position, e.g. line-wrapping when handling the -m option.
The error handling here is somewhat more complicated than usual: we do our best to show what we can of a filename in the presence of conversion errors, instead of simply aborting.
show more ...
|
| #
6195fb41 |
| 06-Apr-2004 |
Mark Murray <markm@FreeBSD.org> |
Remove clause 3 from the UCB licenses.
OK'ed by: imp, core
|
| #
26337733 |
| 03-Apr-2004 |
Bosko Milekic <bmilekic@FreeBSD.org> |
Stop iterating over ACLs if we've already determined we will print them (i.e., number of successful calls to acl_get_entry() exceeds 3). This makes O(1) what was O(num_TYPE_ACCESS_ACLs).
This is a
Stop iterating over ACLs if we've already determined we will print them (i.e., number of successful calls to acl_get_entry() exceeds 3). This makes O(1) what was O(num_TYPE_ACCESS_ACLs).
This is a slightly modified version of submitter's patch.
PR: bin/65042 Submitted by: Christian S.J. Peron <maneo@bsdpro.com>
show more ...
|
| #
310924af |
| 01-Mar-2004 |
Colin Percival <cperciva@FreeBSD.org> |
Fixes to output of `ls -lh` for certain file sizes: 1. Sizes in the range 1000 -- 1023 units require four characters width for the integer; increase the field width to accomodate this. 2. Sizes in
Fixes to output of `ls -lh` for certain file sizes: 1. Sizes in the range 1000 -- 1023 units require four characters width for the integer; increase the field width to accomodate this. 2. Sizes in the range 9.95 -- 10 units were being displayed as "10.0" units; adjust the logic to fix this, and now that we've got an extra character of field width, print fractional units if the size is less than 99.95 units. 3. Don't display sub-byte precision.
This should mean that the following sizes are displayed: 0B .. 1023B 1.0U .. 9.9U 10.0U .. 99.9U 100U .. 1023U for values of U in "KMGTPE".
PR: bin/63547 Pointy hat to: cperciva Approved by: rwatson (mentor)
show more ...
|
|
Revision tags: release/5.2.1_cvs, release/5.2.1 |
|
| #
d3b68bf1 |
| 22-Jan-2004 |
Colin Percival <cperciva@FreeBSD.org> |
Fix alignment of size field in `ls -lh` -- the width was being computed from log[10](largest file size), but when outputting in human-friendly format the width is always at most 4. (eg. "123K", " 12K
Fix alignment of size field in `ls -lh` -- the width was being computed from log[10](largest file size), but when outputting in human-friendly format the width is always at most 4. (eg. "123K", " 12K", "1.2K".)
PR: bin/59320 Approved by: rwatson (mentor)
show more ...
|
|
Revision tags: release/5.2.0_cvs, release/5.2.0, release/4.9.0_cvs, release/4.9.0 |
|
| #
c5bc8709 |
| 16-Oct-2003 |
Tim J. Robbins <tjr@FreeBSD.org> |
Handle realloc() failure correctly.
|
|
Revision tags: release/5.1.0_cvs, release/5.1.0 |
|
| #
40feca3a |
| 03-May-2003 |
Mark Murray <markm@FreeBSD.org> |
Fix a bazillion warnings. This makes almost the whole of src/bin/* WARNS=6, std=c99 clean.
Tested on: i386, alpha
|
|
Revision tags: release/4.8.0_cvs, release/4.8.0, release/5.0.0_cvs, release/5.0.0 |
|
| #
3fceb9fd |
| 19-Dec-2002 |
Tim J. Robbins <tjr@FreeBSD.org> |
pathconf() and acl_get_file() follow links so they cannot be used to determine whether a symlink has an ACL. Instead, assume that symbolic links don't have ACLs and don't bother checking. Avoids spur
pathconf() and acl_get_file() follow links so they cannot be used to determine whether a symlink has an ACL. Instead, assume that symbolic links don't have ACLs and don't bother checking. Avoids spurious ENOENT warnings when listing directories containing broken symlinks on filesystems with ACLs enabled.
Pointed out by: rwatson, bde
show more ...
|
| #
e09fdabd |
| 06-Nov-2002 |
Tim J. Robbins <tjr@FreeBSD.org> |
Use warn() instead of perror() or fprintf() where appropriate.
|
| #
dd9aaeb0 |
| 03-Nov-2002 |
Tim J. Robbins <tjr@FreeBSD.org> |
Print a `+' character after the standard UNIX permission fields in long listings if the file has an extended ACL (more than the required 3 entries). This is what Solaris and IRIX do, and what the wit
Print a `+' character after the standard UNIX permission fields in long listings if the file has an extended ACL (more than the required 3 entries). This is what Solaris and IRIX do, and what the withdrawn POSIX.2c standard required.
Reviewed by: rwatson (an earlier version of the patch)
show more ...
|
| #
4d33b62e |
| 24-Oct-2002 |
Robert Watson <rwatson@FreeBSD.org> |
Teach "ls -Z" to use the policy-agnostic MAC label interfaces rather than the LOMAC-specific interfaces for listing MAC labels. This permits ls to view MAC labels in a manner similar to getfmac, whe
Teach "ls -Z" to use the policy-agnostic MAC label interfaces rather than the LOMAC-specific interfaces for listing MAC labels. This permits ls to view MAC labels in a manner similar to getfmac, when ls is used with the -l argument. Next generation LOMAC will use the MAC Framework so should "just" work with this and other policies. Not the prettiest code in the world, but then, neither is ls(1).
Obtained from: TrustedBSD Project Sponsored by: DARPA, Network Associates Laboratories
show more ...
|