At 03:02 AM 10/5/02 +0000, a a wrote:
>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?
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