From: Lei Yang <lya755@ece.northwestern.edu>
To: linux-kernel@vger.kernel.org
Subject: loopback on block device
Date: Wed, 27 Oct 2004 13:20:51 -0500 [thread overview]
Message-ID: <417FE703.3070608@ece.northwestern.edu> (raw)
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
next reply other threads:[~2004-10-27 18:29 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-10-27 18:20 Lei Yang [this message]
2004-10-27 18:29 ` loopback on block device 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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=417FE703.3070608@ece.northwestern.edu \
--to=lya755@ece.northwestern.edu \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox