mount -t jfffs2
Denis Vlasenko
vda.linux at googlemail.com
Sun Oct 29 00:47:48 UTC 2006
On Saturday 28 October 2006 18:30, Daniel Robinson wrote:
> Hi all,
>
> I am working on a project that contains an Intel P30 flash part. I set up
> /dev/mtd and "cat /proc/mtd" shows me the region of the chip on which I wish
> to have a small JFFS2 filesystem. I used mkfs.jffs2 to create a flash image
> and RedBoot to install it on the board.
>
> Busybox doesn't seem to have jffs2 as a type for mount. After a lot of
> googling, it looks like there was support for it at one time, or at least
> people talked about it.
>
> Is mount set up to get the filesystem type from the raw device? I'm
No, I don't think our mount knows _anything_ about
filesystem autodetection by analyzing block device contents.
I think it just tries all filesystem listed in
/etc/filesystems and/or /proc/filesystems until one succeeds.
> The command I'm using is "mount /dev/mtdblock0" /mnt/flash.
Please show output of
strace -o log mount /dev/mtdblock0 /mnt/flash
--
vda
More information about the busybox
mailing list