Linux wiki

df Says, Cannot read table of mounted file systems

There is probably something wrong with your /etc/mtab or /etc/fstab files. If you have a reasonably new version of mount, /etc/mtab should be emptied or deleted at boot time (in /etc/rc.local or /etc/rc.d/*), using something like

 $ rm -f /etc/mtab*

Some old Linux distributions have an entry for the root partition in /etc/mtab made in /etc/rc* by using rdev. That is incorrectthe newer versions of mount do this automatically.

Some old distributions also have a line in /etc/fstab that looks like:

/dev/sdb1 /root ext2 defaults

The entry for /root should read simply /.

How to Start a X Client on Another Display?
How To Upgrade/Recompile a Kernel

 

 

See our index for more reviews

Write a review and win an Apple Ipod

Page

New
Edit
Rename
Attachments
Versions

Site

Changes
Index
Search

User

Log In

 
 

Last Modified 2004-07-07