lkml.org 
[lkml]   [2001]   [Sep]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [RFD] readonly/read-write semantics
On Sat, 1 Sep 2001, Alexander Viro wrote:

> IMO a part of the problem is that we are mixing "I'm not asking that
> to be writable" with "I won't let you write". The former belongs
> to the mounting side, the latter - to filesystem.

In addition to this, I would like to be sure that a (local or remote)
file system that is not mounted r/w will not be affected by local activity
(eg. not even if I pull the power cord).

> Notice that setups along the lines "mount /dev/sda5 read-only on
> /home/jail/pub and read-write on /home/ftp/pub" are not that
> unreasonable, so even for local filesystems it might make sense.
>
> IOW, I suspect that right solution would have two separate layers -
> * does anyone get write access under that mountpoint? (VFS)
> * is this fs asked to handle write access and had it agreed with that?
> (filesystem)

Then a mount point could be compared to the notion of view in a database,
right ? Sounds nice.

--
Jean-Marc Saffroy - Research Engineer - Silicomp Research Institute
mailto:saffroy@ri.silicomp.fr

-
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/

\
 
 \ /
  Last update: 2005-03-22 13:02    [W:0.096 / U:0.028 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site