Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am using OpenSuse 11.4 through VMWare. I also have OpenSuse 11.2 and I can access the hard drive by mounting it, i.e :

sudo mount -t vmhgfs .host:/ /mnt/myDriveF

However, I'm not able to do this in OpenSuse 11.4. It's saying :

Error: cannot mount filesystem: No such device
share|improve this question

Seems the problem is the result of some changes in the 2.3.36 kernel.

During build of the vmware-tools, the necessary vmhgfs module throws the following error message:

/tmp/vmware-root/modules/vmhgfs-only/super.c:73: error: unknown field ‘clear_inode’ specified in initializer

Root of the problem is that the clear_inode() function has been renamed evict_indode().

So -- simply patch the source code of the corresponding part of the vmhgfs driverand rebuild the tools in 5 easy steps I nicked from here:

  1. Go to /usr/lib/vmware-tools/modules/source and unpack vmhgfs.tar
  2. cd into the new directory and open 'super.c' in your favorite editor
  3. Change the following:

       .read_inode    = HgfsReadInode,
       **.clear_inode   = HgfsClearInode,**
       .put_super     = HgfsPutSuper,
       .statfs        = HgfsStatfs,

    To read:

       .read_inode    = HgfsReadInode,
       **.evict_inode   = HgfsClearInode,**
       .put_super     = HgfsPutSuper,
       .statfs        = HgfsStatfs,
  4. Save the file and repack everything into vmhgfs.tar
  5. Run
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.