From owner-freebsd-chat Thu Oct 19 22:28:29 2000 Delivered-To: freebsd-chat@freebsd.org Received: from smtp04.primenet.com (smtp04.primenet.com [206.165.6.134]) by hub.freebsd.org (Postfix) with ESMTP id DA39E37B479; Thu, 19 Oct 2000 22:28:27 -0700 (PDT) Received: (from daemon@localhost) by smtp04.primenet.com (8.9.3/8.9.3) id WAA03596; Thu, 19 Oct 2000 22:25:26 -0700 (MST) Received: from usr09.primenet.com(206.165.6.209) via SMTP by smtp04.primenet.com, id smtpdAAAjZaGZg; Thu Oct 19 22:25:18 2000 Received: (from tlambert@localhost) by usr09.primenet.com (8.8.5/8.8.5) id WAA10102; Thu, 19 Oct 2000 22:28:12 -0700 (MST) From: Terry Lambert Message-Id: <200010200528.WAA10102@usr09.primenet.com> Subject: Re: Traditional UN*X conventions (Or: Why not to login as root?) To: des@ofug.org (Dag-Erling Smorgrav) Date: Fri, 20 Oct 2000 05:28:11 +0000 (GMT) Cc: marko@FreeBSD.ORG (Mark Ovens), aw1@stade.co.uk (Adrian Wontroba), freebsd-chat@FreeBSD.ORG In-Reply-To: from "Dag-Erling Smorgrav" at Oct 19, 2000 10:39:21 PM X-Mailer: ELM [version 2.5 PL2] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-chat@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > > Then there was someone who found hundreds of 0 byte files in /dev and, > > you've guessed it, rm(1) again. Quite how he thought removing 0 byte files > > would create more disk space is anyones guess (I know it would release > > 512-bytes per inode, but anyone who doesn't know what /dev contains is > > highly unlikely to know what inodes are, or how much space they use). > > Device nodes don't even take up inodes, just directory space. Try an "ls -li" in /dev. You have to have an inode to support hard links and device ownership; or at least a vnode, and if we're not talking about devfs, that means the backing object is an inode. I think you are thinking of symlinks? Terry Lambert terry@lambert.org --- Any opinions in this posting are my own and not those of my present or previous employers. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-chat" in the body of the message