From: Adrian Hunter <adrian.hunter@nokia.com>
To: Gilad Ben-Yossef <gilad@codefidence.com>
Cc: "linux-mtd@lists.infradead.org" <linux-mtd@lists.infradead.org>
Subject: Re: Loop back mounted files on UBIFS file system
Date: Wed, 18 Mar 2009 15:29:37 +0200 [thread overview]
Message-ID: <49C0F741.4070807@nokia.com> (raw)
In-Reply-To: <49BFC87D.5050608@codefidence.com>
Gilad Ben-Yossef wrote:
> Hi All,
>
>
> I am trying to loop back mount a file (which contains a FAT32 file
> system image), which resides on a UBIFS file system.
>
>
>
> Command I try:
>
> *# losetup -o 4096 /dev/loop/0 /mnt/ubifs/fat32
> ***
>
>
> Where /nnt/ubifs/ is the mount point of a valid UBIFS file system.
>
>
> The response I get is:
>
>
> losetup: /dev/loop/0: No such device or address
I tried it quickly with a recent kernel and also on 2.6.24
git://git.infradead.org/users/dedekind/ubifs-v2.6.24.git
and it seemed to work. I could mount and read and write.
/dev/loop/0 does exist doesn't it? What does losetup -f say?
>
>
> Trying a loopback mount from any other file system (such as tmpfs) works.
>
>
> Trying to do any other activity with the UBIFS file system works as well.
>
>
> Please note that I am NOT trying to loop back mount a file containing a
> UBIFS file system image and I read the FAQ and understand that this is
> not directly possible, disregarding nandsim. I am trying to do the
> opposite - loopback mount a file residing on an UBIFS file system.
>
>
> Googling around I've found another post citing what seems like the very
> same behaviour. The answer there was a reference to the above mentioned
> FAQ entry, which I believe is not relevant for the aforementioned reasons.
>
>
> Kernel version is 2.6.24 with the last back ported UBIFS support. I
> realize that this is an old version and no longer maintained and I'd be
> happy to try the latest and greatest, just wanted to make sure this is
> something that is supposed to work rather then that I am trying to do
> the impossible.
>
>
>
> Many thanks,
>
> Gilad
>
prev parent reply other threads:[~2009-03-18 13:29 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-03-17 15:57 Loop back mounted files on UBIFS file system Gilad Ben-Yossef
2009-03-18 13:29 ` Adrian Hunter [this message]
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=49C0F741.4070807@nokia.com \
--to=adrian.hunter@nokia.com \
--cc=gilad@codefidence.com \
--cc=linux-mtd@lists.infradead.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