[rescue] Re: \[rescue\] i\'m in love

Meelis Roos mroos at linux.ee
Fri Apr 29 02:32:08 CDT 2005


> What, mounting the same block of storage in multiple locations?  That
> doesn't seem reasonable at all.  If they all three suck up swap, and all
> three suck up available space frmo each other, they should be the same
> mount point.

tmpfs is not a block device. It's a filesystem that takes its storage 
blocks from VM subsystem (so they reside either in RAM or in swap - it's 
the task of VM to decide that) and builds a filesystem out of these.

When you mount several instances of tmpfs, each instance has its own 
blocks and own namespace. So files with the same name in different tmpfs 
mounts are not a problem - they are just different files.

When you really want to use the same tmpfs instance in multiple mount 
points, you could probably use "mount tree symlinks" - lofs in Solaris, 
bind mounts in Linux etc.

-- 
Meelis Roos (mroos at linux.ee)



More information about the rescue mailing list