[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: fstab problems



On 5/31/06, William Steibel <bsteibel 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


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]