On Tuesday 22 May 2012 20:58:34 S. K. wrote: > Thanks again.
> It sounds has been mounted correctly, but about the second way to check,
> where I have to create my files to see this changes. Is there any special
> path for this? (I create a folder contains some files on desktop but, it
> did not change.)
This is just basic *nix file handling.
Once you have mounted a file system, the files are then available under that
For example, if you mounted yaffs as:
mount -t yaffs2 /dev/mtdblock0 /mnt
then the files will be in the directory tree /mnt
You can create files and directories there and manipulate them just the same
as files on the disk:
echo "This is my file" > /mnt/my-file
> After that is there anyway for changing and improving the code? for example
> how I can change something in the source code of yaffs2?
Of course you can. The code is all there.
Edit in your changes and then
That will build a new module yaffs2multi.ko
> I have to mount it again after change again? or I can change it without
> mounting after that?
You have to unmount the file system and unload the old module then load the
new module and remount:
> From: Charles Manning <email@example.com>
> To: firstname.lastname@example.org; S. K. <email@example.com>
> Sent: Monday, May 21, 2012 3:22 AM
> Subject: Re: [Yaffs] How can I mount yaffs2 on ubuntu 12.04
> On Sunday 20 May 2012 16:44:19 S. K. wrote:
> > Hello Charles!
> > Thanks for your answer.
> > I did it all without any problem. How can I be sure that yaffs has been
> > mounted. I mean where can I see this change, where can I study its
> > mounted code and how can I change the code for example and check it?
> There are a few ways to check everything is there:
> 1) cat /proc/filesystems
> That lists the file systems available. You should see yaffs2 in the list.
> Without yaffs2 in the list, mount -t yaffs2 ... will not work anyway.
> 2) cat /proc/yaffs
> This will show info on the currently mounted yaffs partitions. You should
> see things change if you create files etc.
> 3) dmesg
> This shows kernel messages. There should be some yaffs messages. You can
> control yaffs tracing by using the yaffs tracing mechanism.
> > I have mnt folder in filesystem. it just contains
> lost+found folder. Is
> > there anything wrong?
> That sounds correct.
> > I thought yaffs2 will be added to my devices like a
> > usb or flappy. But it doesnt. Could you help me more?
> That only tracks certain file systems. It does not track all file systems.
> > ________________________________
> > From: Charles Manning <firstname.lastname@example.org>
> > To: email@example.com; S. K. <firstname.lastname@example.org>
> > Sent: Sunday, May 6, 2012 11:57 PM
> > Subject: Re: [Yaffs] How can I mount yaffs2 on ubuntu 12.04
> > On Saturday 05 May 2012 07:31:03 S. K. wrote:
> > > Hi everyone!
> > I have already became familiar with yaffs. I try to compile and mount it
> > > on ubuntu 12.04 and have no flash for this work so, I prefer using it`s
> > > nand emulator. Can you help me? I am not good at linux and need some
> > > help about what I have to do(exactly) step by step.
> > Fetch yaffs code from git.
> > cd yaffs2
> > Build yaffs2multi.ko:
> > make
> > As root do the following:
> > sudo -s
> > Install nandsim:
> > linuix-tests/initnandsim 128MiB-2048
> > cat /proc/mtd
> > Install yaffsmodule:
> > insmod yaffs2multi.ko
> > cat /proc/filesystems
> > mkdir /mnt
> > mount -t yaffs2 /dev/mtdblock0 /mnt
> > -- CHarles
This message was posted to the following mailing lists: