From owner-freebsd-questions@FreeBSD.ORG Wed Dec 29 21:26:38 2004 Return-Path: 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 0398716A4CE for ; Wed, 29 Dec 2004 21:26:38 +0000 (GMT) Received: from mail.gmx.net (pop.gmx.net [213.165.64.20]) by mx1.FreeBSD.org (Postfix) with SMTP id 15F4E43D2F for ; Wed, 29 Dec 2004 21:26:37 +0000 (GMT) (envelope-from m@MHoerich.de) Received: (qmail invoked by alias); 29 Dec 2004 21:26:34 -0000 Received: from pD953CF19.dip.t-dialin.net (EHLO localhost) (217.83.207.25) by mail.gmx.net (mp027) with SMTP; 29 Dec 2004 22:26:34 +0100 X-Authenticated: #5114400 Date: Wed, 29 Dec 2004 22:29:57 +0100 From: Mario Hoerich To: Amy Dee Message-ID: <20041229212957.GA38657@Pandora.MHoerich.de> References: <20041229061553.95225.qmail@web30901.mail.mud.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20041229061553.95225.qmail@web30901.mail.mud.yahoo.com> User-Agent: Mutt/1.4.2.1i Organization: None, Inc X-OS: 5.3FreeBSD X-Y-GMX-Trusted: 0 cc: freebsd-questions@freebsd.org Subject: Re: Pop-up or plugin or script for folder change X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 Dec 2004 21:26:38 -0000 # Amy Dee: [ Gkrellm2 plugin for folder changes ] > Please notice I said folder, not file, so > gkrellm plugins I found are only for file changes, not > folder. Have you tried those plugins? Just like everything else, a directory *is* just a file. Go ahead, use vi or most[1] to look inside! You'll see a bunch of dirent(5) entries, one per file inside, plus some zero-padding. It's a pretty regular file actually (when compared to, say, printers), the only special thing being the lack of write access as only the kernel is allowed to write to a directory. Which it automagically does whenever a file within is added or removed. So unless the plugin developer decided to allow only regular files, you should be able to just use it for directories as well. HTH, Mario [1]: I think less (more is really less here) is less willing to cooperate on directories than most. --