Find the answer to your Linux question:
Results 1 to 2 of 2
hi all, i installed fc6 on my harddrive and below is the diskfree (df ) message i got filesystem size used avail user Mounted on /dev/mapper/volgroup00-logval00 20gb 3.2gb 12gb 32% ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Feb 2008
    Posts
    45

    Thumbs up readaonly


    hi all,

    i installed fc6 on my harddrive and below is the diskfree (df ) message i got

    filesystem size used avail user Mounted on
    /dev/mapper/volgroup00-logval00 20gb 3.2gb 12gb 32% /
    /dev/hda6 211M 16M 60M 11% /boot
    tmps 99M 0 99M /dev/shm

    now my requirement is

    I want to make one partiation as read only ( assume root ) and another partiation as read write ......because

    i want to store my application program (script program ) in read write & execute in that area only in case any sytem crash or power failure it will losed so anoter copy of my application must be in read only partiation.....so that i can copy from that in my application (script program )


    is this possible if yes how ?

    or any other alternations ?

    please help as early as possible...

    thanks in advance

  2. #2
    Linux Enthusiast apoorv_khurasia's Avatar
    Join Date
    Feb 2005
    Posts
    624
    Edit your /etc/fstab so that the line corresponding to / looks like this (assuming /dev/sda5 is your root partition.
    Code:
     /dev/sda5 / ext3 ro 1 1
    To find out which partition is root (/) use mount. When I do this I get the follwing output which means /dev/sda5 is my root partition.
    Code:
    /dev/sda5 on / type  ext3 <plus extra info>
    "There is no sixth rule"
    --Rob Pike
    Registered Linux User: 400426 home page

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •