Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

I have an OSX host with a ubuntu VM trying to mount a shared folder.

I'm using the options:

sudo mount -t vboxsf -o uid=1000,gid=100 pg ~/pg-host

The folder mounts fine, however it appears that the mounted directory is case-insensitive, even though my OSX drive is formatted case-sensitive.

Are there any options to control this behavior ?

share

locked by Michael Hampton Jan 27 at 17:16

This question exists because it has historical significance, but it is not considered a good, on-topic question for this site, so please do not use it as evidence that you can ask similar questions here. This question and its answers are frozen and cannot be changed. More info: help center.

    
Are you sure it's formatted case-sensitive? By default HFS+ volumes are case-preserving case-insensitive. Unless you performed a custom format on your disk that is likely the case. –  Kamil Kisiel Mar 4 '10 at 1:01
    
Yeah I custom formatted the disk. My fear is that virtualbox doesn't understand that's a possibility and just assumes HFS is case-insensitive. –  rhettg Mar 4 '10 at 1:32
    
Anecdotally, (and slightly OT) I've had bad luck with formatting HFS+ as case sensitive. I came across several app bundles that assume case insensitive, and would fail strangely. –  Scott Pack Mar 4 '10 at 3:51
    
I tested and have the same results, on MAC host, can create blah & Blah, in the virtual machine (Ubuntu for me), on a non-shared directory, the same is true. Once I cd into a shared folder however, the test fails! I might have to break down and file a bug report. –  quickshiftin Jan 13 '13 at 21:53
    
This seems to be pretty old but I was wondering if you ever found a solution? –  jmreicha Nov 6 '14 at 17:15

1 Answer 1

Note that you are mounting the filesystem under vboxsf file system type and not HFS. Vboxfs is the filesystem VirtualBox is using for mounting other filesystems into the virtual machine. It doesn't care if the real filesystem is NTFS, HFS, ext4 or whatever. So it doesn't adopt all functionality from the underlaying filesystem, in your case HFS.

share

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