Web lists-archives.com

Re: mkfs problem (half resolved)




Le 10/03/2019 à 18:36, Pierre Frenkiel a écrit :

I said half-resolved, as I found a line with /dev/sdh1 in /etc/mtab.
Removing it solved the problem, but remains the question:
   why /etc/mtab was not updated?

What kind of system are you using ?

In current versions of Debian, /etc/mtab should be a symlink to /proc/mounts. As anything in /proc, this not a real file but an interface with the kernel. It should always be up to date and userland should not be able to write it.