Re: fstab problems

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

 



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


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux