Cant write to /etc

Malcolm Kay malcolm.kay at internode.on.net
Sun Aug 31 23:53:44 PDT 2003


On Mon, 1 Sep 2003 14:06, David L wrote:
> I have just been tring to use sms_client and it gives me an error that it
> cant write to /etc.
>  When I try to # touch /etc/smslock
>
> it gives me
>
> # touch: /etc/smslock: Read-only file system
>
> It wont even let me edit rc.conf
>
> I had a look at the permisions of /etc and they are fine
>
> drwxr-xr-x
>
> The only thing I can think of is that I recently set up loader.conf in
> order to be able to load the module for my audigy card. So I had a look
> through loader.conf and it doesnt have anything about loader.conf
>

It seems that somehow your root fs is mounted read only.
This can happen if an fsck check failed at boot up with a request to run fsck 
manually. Or perhaps somehow you booted into single user mode.

Try rebooting -- and read any messages!!

Malcolm



More information about the freebsd-questions mailing list