Mailinglist Archive: opensuse (3419 mails)
| < Previous | Next > |
Re: [opensuse] Mounting root (/) read only with touchscreen
- From: Jerry Feldman <gaf@xxxxxxx>
- Date: Sat, 14 Apr 2007 14:06:27 -0400
- Message-id: <20070414140627.5a96d81d@xxxxxxxxxxx>
On Tue, 10 Apr 2007 09:37:19 +0700 (WIT)
benang@xxxxxxxxxxxx wrote:
> Hi, this is my first question. I needed to mount root (/) with read only.
> I've searched the openSUSE website and found how to do it. It worked fine,
> but my touchscreen didn't. When I changed back to "rw" in fstab (and all
> the files that I changed before), the touchscreen worked again. Anybody
> know how to fix this?
There are a lot of reasons you do not want to mount root as RO.
Depending on your configuration, the directories, /var and /tmp
must be read-write. /var contains subdirectories for logging, spooling,
and other purposes.
The /dev directory also needs to be available because there are some
dynamic devices, such as USB, CD.
Normally, root is read-only in single-user mode (run level s or 1).
Additionally, when root is read-only, you can't mount other file
systems. As Theo points out, "mounting / ro is not how the FS is meant
to be used"
--
Jerry Feldman <gaf@xxxxxxx>
Boston Linux and Unix user group
http://www.blu.org PGP key id:C5061EA9
PGP Key fingerprint:053C 73EC 3AC1 5C44 3E14 9245 FB00 3ED5 C506 1EA9
benang@xxxxxxxxxxxx wrote:
> Hi, this is my first question. I needed to mount root (/) with read only.
> I've searched the openSUSE website and found how to do it. It worked fine,
> but my touchscreen didn't. When I changed back to "rw" in fstab (and all
> the files that I changed before), the touchscreen worked again. Anybody
> know how to fix this?
There are a lot of reasons you do not want to mount root as RO.
Depending on your configuration, the directories, /var and /tmp
must be read-write. /var contains subdirectories for logging, spooling,
and other purposes.
The /dev directory also needs to be available because there are some
dynamic devices, such as USB, CD.
Normally, root is read-only in single-user mode (run level s or 1).
Additionally, when root is read-only, you can't mount other file
systems. As Theo points out, "mounting / ro is not how the FS is meant
to be used"
--
Jerry Feldman <gaf@xxxxxxx>
Boston Linux and Unix user group
http://www.blu.org PGP key id:C5061EA9
PGP Key fingerprint:053C 73EC 3AC1 5C44 3E14 9245 FB00 3ED5 C506 1EA9
| < Previous | Next > |