From owner-freebsd-questions Fri Apr 12 7: 3:59 2002 Delivered-To: freebsd-questions@freebsd.org Received: from conn.mc.mpls.visi.com (conn.mc.mpls.visi.com [208.42.156.2]) by hub.freebsd.org (Postfix) with ESMTP id 725AC37B400 for ; Fri, 12 Apr 2002 07:03:57 -0700 (PDT) Received: from isis.visi.com (isis.visi.com [209.98.98.8]) by conn.mc.mpls.visi.com (Postfix) with ESMTP id 12B1381F6; Fri, 12 Apr 2002 09:03:57 -0500 (CDT) Received: by isis.visi.com (Postfix, from userid 7648) id 7D83476C27; Fri, 12 Apr 2002 09:03:56 -0500 (CDT) Date: Fri, 12 Apr 2002 09:03:56 -0500 From: Doug Lee To: Casey Scott Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Create times Message-ID: <20020412140356.GA19451@isis.visi.com> Mail-Followup-To: Doug Lee , Casey Scott , freebsd-questions@FreeBSD.ORG References: <002701c1e229$cfba63c0$0601a8c0@nixfusion.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <002701c1e229$cfba63c0$0601a8c0@nixfusion.com> User-Agent: Mutt/1.3.27i 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 On Fri, Apr 12, 2002 at 08:56:14AM -0500, Casey Scott wrote: > How can I get the create time of files? Doesn't the FBSD filesystem > record such information? If the answer is in the man pages, I can't find it. ls -cl is the closest there is. That reports the time the file status last changed. File status is changed by things like chmod, chown, and chgrp, which modify the inode rather than the file; but if no such commands have been applied to the file, the date shown should be the creation date. -- Doug Lee dgl@visi.com http://www.visi.com/~dgl To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message