read-only file system
hello
im trying to edit a file in /etc/rc.d but it says "Read-only file system" how do i change it to writeable?
thanks
_________________________________________________________________
Send and receive Hotmail on your mobile device: http://mobile.msn.com
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs
Quoted 3 lines · a a
hello
im trying to edit a file in/etc/rc.dbut it says "Read-only file system" how do i change it to writeable?
Depending on details you have not provided, you may not be able to change this (for example, if the filesystem is on a read-only medium like a CD). And you probably realize that you have to be root for this sort of thing.
If you can change it, the mechanism you use is the "mount" command. Assuming that /etc/rc.d is part of the root (/) filesystem, you would use (approximately - I didn't actually try this, so watch for small errors) this command:
mount -n -o remount.rw /
Check "man mount" for the details behind this, and look at whatever init script your system uses to fsck filesystems for examples of this usage.
--
-------------------------------------------"Never tell me the odds!"--------
Ray Olszewski -- Han Solo
Palo Alto, California, USA [email protected]
-------------------------------------------------------------------------------
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs
Quoted 3 lines · On Sat, 05 Oct 2002 03:02:34 +0000 "a a" <[email protected]> wrote:
hello
im trying to edit a file in/etc/rc.dbut it says "Read-only file system" how do i change it to writeable?
edit it as root
Signature · 6 lines
sodjiin [email protected] - To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.linux-learn.org/faqs
Quoted 3 lines · a a
hello
im trying to edit a file in/etc/rc.dbut it says "Read-only file system" how do i change it to writeable?
Files in /etc/rc.d/ are owned by "root" so one would need to be root or have root permissions to edit one of those files.
Quoted 3 lines
thanks
Signature · 9 lines
Regards Richard [email protected] http://people.zeelandnet.nl/pa3gcu/ - To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.linux-learn.org/faqs