fstab problems

Dean S. Messing deanm at sharplabs.com
Wed May 31 21:57:58 UTC 2006


On 5/31/06, William Steibel <bsteibel at amnh.org> wrote:
>
> No Ed,
> I tried sudo first then swithed to root on Knoppix. In fc5 I logged in as
> root. Still read only file systems


As others have said, the file system is mounted read-only.
>From the comline you can "remount" the read-only file as read-write.
No need to unmount and mount again.

For example, /mnt/disk is currently mounted ro on my system:

# touch /mnt/disk/foo
touch: cannot touch `/mnt/disk/foo': Read-only file system

# mount -o remount,rw /mnt/disk
# touch /mnt/disk/foo
# ls -l /mnt/disk/foo
-rw-r--r--  1 root root 0 May 31 14:55 /mnt/disk/foo


# mount -o remount,ro /mnt/disk
# touch /mnt/disk/foo
touch: cannot touch `/mnt/disk/foo': Read-only file system


Dean




More information about the fedora-list mailing list