From owner-freebsd-hackers Sun Apr 8 12:13:28 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from scribble.fsn.hu (scribble.fsn.hu [193.224.40.95]) by hub.freebsd.org (Postfix) with SMTP id 72CA037B42C for ; Sun, 8 Apr 2001 12:13:17 -0700 (PDT) (envelope-from bra@fsn.hu) Received: (qmail 47009 invoked by uid 1000); 8 Apr 2001 19:13:15 -0000 Received: from localhost (sendmail-bs@127.0.0.1) by localhost with SMTP; 8 Apr 2001 19:13:15 -0000 Date: Sun, 8 Apr 2001 21:13:15 +0200 (CEST) From: Attila Nagy To: Subject: Mounting partitions with RO flag Message-ID: <20010408210425.J45749-100000@scribble.fsn.hu> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hello, I have a really stupid question, so please forgive me if the answer is trivial for you... With the appearing of the jail() in 4.0 I think it would be very good to have the functionality of mounting already mounted (RW) filesystems read only to another directory. For example there are several daemons which can run on a read only filesystem, like an anonymous FTP daemon for extra security in a jail. nullfs and unionfs would be suitable for these tasks but they have problems in at least -STABLE, so there are only hacks for doing this, like NFS mounted filesystems and partition "magic" (defining a lot of partitions onto the same physical space). So I am wondering, why the unices block mounting an already mounted partition read only again. Would it be possible to solve this under FreeBSD? Thanks, -------------------------------------------------------------------------- Attila Nagy e-mail: Attila.Nagy@fsn.hu Budapest Polytechnic (BMF.HU) @work: +361 210 1415 (194) H-1084 Budapest, Tavaszmezo u. 15-17. cell.: +3630 306 6758 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message