Solved i want to add new feature to ext2 file system

February 26, 2015 at 01:51:32
Specs: Linux i686
So, i modified ext2 file system source code from linux-3.18.7, i enetered into my new kernel in ubuntu, and i created ext2 file system in pendrive using the following command
mkfs.ext2 /dev/sdb1
/dev/sdb1 is my usb device mount point.
After that i tried to mount the pendrive ,
mount -t ext2 /dev/sdb1 /media/usb.
Am getting error like mount:stale file handle
how to mount ext2 file system in latest ubuntu
if anybody know means reply as soon as possible
thanks in advance

See More: i want to add new feature to ext2 file system

Report •

#1
February 26, 2015 at 02:23:12

Report •

#2
February 26, 2015 at 02:25:28
✔ Best Answer
This error message means that the device was removed whilst your process has an open file on it. I suspect it means that there is an error in your modifications to the ext2 code.

Report •

#3
February 26, 2015 at 02:39:52
thanks, i too think because of my modification it will occur. but i have to modify. i.e added one new strucutre member for original creator of file in ext2 inode structure from ext2.h file, and assigned the value in inode.c file. how can i handle this problem

Report •

Related Solutions

#4
February 26, 2015 at 02:50:58
"how can i handle this problem"

You have to learn how to debug your driver code. If you are attempting this level of programming you must expect to do a fair amount of work to get it right.


Report •

Ask Question