LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Security (https://www.linuxquestions.org/questions/linux-security-4/)
-   -   File System for embedded system (https://www.linuxquestions.org/questions/linux-security-4/file-system-for-embedded-system-845011/)

nima0102 11-18-2010 02:42 AM

File System for embedded system
 
Hi
In new project, that is one embedded linux system, I have to find one file system or solution to fulfill our requirements:

1- file system must be read only,it means user of system can not change any data on file system.(I have found squashfs for this need!but more guidance about such filesystems will be appreciate)
2- user (call it,malicious user!) can not mount this filesystem on another machine,it means I can pass some hardware information such as motherboard serial number or another unique info to this file system so that file system can be mount only on this hardware.name it, LOCK based on hardware.

These has been main concerns in this weekend:(

Thanks for any help or guidance

business_kid 11-18-2010 03:09 AM

I feel it would be foolish to use a known filesystem, and rely on you being the only one using it. better perhaps to explode an image into a block of ram mounted read only. Access could be turned off in the boot process. To really achieve (2) above, write your own proprietary filesystem. And watch out for the scenario where you upgrade a cpu or the like and can't read your own filesystem!

michelepike 11-19-2010 09:38 AM

Possible Solution
 
If you are open to looking at commercially available solutions, Datalight's file systems would fit your criteria http://www.datalight.com/products/fi...reliance-nitro

Reliance Nitro can be mounted read only. It would be simple to node-lock the drive to the machine through the file system, and it wouldn't be readable on another machine.

nima0102 11-19-2010 03:12 PM

Thanks for your attention
Unfortunately our budget is limit for now.If I can not find one file system with these features we have to patch SquashFS to justify our requirements.
Thanks for more guidance or information.


All times are GMT -5. The time now is 02:43 PM.