From owner-freebsd-hackers Tue Nov 11 00:20:35 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id AAA07468 for hackers-outgoing; Tue, 11 Nov 1997 00:20:35 -0800 (PST) (envelope-from owner-freebsd-hackers) Received: from alpo.whistle.com (alpo.whistle.com [207.76.204.38]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id AAA07461 for ; Tue, 11 Nov 1997 00:20:31 -0800 (PST) (envelope-from julian@whistle.com) Received: (from daemon@localhost) by alpo.whistle.com (8.8.5/8.8.5) id AAA14683 for ; Tue, 11 Nov 1997 00:15:16 -0800 (PST) Received: from UNKNOWN(), claiming to be "current1.whistle.com" via SMTP by alpo.whistle.com, id smtpd014680; Tue Nov 11 00:15:07 1997 Message-ID: <3468139A.167EB0E7@whistle.com> Date: Tue, 11 Nov 1997 00:13:14 -0800 From: Julian Elischer Organization: Whistle Communications X-Mailer: Mozilla 3.0Gold (X11; I; FreeBSD 2.2-CURRENT i386) MIME-Version: 1.0 To: hackers@freebsd.org Subject: Out of mount flags in mount.h Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk I was porting some Whistle changes to -current, when I suddenly came up a show-stopper bug. we are out of flag bits. In other words we have run out of bits to describe how a filesystem might be mounted. (e.g. nosuid, noexec, readonly, etc.) does anyone have any suggestions about how to fix this? I notice that mount.c in src/sbin/mount has room for something called the "alt_flags". Is this an attempt to get around this? somehow I want to be able to mount a partition with my SUID-directory changes, but while it fits under 2.2.5 (what we use) I can't migrate it forward to 3.0.. suggestions gratefuly received. rewriting every function and program that uses the mount flags is going to be grim.. maybe just define it to be quad_t? Migration would be a pain.. julian