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
$8.50
Knoppix Live GNU Linux System 9.1 on Bootable CD / DVD / USB Flash Drive
$9.99
KNOPPIX 9.1 LINUX INSTALL & LIVE DVD
$9.99
Knoppix Linux Bootable OS v8.6 "Original Live Operating System" 16G USB Stick
$19.95
Knoppix 9.1 Live Linux GNU Bootable USB Flash Drive USA
$19.99
Linux Knoppix 4.0.2 Installation Disc
$39.99
Acer Aspire One 9 inch Netbook ZG5 512MB RAM 8GB SSD HD Knoppix Linux WiFi VGA
$79.99
$8.50
Knoppix 3.4 Linux installation CD
$14.00
Knoppix Linux Bootable OS v8.6 "Original Live Operating System" 32G USB Stick
$20.30