lotus



previous page: 148. EXT2-fs warning: checktime reached
  
page up: Linux FAQ
  
next page: 150. fdisk Says, "Partition X has different physical/logical..."

149. df Says, Cannot read table of mounted file systems.




Description

This article is from the Frequently Asked Questions for Linux, the Free/Open Source UNIX-like operating system kernel that runs on many modern computer systems. Maintained by David C. Merrill with numerous contributions by others. (v1.0).

149. df Says, Cannot read table of mounted file systems.

A: 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 /.

 

Continue to:















TOP
previous page: 148. EXT2-fs warning: checktime reached
  
page up: Linux FAQ
  
next page: 150. fdisk Says, "Partition X has different physical/logical..."