• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 529
  • Last Modified:

How to automatically share all external hard drives in OSX

Hi there,

Ignoring the security implications, is there any way of configuring OSX 10.6 onwards to automatically share any external hard drive that you connect to a specific Mac?
0
djlr2008
Asked:
djlr2008
  • 2
1 Solution
 
XaelianCommented:
Share the /Volumes folder. All your hard disks and external disks come under this folder.
0
 
djlr2008Author Commented:
Thanks Xaelian,

This more detailed process for editing the smb.conf file did the trick:

Open up a new Terminal (/Applications/Utilities) window and enter the commands:

$ sudo cp /etc/smb.conf /etc/smb.conf.back
$ sudo pico -w /etc/smb.conf
This will open up the pico editor, which is a simple text editor. Move down to the very bottom of the file by holding down Ctrl+V. Once there, give yourself a blank line or two and then enter the following text:

; Share for all mounted volumes
path = /Volumes
browseable = yes
public = no
read only = no
To save your changes, press Ctrl+O, Enter. Then, exit pico by pressing Ctrl+X. Go ahead and quit out of Terminal. At this point, you've created a backup of your original /etc/smb.conf file and added a new share to your original configuration.
0
 
djlr2008Author Commented:
This is the more detailed process for sharing all Volumes on my Mac
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now