Bug 85187

Summary: [patch] find(1) manpage missing block info for -ls
Product: Documentation Reporter: Gary W. Swearingen <garys>
Component: Books & ArticlesAssignee: Tom Rhodes <trhodes>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.diff none

Description Gary W. Swearingen 2005-08-21 16:20:06 UTC
1) Manpage find(1) -ls description says "size in 512-byte blocks",
where it should have "number of 512-byte file system blocks used".

2) It says "ls -dgils." where it should say "ls -dgils, when the
environment has BLOCKSIZE=512".

3) It says "identical" where it should say
"identical (excepting whitespace)".

How-To-Repeat: 
$ sh -c 'BLOCKSIZE=k ls -dgils /boot/kernel/kernel'
12259 3504 -r-xr-xr-x  1 root  wheel  3569441 Jul 24 10:15 /boot/kernel/kernel

$ find /boot/kernel/ -name kernel -ls
 12259     7008 -r-xr-xr-x    1 root             wheel             3569441 Jul 24 10:15 /boot/kernel/kernel

$ sh -c 'BLOCKSIZE=512 ls -dgils /boot/kernel/kernel'
12259 7008 -r-xr-xr-x  1 root  wheel  3569441 Jul 24 10:15 /boot/kernel/kernel
Comment 1 Tom Rhodes freebsd_committer freebsd_triage 2009-01-27 23:17:20 UTC
State Changed
From-To: open->closed

Close this PR, the -g option is obsolete, Giorgos and I 
cannot seem to see how find handles BLOCKSIZE, and it 
appears the only useful part of this patch is the 
whitespace change.  While discussing this, 
Jilles Tjoelker chimed in and noted that: 
"with XSI -gl is different from -l." 


Comment 2 Tom Rhodes freebsd_committer freebsd_triage 2009-01-27 23:17:20 UTC
Responsible Changed
From-To: freebsd-doc->trhodes

Over to me.