CD-ROM & Floppy fXr's Linux-Netz freigeben

Jan-Benedict Glaw jbglaw at lug-owl.de
Sat Jan 25 23:33:02 CET 2003


On Sat, 2003-01-25 17:31:49 +0100, Maximilian Wilhelm <max at rfc2324.org>
wrote in message <3E32BBF5.EBCF0C5 at rfc2324.org>:
> Dieter Franzke schrieb:
> 
> [Samba]
> > preexec = mount /cdrom
> > postexec = umount /cdrom
> 
> Funktioniert das bei Dir?
> preexec klappt super, aber postexec macht er bei mir nicht,
> selbst wenn alle windos-Explorer und alles andere, was darauf
> zugreigen koennte geschlossen ist :-(

Hmmm. Es könnte sein, daß Samba sich da noch selbst im Wege steht und
das Verzeichnis als CWD hat. Dann klappt der umount nicht (-> ließe sich
überprüfen, indem man als postexec mal testweise 'nen lsof oder 'nen
'find /proc -type l -name cwd -exec ls -ld {} \; >> /tmp/linklog'
als postexec. Dann siehst Du die CurrentWorkingDirectories von allen
Prozessen.

MfG, JBG

-- 
   Jan-Benedict Glaw       jbglaw at lug-owl.de    . +49-172-7608481
   "Eine Freie Meinung in  einem Freien Kopf    | Gegen Zensur
    fuer einen Freien Staat voll Freier Bürger" | im Internet!
   Shell Script APT-Proxy: http://lug-owl.de/~jbglaw/software/ap2/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lug-owl.de/pipermail/linux/attachments/20030125/a2de3a53/attachment.sig>


More information about the Linux mailing list