Take the 2-minute tour ×
Ask Different is a question and answer site for power users of Apple hardware and software. It's 100% free, no registration required.

Is it possible to (auto) 'mount' folders as Volumes? I have a large DAS Volume, 'Data', that contains all my data. To make paths shorter and more future proof, I'd like to have Volumes like

/ContentTypeA/ /ContentTypeB/

Instead of using

/Data/ContentTypeA/ /Data/ContentTypeB/

etc, which is where the data actually resides.

Any ideas on how to do that? It's not a big problem. Just curious.

share|improve this question
    
Does the answer to apple.stackexchange.com/questions/84222/… (which recommends the use of symbolic links or aliases) solve your problem? –  patrix Aug 4 '13 at 14:38
    
It doesn't seem to work with either. I.e. doing either cd /ContentTypeA/ or cd /ContentTypeA/existingfolder just says 'no such file or directory'. :( –  eee3 Aug 4 '13 at 15:54
    
There will be no folders unless you create them :-) –  patrix Aug 4 '13 at 17:19

1 Answer 1

up vote 2 down vote accepted

Let's assume you are mounting/attaching your Data drive as usual which will result in paths like /Volumes/Data/ContentA and /Volumes/Data/ContentA. You can now do either of

  • create symbolic links via Terminal by starting Terminal.app and running these commands

    ln -s /Volumes/Data/ContentA ~/ContentA
    ln -s /Volumes/Data/ContentB ~/ContentB
    
  • open /Volumes/Data in Finder, select e.g. ContentA, press Cmd-L to create an alias and move this alias to your Home folder. The alias file can afterwards be renamed as you see fit

With both options the content of the Data drive will be accessible via your Home folder.

share|improve this answer
    
That works. :) Combining it with the home folder solved it. Thanks a lot patrix! –  eee3 Aug 4 '13 at 17:56

Your Answer

 
discard

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.