Mailinglist Archive: opensuse (3442 mails)

< Previous Next >
Re: [SLE] Adding a partition
  • From: David <dg@xxxxxxxxxxxxxxxxxxxxx>
  • Date: Thu, 27 Dec 2001 11:41:15 +0000
  • Message-id: <E16JYyN-0001pm-00.2001-12-27-11-45-20@xxxxxxxxxxxxxxxxxxxx>
Thanks - didn't know that. Not sure if that was the case though, since the
floppy light came on when I did it. I have now managed to copy it across to a
win partition.
The problem I am having is that the file is read only. If I make a backup first
I get 'Read-only file system'. This seems to apply to the disk rather than the
file.
ls -l fstab gives -rw-r--r-- 1 root
How can I change the system to let me edit the file?

I note your point about Pico, however it is a lot simpler and the lines in the
file are short.

Regards,

David



On Thu, 27 Dec 2001 09:18:32 +0100, Anders Johansson wrote:
>You have to mount the floppy. If you do cp /etc/fstab /dev/fd0 you've probably
>overwritten the device node fd0 with the textfile fstab. ls -l /dev/fd0 should
>look like
>
>brw------- 1 andjoh users 2, 0 Sep 24 03:54 /dev/fd0
>
>but in your case I suspect the first character isn't b but -. Do rm /dev/fd0
>mknod /dev/fd0 b 2 0
>
>to correct it.
>
>Also, how are you mounting /dev/hdb9? Is it perhaps mounted readonly?
>
>>
>>Is there a simpler editor than Vi?
>>Appreciate if you could help with the above
>
>pico, as others have suggested, is fairly simple, but beware: it has a
>tendency to wrap lines and corrupt config files. vi has a steep learning
>curve, but when you master it you'll have complete control over the files you
>edit.




< Previous Next >
Follow Ups
References