Messages in this thread | | | Date | Thu, 27 Jul 2000 01:53:43 -0400 (EDT) | From | (Steven S. Dick) | Subject | Re: multimounting cdroms ??? |
| |
Alexander Viro <viro@math.psu.edu> writes: [overmounting] >It needs to be fixed, but IMO the right answer is "don't give that power >to malicious user". mount _is_ a priveleged operation, after all. But yes, >this thing with stacking them over the same point needs to be fixed. IMO >"replacement" semantics is the right way to do that, but there are other >variants. It will be fixed one way or another before the 2.4.0-final.
It seems to me that if device and target path are identical, only the options need to be changed, not the whole mount, and if no options are changed, the whole operation should be ignored.
In other cases, it would be better to stack the mounts, especially if the device is different.
And even messier--can I rip out the bottom item in the stack?
I.e.,
mount /dev/fd0 /floppy mount /dev/fd1 /floppy umount /dev/fd0
Exactly how flexible are the semantics of this?
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/
| |