ts-7000
[Top] [All Lists]

Re: [ts-7000] How to mount root filesystem read-only (and back)

To:
Subject: Re: [ts-7000] How to mount root filesystem read-only (and back)
From: "Gary Wicker" <>
Date: Thu, 24 May 2007 11:27:45 -0700
Bear in mind that there are things in the filesystem that must be writeable -- some stuff in /var, for example as well as /tmp of course.  You will need to move these to a ramdisk or other writeable filesystem in order to use a RO root fs.
 
Cheers
 
Gary

 
On 5/24/07, Michael Schmidt <> wrote:
> I know I've seen Technologic documentation about "hardening" a system
> by mounting the filesystem RO, but I can't seem to find it right now.
> Does anyone have a link or general instructions? I assume it involves
> modifying fstab.
>
> Also, once I have the filesystem mounted RO, how do I change the
> system back to mount it RW? That's the part that has me really stumped.

I don't remember the format for fstab, but you can change the FS from RO to
RW and back from the command line something like this:

mount -o remount,rw /dev/hda1 /mnt

mount -o remount,ro /dev/hda1 /mnt

(of course /dev/hda1 and /mnt must be replaced by the filesystem device and
mount point, respectively...)

Regards,

Michael




Yahoo! Groups Links

<*> To visit your group on the web, go to:
   http://groups.yahoo.com/group/ts-7000/

<*> Your email settings:
   Individual Email | Traditional

<*> To change settings online go to:
   http://groups.yahoo.com/group/ts-7000/join
   (Yahoo! ID required)

<*> To change settings via email:
   mailto:m("yahoogroups.com","ts-7000-digest");">
  

<*> To unsubscribe from this group, send an email to:
   m("yahoogroups.com","ts-7000-unsubscribe");">

<*> Your use of Yahoo! Groups is subject to:
   http://docs.yahoo.com/info/terms/


__._,_.___


SPONSORED LINKS
Single board computer Hardware Computer running slow
Linux os

Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: =Email Delivery: Digest | m("yahoogroups.com?subject","ts-7000-fullfeatured");=Change Delivery Format: Fully Featured">Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | =Unsubscribe

__,_._,___
<Prev in Thread] Current Thread [Next in Thread>
Admin

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU