When vmware tries to work with disk in "raw" mode it does some strange magics actions to determine type of disk and in case of character device (nowdays in FreeBSD) it failed to determine disk type validly. Fix: I found exactly same hack (BSD characted devices substituted to block device for linux binaries) in newstat_copyout() and assume that this hack will help in stat64_copyout() for vmware2 - it really helps. How-To-Repeat: install /usr/ports/emulators/vmware2 port and try to use "raw" disk in vmware, it will detect partitions right, but filed to start VirtualMachine
And more, I think this bug present on FreeBSD-4 after 4.3-RELEASE (whe block devices disappear) -- SW Soft, Moscow Vladimir B. Grebenschikov, vova@sw.ru
State Changed From-To: open->closed Committed, thanks !
The CVS log for the commit for the fix is dated "Tue Apr 29 12:36:03 2003 UTC" and says "MFC after: 2 weeks". However RELENG_4 still doesn't have the fix. Just thought I'd remind you =) DocWilco