From owner-freebsd-questions Sat Feb 20 4:32:43 1999 Delivered-To: freebsd-questions@freebsd.org Received: from post.mail.demon.net (finch-post-10.mail.demon.net [194.217.242.38]) by hub.freebsd.org (Postfix) with ESMTP id 25C9310E05 for ; Sat, 20 Feb 1999 04:32:32 -0800 (PST) (envelope-from marko@uk.radan.com) Received: from [158.152.75.22] (helo=uk.radan.com) by post.mail.demon.net with smtp (Exim 2.12 #1) id 10EBaA-00002F-00; Sat, 20 Feb 1999 12:32:30 +0000 Organisation: Radan Computational Ltd., Bath, UK. Phone: +44-1225-320320 Fax: +44-1225-320311 Received: from marder-1. (rasnt-1 [193.114.228.211]) by uk.radan.com (8.6.10/8.6.10) with ESMTP id MAA01419; Sat, 20 Feb 1999 12:31:50 GMT Received: (from marko@localhost) by marder-1. (8.8.8/8.8.8) id MAA00248; Sat, 20 Feb 1999 12:30:14 GMT (envelope-from marko) Message-ID: <19990220123014.B185@localhost> Date: Sat, 20 Feb 1999 12:30:14 +0000 From: Mark Ovens To: Chris Cc: neubyneu@twcny.rr.com, freebsd-questions@freebsd.org Subject: Re: Disk Quota question... References: <199902200708.CAA11434@cc942873-a.ewndsr1.nj.home.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.93.2i In-Reply-To: ; from Chris on Sat, Feb 20, 1999 at 02:55:28AM -0500 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sat, Feb 20, 1999 at 02:55:28AM -0500, Chris wrote: > Forgive me if I'm wrong, but when you do a 'df' it says > Filesystem 1K-blocks, so wouldn't that mean that a block > for quota would be 1k? No. By default df(1) reports the number of 512-byte blocks, but if the environment variable BLOCKSIZE is set to 1024 it reports in KB's. This just makes it easier to translate to MB which is what you are probably interested in for diskspace. > When I set up my quotas I would > give everyone 5000 blocks, which I thought roughly > translated in 5 MB. I haven't had any complaints yet > about how "I'm supposed to get 5 MB, but I'm only > able to use 2.5" > > Chris > > On Sat, 20 Feb 1999, Crist J. Clark wrote: > > > D'oh!!! > > > > A block is 512 bytes NOT 512 kB!!! > > > > One block = 0.5 kB > > > > 1 MB = 1000 kB = 2000 blocks > > > > All my numbers were off by a factor of 1000. I'm just so used to doing > > that conversion lke a reflex... > > > > Crist J. Clark wrote, > > > [I'll skip the lecture about using mailers that put your text all on a > > > single line this time.] > > > > > > MPN wrote, > > > > I've just set up disk quotas. Everything is installed correctly. My only question is what is a block? How many bytes or megabytes is that? I need to set a limit of say...5 MB, how many blocks would that be? Also, what is an INODE? All help is greatly appreciated. Thanks in advance. Reply to neubyneu@twcny.rr.com > > > > > > Block = 512 kB = 0.5 MB, 'man df' is one place blocks are > > > mentioned. There are probably better references. > > > > > > Your limit, 5 MB = 10 Block > > > > > > An inode is an integer associated with a file on the filesystem. > > > Inodes are unique on a file system. A filename associates a string > > > with an inode. There are a fixed number of inodes on a given > > > filesystem. 'man inode' > > > -- > > > Crist J. Clark cjclark@home.com > > > > -- > > Crist J. Clark cjclark@home.com > > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > > with "unsubscribe freebsd-questions" in the body of the message > > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > -- FreeBSD - The Power To Serve http://www.freebsd.org My Webpage http://www.users.globalnet.co.uk/~markov _______________________________________________________________ Mark Ovens, CNC Apps Engineer, Radan Computational Ltd. Bath UK CAD/CAM solutions for Sheetmetal Working Industry mailto:marko@uk.radan.com http://www.radan.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message