Mounting root filesystem in read only mode.
I am making an mp3 player for my car. I want the / file system to be read only and not run the diskcheck on bootup to keep it quick. This is my line in /etc/fstab
LABEL=/ / ext3 defaults,ro 0 0 Each time a boot, it checks the disk and remounts it in rw mode. What is the problem? Thanks Paul |
Filesystems
There's a better way. Instead of using the ext2 filesystem that requires a check if not shut down properly, why not use the ext3 or reiserfs filesystems? These require no check at the start and are better at recovering files that are damaged at shutdown.
|
Griffin,
I am using the ext3 filesystem as in LABEL=/ / ext3 defaults,ro 0 0 I belive that line will mount the / filesystem in ro mode with no need to check it, unless i am mistaken. -Paul |
It shouldn't run a check on your root partition because you have it set to 0. Do you have any other partitions? Like /usr, /boot, /home, or /var. If you do, you'll want to make sure they are set to 0 also.
As for the root partition being mounted read/write, it's in one of the start up scripts. You should find a line that remounts the root partition read/write. In zipslack it looks like this. /sbin/mount -w -v -n -o remount / BTW, MasterC has an linux mp3 system in his truck. Maybe he can give you some tips. Here are a couple of his threads. http://www.linuxquestions.org/questi...ighlight=truck http://www.linuxquestions.org/questi...ighlight=truck |
All times are GMT -5. The time now is 10:23 PM. |