by jeajea » Tue Jul 02, 2013 4:04 pm
The mount point name(s) are based on the partition labels and are case sensitive.
For the boot drive I label the second partition Linux-sda2.
I label a data drive ArchLinux with a sub directories 0Quick and 0Movies.
As a catch all I create a share for /run/media/root.
$this->bbcode_second_pass_code('', '# The following two entries demonstrate how to share a directory so that two
# users can place files there that will be owned by the specific users. In this
# setup, the directory should be writable by both users and should have the
# sticky bit set on it to prevent abuse. Obviously this could be extended to
# as many users as required.
;[myshare]
; comment = Mary's and Fred's stuff
; path = /usr/somewhere/shared
; valid users = mary fred
; public = no
; writable = yes
; printable = no
; create mask = 0765
[share]
path = /run/media/root/Linux-sda2
public = yes
writeable = yes
guest ok = yes
[movies]
path = /run/media/root/ArchLinux/0Movies
public = yes
writeable = yes
guest ok = yes
[share1]
path = /run/media/root/ArchLinux
public = yes
writeable = yes
guest ok = yes
[share2]
path = /
public = yes
writeable = no
guest ok = yes
[share3]
path = /run/media/root
public = yes
writeable = yes
guest ok = yes
[quick]
path = /run/media/root/ArchLinux/0Quick
public = yes
writeable = yes
guest ok = yes
#')
Jim Anderson
3 Dockstars, 3 Pogoplug V2 and a Zyxel NSA325
Treasure Island, Fl