loopback device semantics and UNIX mount(2) philosophy.

Tigran Aivazian (tigran@sco.COM)
Tue, 19 Oct 1999 08:25:02 +0100 (BST)


Hello,

The mount(2) system call will refuse to mount a device if it is already
mounted elsewhere. And rightly so. But mounting via loopback (-o loop)
allows to mount the same file on different mount points which causes some
unexpected results. I understand that this is because a
different /dev/loopX is allocated for each instance, but shouldn't the
mount fail even on a different /dev/loopX if it refers to a file already
attached to some other /dev/loopY to simulate the normal mount(2)
semantics?

regards,
------
Tigran A. Aivazian | http://www.sco.com
Escalations Research Group | tel: +44-(0)1923-813796
Santa Cruz Operation Ltd | http://www.ocston.org/~tigran

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