I have a volume mounted. If I switch to another user, this volume gets dismounted. The problem is that I want this volume to be available for every user (but putting it in their login items is not the solution I'm looking for), so: how can this behavior be prevented?
(I'm on Mountain Lion)
MacOS – Fast user switching: how to prevent volumes from being unmounted
disk-volumeloginmacosmountuser-account
Related Question
- MacOS – How to access the files in a deleted user account
- MacOS – How to stop ‘locate’ from using databases for unmounted volumes
- MacOS – Fast user switching affects color profile
- MacOS – How to stop windows from being resized on fast-user-switch
- MacBook – how to return to lock screen after switching user
Best Answer
You can stop Mac OS X unmounting user disks on log-out. This behaviour is controlled with a default (preference).
In this discussion on the Apple Support Community, Király shares the appropriate command to issue:
This command needs to be entered into Applications > Utilities > Terminal.app. Aftwards you must restart your Mac for the change to take effect.
Note that the
autodiskmount
tool has been replaced byautomountd
; it is possible Mac OS X 10.8 has migrated this default to another file.You may also find this Super User question useful, Automount external hard drive on Mac.