Re: mount cramfs on loopback?

"Lennart Sorensen" <[email protected]>
Newsgroups gmane.linux.uclinux.devel
Message-ID <[email protected]>
On Tue, Feb 19, 2013 at 10:04:41AM -0800, Steve deRosier wrote:
> Hi Lennart,
> 
> On Tue, Feb 19, 2013 at 8:40 AM, Lennart Sorensen
> <[email protected]> wrote:
> >
> > The syntax from what I recall is:
> >
> > mount -t cramfs -o loop /path/imagefile /mountpoint
> >
> 
> 
> Yes, but that results in a "Block device required" error with
> uClinux's Busybox mount command.
> 
> >
> > Not really.  I haven't used cramfs for years.  I use cpio archives these
> > days with initramfs's tmpfs.  Not quite the same thing though in terms
> > of memory usage though.
> >
> 
> Unfortunately, not the same thing at all.  And of course I'm not doing
> this for the initial root filesystem. I'm trying to mount a filesystem
> from a file after boot. Footprint on flash is important.

Is your busybox built with BB_FEATURE_MOUNT_LOOP enabled?

Is your mountpoint in a location that permits mounts (apparently you can
forbid further mounts under a filesystem in some cases and this can make
mount return weird errors that don't point at the actual problem).

-- 
Len Sorensen
_______________________________________________
uClinux-dev mailing list
[email protected]
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by [email protected]
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.