[ECRYPTFS] ecryptfs_init_miscdev: Error whilst attempting to open [/dev/ecryptfs]
I am trying to port ecryptfs on mips target.
But when I run ecryptfsd it gives me the following error.
ecryptfs_init_miscdev: Error whilst attempting to open [/dev/ecryptfs]; errno msg = [No such device]
./ecryptfsd: ecryptfs_init_miscdev: Error whilst attempting to open [/dev/misc/ecryptfs]; errno msg = [No such device]
main: Failed to initialize messaging; rc = [-5]
Failed to send eCryptfs miscdev message; errno msg = [Bad file descriptor]
ecryptfs_send_message: Failed to register miscdev daemon with the eCryptfs kernel module; rc = [-5]
ecryptfsd_exit: Error attempting to send quit message to kernel; rc = [-5]
ecryptfsd_exit: Closing eCryptfs userspace daemon
It runs fine on the the desktop.
I have created the /dev/ecryptfs using the mknod command as mentioned below.
mknod /dev/ecryptfs c 10 58
But it still reports the same error.
Target conatains a read only file system so I have to create the device file separately and then burn the file system image on the target.
Please suggest any solution whoever has faced such problem and solved it.
Thanks in advance
|All times are GMT -5. The time now is 10:35 PM.|