From owner-freebsd-questions Fri Feb 19 23:34:58 1999 Delivered-To: freebsd-questions@freebsd.org Received: from walnut.readington.com (walnut.readington.com [207.207.198.10]) by hub.freebsd.org (Postfix) with ESMTP id D479A11707 for ; Fri, 19 Feb 1999 23:34:28 -0800 (PST) (envelope-from chrismar@readington.com) Received: from localhost (chrismar@localhost) by walnut.readington.com (8.8.8/8.8.8) with ESMTP id CAA29563; Sat, 20 Feb 1999 02:55:28 -0500 (EST) (envelope-from chrismar@readington.com) Date: Sat, 20 Feb 1999 02:55:28 -0500 (EST) From: Chris To: cjclark@home.com Cc: neubyneu@twcny.rr.com, freebsd-questions@FreeBSD.ORG Subject: Re: Disk Quota question... In-Reply-To: <199902200708.CAA11434@cc942873-a.ewndsr1.nj.home.com> Message-ID: Webpage: http://www.weirdo.net/ MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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? 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