Hi, when I start samba server, and choose YES when a dialog ask me "Export all drives so that....", but it does not export all drives.
I check the /etc/samba/smb.conf file, no additional configs is appended.
but v4.0.2 works fine.
Hi, when I start samba server, and choose YES when a dialog ask me "Export all drives so that....", but it does not export all drives.
I check the /etc/samba/smb.conf file, no additional configs is appended.
but v4.0.2 works fine.
Okay, I found what cause this problem:
Open /usr/sbin/sambastart, goto line 86, column 45, I found the script try to find mount point contains /mnt from /etc/fstab, but, it seems both Fedora Core 5 and Knoppix 5 move the mount point to /media instead of /mnt, so of course, the script can't find any drives/mount points...
Code:#ask user and export hardisks if he decides to do so #can be done with append to smb.conf as its always a fresh copy #(made above) if $FORCEEXPORT || $DIALOG --title "$TITLE" --defaultno --yesno "$MESSAGE_EXPORTS" 0 0 ; then for HD in $(cut -d " " -f 2 /etc/fstab|grep /mnt) ; do # change /mnt to /media NAME=$(basename $HD) cat >>$SMBCONF <<EOF [$NAME] comment = $HD browseable = yes path = $HD writeable = yes preexec = /bin/mount $HD postexec = /bin/umount $HD EOF done fi
Netac 1TB 2TB 512GB Internal SSD 2.5'' SATA III 6Gb/s Solid State Drive lot
$109.99
Fanxiang 4TB 2TB 1TB SSD 550MB/s 2.5'' SATA III Internal Solid State Drive lot
$188.99
Fanxiang M.2 SATA SSD 2TB 1TB 512GB 256GB SSD Internal M2 Solid State Drive Lot
$109.99
Fanxiang SSD 4TB 2TB 1TB 512GB 2.5''SATA III Internal Solid State Hard Drive LOT
$188.09
Patriot P210 128GB 256GB 512GB 1TB 2TB 2.5" SATA 3 6GB/s Internal SSD PC/MAC Lot
$13.99
Crucial MX500 CT250MX500SSD1 250 GB SATA III 2.5 in Solid State Drive
$14.99
Genuine Samsung 850 EVO MZ-75E250 250GB 2.5" SATA III SSD Solid State Drive
$18.00
SanDisk Ultra 3D NAND 250GB Internal SSD - SATA III 6 Gb/s, 2.5"/7mm, 550MB/s
$24.99
4 TB SSD SATA III Drive 2.5" Solid State Drive SATAIII 6Gb/s UP to 540MB/s
$149.00
Fanxiang SSD 512GB 1TB 2TB 4TB 2.5'' SSD SATA III Internal Solid State Drive lot
$104.99