Re: mount --bind -o ro /tmp /mnt/tmp

Rik van Riel (riel@conectiva.com.br)
Mon, 29 Oct 2001 15:06:11 -0200 (BRST)


On Mon, 29 Oct 2001, Maxim Timofeyev wrote:

> Why I can't mounted a r/w /tmp as r/o /mnt/tmp?

Because a filesystem being read-only is something the
kernel keeps track of on a per-superblock basis.

According to Al Viro, doing this on a per mount point
basis will be trivial in the future, once more parts
of the namespace patch will have been integrated into
the kernel.

(and yes, I'm looking forward to that day)

regards,

Rik

-- 
DMCA, SSSCA, W3C?  Who cares?  http://thefreeworld.net/  (volunteers needed)

http://www.surriel.com/ http://distro.conectiva.com/

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/