Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 8 Apr 2001 21:13:15 +0200 (CEST)
From:      Attila Nagy <bra@fsn.hu>
To:        <freebsd-hackers@freebsd.org>
Subject:   Mounting partitions with RO flag
Message-ID:  <20010408210425.J45749-100000@scribble.fsn.hu>

next in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010408210425.J45749-100000>