Date: Sat, 20 Feb 1999 02:55:28 -0500 (EST) From: Chris <chrismar@readington.com> To: cjclark@home.com Cc: neubyneu@twcny.rr.com, freebsd-questions@FreeBSD.ORG Subject: Re: Disk Quota question... Message-ID: <Pine.BSF.4.10.9902200251200.29558-100000@walnut.readington.com> In-Reply-To: <199902200708.CAA11434@cc942873-a.ewndsr1.nj.home.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.10.9902200251200.29558-100000>