I need to perform cramfs file system on one file or directory in one partition to make the file read only. I don't want to make it read only by change mode command but I want to perform different file system to the file.

1 Answer 1


Create an image file, then mount it with -o loop parameter. And i recommend to not use cramfs, because squashfs is much better in every respect.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .