lkml.org 
[lkml]   [1999]   [Oct]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subjectloopback device semantics and UNIX mount(2) philosophy.
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/

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