From owner-freebsd-questions Wed Dec 8 23:14:24 1999 Delivered-To: freebsd-questions@freebsd.org Received: from axl.noc.iafrica.com (axl.noc.iafrica.com [196.31.1.175]) by hub.freebsd.org (Postfix) with ESMTP id 66C9D1515E for ; Wed, 8 Dec 1999 23:14:20 -0800 (PST) (envelope-from sheldonh@axl.noc.iafrica.com) Received: from sheldonh (helo=axl.noc.iafrica.com) by axl.noc.iafrica.com with local-esmtp (Exim 3.11 #1) id 11vxmC-000Ap6-00; Thu, 09 Dec 1999 09:14:08 +0200 From: Sheldon Hearn To: Zhihui Zhang Cc: freebsd-questions@FreeBSD.ORG Subject: Re: hopefully three simple questions In-reply-to: Your message of "Wed, 08 Dec 1999 11:19:01 EST." Date: Thu, 09 Dec 1999 09:14:08 +0200 Message-ID: <41607.944723648@axl.noc.iafrica.com> Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Wed, 08 Dec 1999 11:19:01 EST, Zhihui Zhang wrote: > (1) How to determine the deepest directory in a filesystem? > > (2) How to find the largest directory in a filesystem? I mean the one > with the maximum number of files in it. I'm pretty sure these would require full traversal of the filesystem. > (3) How to enforce automatic logout after specified amount of time? If the login.conf(5) ``sessiontime'' variable is honoured, you're in luck. :-) Later, Sheldon. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message