Results 1 to 1 of 1
greetings,
i just set up a very basic samba server on my Debian box. In smb.conf, I saw the commented out section to create a share for a cd drive ...
- 11-30-2004 #1Just Joined!
- Join Date
- Nov 2004
- Posts
- 39
auto-unmount not working for samba
greetings,
i just set up a very basic samba server on my Debian box. In smb.conf, I saw the commented out section to create a share for a cd drive as well as the lines to mount the drive when you connect to the share and unmount when you disconnect.
my smb.conf contains
Code:[cdrom] comment = linux box cd drive path = /cdrom guest ok = Yes locking = no preexec = /bin mount /cdrom postexec = /bin/umount /cdrom
When I connect to the share from windows, the drive is mounted and I can access the files, but when I close the window (I'm assuming this closes the samba connection) the /bin/umount is never executed.
Is there something I need to be doing on the windows side to invoke the postexec event? or something that needs to change on the linux end?


Reply With Quote
