public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* loopback on block device
@ 2004-10-27 18:20 Lei Yang
  2004-10-27 18:29 ` Lei Yang
  2004-10-27 18:58 ` linux-os
  0 siblings, 2 replies; 6+ messages in thread
From: Lei Yang @ 2004-10-27 18:20 UTC (permalink / raw)
  To: linux-kernel

Hello,

Here is a question for loopback device. As far as I understand,  the 
loopback device is used to mount files as if they were block devices.

Then Why I could do "losetup -e XOR /dev/loop0 /dev/ram0" ? Notice that 
ram0 is not mounted anywhere and does not have a filesystem on it. I've 
tried that command and there seems to be no error. I got confused and 
looked into loop.c, it seems to me that a loopback device should be 
associated with a "backing file", why would it work on a block device 
anyway?

I'd appreciate your comments greatly!

TIA,
Lei


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

end of thread, other threads:[~2004-10-28  9:43 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-10-27 18:20 loopback on block device Lei Yang
2004-10-27 18:29 ` Lei Yang
2004-10-28  0:31   ` Al Viro
2004-10-27 18:58 ` linux-os
2004-10-27 19:42   ` Lei Yang
2004-10-28  9:48     ` Helge Hafting

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