From owner-freebsd-current Wed Jun 10 18:38:06 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id SAA13316 for freebsd-current-outgoing; Wed, 10 Jun 1998 18:38:06 -0700 (PDT) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from uni-sb.de (uni-sb.de [134.96.252.33]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id SAA13271 for ; Wed, 10 Jun 1998 18:37:50 -0700 (PDT) (envelope-from rock@wurzelausix.cs.uni-sb.de) Received: from cs.uni-sb.de (cs.uni-sb.de [134.96.252.31]) by uni-sb.de (8.9.0/1998052000) with ESMTP id DAA23038 for ; Thu, 11 Jun 1998 03:37:45 +0200 (CEST) Received: from doom.ics (acc1-225.telip.uni-sb.de [134.96.113.225]) by cs.uni-sb.de (8.9.0/1998060300) with ESMTP id DAA20229 for ; Thu, 11 Jun 1998 03:37:45 +0200 (CEST) Received: (from rock@localhost) by doom.ics (8.9.0/8.9.0) id DAA11434; Thu, 11 Jun 1998 03:38:19 +0200 (CEST) From: "D. Rock" MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Date: Thu, 11 Jun 1998 03:38:18 +0200 (CEST) To: current@FreeBSD.ORG Subject: some minor issues X-Mailer: VM 6.43 under 20.4 "Emerald" XEmacs Lucid Message-ID: <13695.12651.691131.409117@doom.ics> Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi, during the las few weeks I noticed the following (pretty minor) flaws in current: 1. quota doesn't know about local file systems. Shouldn't it be: *** /usr/src/usr.bin/quota/quota.c.orig Thu Jun 11 03:24:12 1998 --- /usr/src/usr.bin/quota/quota.c Thu Jun 11 03:24:20 1998 *************** *** 474,480 **** if (getnfsquota(&fst[i], NULL, qup, id, quotatype) == 0) continue; ! } else if (strcmp(fst[i].f_fstypename, "ffs") == 0) { /* * XXX * UFS filesystems must be in /etc/fstab, and must --- 474,480 ---- if (getnfsquota(&fst[i], NULL, qup, id, quotatype) == 0) continue; ! } else if (strcmp(fst[i].f_fstypename, "ufs") == 0) { /* * XXX * UFS filesystems must be in /etc/fstab, and must 2. FreeBSD switched to longer usernames (16 chars) long ago. But repquota reserves for the username field only 10 chars. Since for 80 char displays there is enough space left, I recommend leaving more room on the left for longer usernames. 3. sys/conf/param.c For many machines I use a very small value for "maxusers" (4-8). The only problem I encounter running out of open files long before I run out of processes. I would recommend setting #define MAXFILES (NPROC*4) Two open files per process is a little bit optimistic. 4. In my kernel config I used to have two entries with no port-flag: device sbxvi0 at isa? drq 5 device apm0 at isa? but apm0 wasn't probed "due to I/O address conflict with sbxvi0 at 0xffffffff. I had to enter a dummy port address to resolve this "conflict". Daniel To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message