LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   read only root file system (https://www.linuxquestions.org/questions/linux-software-2/read-only-root-file-system-469654/)

santhosh.bachu 08-01-2006 05:18 AM

read only root file system
 
Hi friends,
Any one has any Idea on , how to create root file system "/" as Read-only .
what are all needed...for that..


what i have triend yet now..is
"
"
Quote:

/home/ups -- Moved and made Softlink -- /mnt/hda5/ups (moved to second partition hda2)
/var -- Moved and made Softlink -- /mnt/hda5/var (moved to second partition hda2)
/etc -- Moved and made Softlink -- /mnt/hda5/etc (moved to second partition hda2)
/tmp -- Moved and made Softlink -- /mnt/hda5/tmp (moved to second partition hda2)
/root -- Moved and made Softlink -- /mnt/hda5/etc (moved to second partition hda2)
/mnt/hda5/ this one i mounted before it self..in "mountfs" script...


I can able to login but i cant able to communicate with /dev/ttyS0 devices...and TCPIP programming also failing...
any inputs from you guys and girls,

thanks in advance,
santhosh kumar.B

marozsas 08-01-2006 06:45 AM

I think it is not possible because /dev needed to be writable. Every time you plug a usb device, change the partition table for any disk, new entries are created in /dev by hal, hotplug, kudzu, whatever.

What are you trying to accomplish ?

santhosh.linux 08-22-2006 06:41 AM

I want to communicate with with /dev/ttyS0 and sockets..and my root file system as read only..
so...provide inputs from u
Santhosh


All times are GMT -5. The time now is 04:52 PM.