The mount-level parsing is getting hosed. You need to group the options
together so that they get passed as options. Try something like:
#mount -t yaffs2 -o "no-checkpoint-read no-checkpoint-write" \
/dev/mtdblock9 /mnt/yaffs/
On Saturday 20 October 2007 02:16:33
ttaier@126.com wrote:
> Hi all,
>
> When I tried to mount yaffs2 with two options "no-checkpoint-read"
> "no-checkpoint-write" together on linux-2.6.22, I got failed:
>
> " # mount -t yaffs2 -o no-checkpoint-read,no-checkpoint-write
> /dev/mtdblock9 /mnt/yaffs/</DIV> <DIV> yaffs: Bad mount option "
> "<BR> mount: Mounting /dev/mtdblock9 on /mnt/yaffs/ failed: Invalid
> argument "
>
> Both "no-checkpoint-read" and "no-checkpoint-write" are supported by
> yaffs2, but yaffs_parse_options failed to parse them. Seems
> yaffs_parse_options cann't skip the comma. I attached a patch to fix this
> bug.
>
>
> ----------
> Jiangli
>
>
>
>
>
>
>
>
>
> 你 玩 过 大 富 翁 吗 ?使 用 邮 箱 积 分 兑 换 道 具 ,点 击 这 里 >>