From owner-freebsd-questions Tue Jan 7 18:14:34 2003 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DDDC237B401 for ; Tue, 7 Jan 2003 18:14:32 -0800 (PST) Received: from mired.org (ip68-97-54-220.ok.ok.cox.net [68.97.54.220]) by mx1.FreeBSD.org (Postfix) with SMTP id AFB7143EDC for ; Tue, 7 Jan 2003 18:14:26 -0800 (PST) (envelope-from mwm-dated-1042424065.a96438@mired.org) Received: (qmail 5140 invoked from network); 8 Jan 2003 02:14:25 -0000 Received: from localhost.mired.org (HELO guru.mired.org) (127.0.0.1) by localhost.mired.org with SMTP; 8 Jan 2003 02:14:25 -0000 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15899.35200.921465.719387@guru.mired.org> Date: Tue, 7 Jan 2003 20:14:24 -0600 To: Cc: "FBSDQ" Subject: Re: LS -L command, year created field contains hour:minute instead of year In-Reply-To: References: X-Mailer: VM 7.07 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid X-face: "5Mnwy%?j>IIV\)A=):rjWL~NB2aH[}Yq8Z=u~vJ`"(,&SiLvbbz2W`; h9L,Yg`+vb1>RG% *h+%X^n0EZd>TM8_IB;a8F?(Fb"lw'IgCoyM.[Lg#r\ From: Mike Meyer X-Delivery-Agent: TMDA/0.67 (Whirlaway) Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG In , JoeB typed: > The LS -L command will display the long info about files > in a directory. FBSD 4.0 through 4.5 LS -L command would > display among other things the month/day/year the file > was created. FBSD versions 4.6 and 4.7 displays the > hour:minute the file was created in the year field instead > of the year. To me this looks like there is a bug in the > routine that populates the file's creation date field upon > creation of the file and the LS -L command is just displaying > what it finds in the year field which has been populated > with incorrect data. > > I am looking for confirmation of my interpretation of the > problem from other FBSD users, before I submit PR on it. I don't think you're looking far enough into the past. The time is displayed if the file was created in the last year. Otherwise, the year is displayed. I don't believe that this behavior has changed recently, and couldn't find anything in the CVS logs indicating that it had. http://www.mired.org/consulting.html Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message