[maemo-developers] [maemo-developers] Re: mounting squashfs-image fails with "block device required"

From: Phillip Lougher phillip.lougher at gmail.com
Date: Mon Oct 2 00:45:27 EEST 2006
Sascha Heid <saschaheid <at> gmail.com> writes:

> 
> Yes i see squashfs in there and it does not have "nodev" in front of
> it like most other fs do (i dunno what that means).
> It is built into the kernel. First i patched the kernel assuming its
> not already in since i couldn't find it in the defconfig. After
> patching it i added CONFIG_SQUASHFS=m into the config and recompiled
> the kernel.

"nodev" means a filesystem is a pseudo-filesystem which does not need a block
device.  Squashfs like all other disk based filesystems (i.e. ext3) requires a
block device, and so it doesn't have "nodev".

> > > I have /dev/loop, /dev/loop0,...,/dev/loop7.

A device entry in /dev doesn't actually mean your kernel has support for the
device.  I expect your kernel doesn't have loopback device support.  Cat
"/proc/devices", under "Block devices:" you should see "7 loop", i.e.

Block devices:
  1 ramdisk
  3 ide0
  7 loop
  9 md
 11 sr
 22 ide1
253 device-mapper
254 mdp

If you don't see it, check your kernel config and make sure loopback devices is
configured.  If it is built as a module, make sure it is inserted.

Regards

Phillip





More information about the maemo-developers mailing list