by BinaryJay » Sat Mar 05, 2011 2:53 am
$this->bbcode_second_pass_quote('kws', 'U')nfortunately it didn't work. I couldn't access either drive.
BinaryJay - are you saying that if I just set path = /media then any USB drive I attach will be automatically accessible and shared?
Thanks again for all the advice.
Yes, by default udev will try to automount usb devices plugged in into /media.
"/media/sdc1/" likely never exists because it will mount using the drive label not the device name.
For example, if you plug a drive with a label of "MyStuff", it should be mounted into /media/MyStuff /media/MyStuff might be the mount point for /dev/sdc1 but that doesn't matter.
By sharing out /media, then smb will just show you whatever is currently mounted in /media all the time.