ebullient·works

[ About · Archive ]

Gentoo, T23, and VMWare

Why do I have to run vmware-config.pl every time I reboot my computer?

This was happening to me, and while that's a lindows tutorial, it hit the nail on the head:

Because devfs rebuilds the /dev tree at each reboot, it is likely that your vmnet and vmmon devices will become unavailable. Because those devices are now unavailable, you have to manually run the vmware-config.pl to rebuild them into the existing /dev tree.

[UPDATE: 9/29/2004] This is total hogwash, see here

So, I added the vmmon lines to devfs.d/vmware, which should start that part ok. The vmnet nodes are a bit more of a puzzle. One place says put a wrapper around init. I am not brave enough for that, and I'd rather work out the right stuff to have the nodes added by devfs when vmnet is referenced - that would make the most sense to me, anyway.

from devfsd man page:

RESTORE directory This will restore entries previously saved under directory to devfs. Only symbolic links or entries with the sticky bit set will be restored. This action is taken as the configuration file is read. With appropriate COPY actions, complete persistence is acheived.

Will have to look more at that tomorrow, I think that's the only way. getting that damn script to run is not something I want to try, but making a directory that has the vmnet entries in it for devfsd to restore makes more sense.

yawn

References: