public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [RFC] Filesystem with multiple mount-points
@ 2004-05-02 13:24 Guennadi Liakhovetski
  2004-05-02 14:14 ` GNU/Dizzy
  2004-05-02 19:53 ` Denis Vlasenko
  0 siblings, 2 replies; 10+ messages in thread
From: Guennadi Liakhovetski @ 2004-05-02 13:24 UTC (permalink / raw)
  To: linux-kernel

Hi

Disclaimer: I am not a filesystem expert, so, what's below might be
absolute nonsense.

There are systems, where it is desirable to make some partitions,
possibly, including root, read-only, and some other, like, e.g., /var,
/home, /lib/modules read-writable. Those writable filesystems may be quite
small, so, putting them on separate partitions creates too much overhead
for filesystem metadata, journals... Making those directories soft-links
into one writable partition would work, but is not too nice.

So, how about adding a multiple mount-point option to some filesystem?
They would share metadata, journals, would be represented by several
directory-trees, and be mountable with, e.g.

mount -otree1 /dev/hda1 /var

or

mount /dev/hda1:1 /var

which, however, would be incompatible with older versions. /proc/mounts
would show something like

/dev/hda1:1 /var ...

df might just show tree1 - to maintain backwards compatibility. Later
mount and df could be tought to support this option natively.

Makes any sense at all?

Thanks
Guennadi
---
Guennadi Liakhovetski



^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2004-05-04  1:35 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-05-02 13:24 [RFC] Filesystem with multiple mount-points Guennadi Liakhovetski
2004-05-02 14:14 ` GNU/Dizzy
2004-05-02 16:04   ` Sean Neakums
2004-05-02 17:05     ` Herbert Poetzl
2004-05-02 16:18   ` Guennadi Liakhovetski
2004-05-02 16:28     ` viro
2004-05-02 17:58       ` Guennadi Liakhovetski
2004-05-02 22:10         ` Denis Vlasenko
2004-05-04  1:35           ` Frank v Waveren
2004-05-02 19:53 ` Denis Vlasenko

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox