symlink to /proc/mounts

Arnaud Boulan boulan at
Wed Jan 1 14:15:33 PST 2003

On Wednesday 01 January 2003 21:49, Christophe Devine wrote:

> There is also another advantage of the /proc/mounts symlink:
> my scsi disk shows random disk failures (a problem related to
> the scsi queue), and then the kernel forces a read-only remount
> of the filesystem, because it thinks it contains errors (although
> the filesystem is actually clean).
> So then I have to issue the command "mount -o remount,rw /",
> and it works perfectly fine with /etc/mtab pointing to /proc/mounts,
> since the information is accurate; however with a 'real' /etc/mtab
> updated by mount, the command fails since the filesystem is still marked
> as 'rw' in /etc/mtab, and mount considers the job is already done, and
> the only solution left is to reboot.

mount --bind /proc/mounts /etc/mtab
mount -o remount,rw /
umount /etc/mtab
Unsubscribe: send email to listar at
and put 'unsubscribe lfs-dev' in the subject header of the message

More information about the lfs-dev mailing list