[opensuse] Mounting root (/) read only with touchscreen
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? Thanks alot in advance. Fare thee well, Bawenang R. P. P. ---------------- ERROR: Brain not found. Please insert a new brain! Do nothing which is of no use. - Miyamoto Musashi. "I live for my dream. And my dream is to live my life to the fullest." -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Tue, 10 Apr 2007, by benang@cs.its.ac.id:
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?
What exactly is 'this'? The fact that it worked again, or the fact that it stopped working after mounting ro? Theo -- Theo v. Werkhoven Registered Linux user# 99872 http://counter.li.org ICBM 52 13 26N , 4 29 47E. + ICQ: 277217131 SUSE 10.2 + Jabber: muadib@jabber.xs4all.nl Kernel 2.6.18 + See headers for PGP/GPG info. Claimer: any email I receive will become my property. Disclaimers do not apply. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
The fact that it didn't work with "ro" whereas I needed the root's partition to be mounted as "ro". I just explained that it worked with "rw" is to elaborate you guys that the driver is actually working. But not if it's mounted with "ro". Sorry for the confusion. I just didn't have enough experience with Linux in general. BTW, I've looked at the file "/var/log/boot.msg". It said that the driver needed to change some files in "/etc/X11/" and in "/usr/src/linux/include/asm". So, I made a tarball of the folders "/etc/X11/" and "/usr/src/linux/include/asm" and do the same thing to them like "/var" and "/tmp" (extracting them to "/dev/shm" and linked "/dev/shm/X11" & "/dev/shm/asm" to "/etc/X11" & "/usr/src/linux/include/asm"). It worked now. Well at least so far it worked. Theo v. Werkhoven said:
Tue, 10 Apr 2007, by benang@cs.its.ac.id:
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?
What exactly is 'this'? The fact that it worked again, or the fact that it stopped working after mounting ro?
Theo -- Theo v. Werkhoven Registered Linux user# 99872 http://counter.li.org ICBM 52 13 26N , 4 29 47E. + ICQ: 277217131 SUSE 10.2 + Jabber: muadib@jabber.xs4all.nl Kernel 2.6.18 + See headers for PGP/GPG info. Claimer: any email I receive will become my property. Disclaimers do not apply. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Fare thee well, Bawenang R. P. P. ---------------- ERROR: Brain not found. Please insert a new brain! Do nothing which is of no use. - Miyamoto Musashi. "I live for my dream. And my dream is to live my life to the fullest." -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Wed, 11 Apr 2007, by benang@cs.its.ac.id: [ 8< ambiguous question ]
The fact that it didn't work with "ro" whereas I needed the root's partition to be mounted as "ro". I just explained that it worked with "rw" is to elaborate you guys that the driver is actually working. But not if it's mounted with "ro". Sorry for the confusion. I just didn't have enough experience with Linux in general.
Mounting / ro is not how the FS is meant to be used, so any problem you encounter (and it won't be just some X app) is your own. If you want to mount e.g. /bin, /sbin, /boot or /mnt ro then I can understand that, but / is just too general. Btw: please do not toppost, i.e.: answer under the section(s) you want to reply to, and delete the unrelated rest.
BTW, I've looked at the file "/var/log/boot.msg". It said that the driver needed to change some files in "/etc/X11/" and in "/usr/src/linux/include/asm". So, I made a tarball of the folders "/etc/X11/" and "/usr/src/linux/include/asm" and do the same thing to them like "/var" and "/tmp" (extracting them to "/dev/shm" and linked "/dev/shm/X11" & "/dev/shm/asm" to "/etc/X11" & "/usr/src/linux/include/asm"). It worked now. Well at least so far it worked.
But for other apps you'll need to do other hacks. Soon you'll be busy with nothing but finding ways around a problem which might be solved easier in another way. What exactly is your problem that you want to mount / ro? Theo -- Theo v. Werkhoven Registered Linux user# 99872 http://counter.li.org ICBM 52 13 26N , 4 29 47E. + ICQ: 277217131 SUSE 10.2 + Jabber: muadib@jabber.xs4all.nl Kernel 2.6.18 + See headers for PGP/GPG info. Claimer: any email I receive will become my property. Disclaimers do not apply. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Tue, 10 Apr 2007 09:37:19 +0700 (WIT) benang@cs.its.ac.id 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
participants (3)
-
benang@cs.its.ac.id
-
Jerry Feldman
-
Theo v. Werkhoven