Re: Disconnection
Re: Disconnection
- Subject: Re: Disconnection
- From: Bruce Truax <email@hidden>
- Date: Mon, 24 Nov 2003 17:55:40 -0500
This is a known problem which has been discussed both on Apple's discussion
boards and other apple related sites. Apparently PC shares mounted using
the network icon will not disconnect using any of the GUI eject functions.
If they are mounted using the "Connect To..." menu selection then they will
show up on the desktop and they will unmount properly. These shares can be
unmounted from the command line as follows:
1. Open a terminal or X window.
2. Issue the "df" command. The command will list all of the mounted
volumes. The last column shows the mount point and all of the Network
browser samba shares start with /private/var/....
3. Highlight the entire path of the mounted volume starting the /private
and copy it to the clipboard
4. Pick the share you want to unmount and issue the following command:
%umount
And paste the path of the volume after umount. The entire command should
then look like:
bruce% umount /private/var/automount/Network/<workgroup>/<server>/<share
point>
This command will unmount the share. If the server has more than one share
then you will have to repeat this command for each share or you can replace
the <share point> with * and unmount all shares from that server.
Bruce
--
____________________________________________________________
Bruce E. Truax email: email@hidden
Optical Engineering Consultant
Diffraction Limited Design LLC
388 Wedgewood Road voice: 860-276-0450
Southington, CT 06489 fax: 860-620-9026
http://www.dld-llc.com
_____________________________________________________________
> From: Eric Fielding <email@hidden>
> Date: Mon, 24 Nov 2003 09:43:50 +0000
> To: email@hidden
> Subject: Re: Disconnection
>
> The original poster didn't specify what kind of connection they had to
> the Windows computer. It may well have been a file-sharing disk mount
> (SMB) connection. I have had trouble with forgetting to disconnect from
> a Samba (Windows-like but running on a Sun) server before taking my
> Powerbook home. The Finder and nearly all other programs get very weird
> and slow because they are waiting to finish some I/O. The system cannot
> be shutdown even from the command line (without using the power button).
> I found that the only solution was to drive back to the office and
> connect to the network....
>
> Cheers,
> ++Eric
>
> Justin Walker wrote:
>
>>
>> Yes. This is an issue in any OS. There are cases where a
>> process/task/app is in the middle of some "uninteruptable" operation,
>> and has to wait for the completion of some activity over which it has
>> no control (e.g., reading a block from a disk).
>>
>> In this condition, it is not good to "kill" the process until things
>> are back to an interruptible state (otherwise, the system's
>> bookkeeping gets fouled up, and serious problems can result (e.g., a
>> lost buffer, in the above case).
>>
>> Unix systems can deal with this by making the process in question
>> uninterruptible for the duration of the wait.
>>
>> This can be detected with 'ps' (the 'man' page describes this, albeit
>> tersely).
>>
>>> I've had this happen on my dual G5 running Panther a few times now,
>>> it doesn't seem to be any particular application, it just seems to
>>> happen with one or two seemingly random processes sometimes. It
>>> doesn't happen very often, but when it does I can't do a force quit
>>> and no amount of sending kill -9 from the command line will end the
>>> process (or processes) either, in fact I can't even restart the
>>> system (it just hangs if I try). I have to manually power down :-(.
>>> It makes me very thankful for the journalling filesystem.
>>
>>
>> Yup; since the process is uninterruptible, the system won't let you
>> interrupt it under any circumstances.
> _______________________________________________
> x11-users mailing list | email@hidden
> Help/Unsubscribe/Archives:
> http://www.lists.apple.com/mailman/listinfo/x11-users
> X11 for Mac OS X FAQ: http://developer.apple.com/qa/qa2001/qa1232.html
> Report issues, request features, feedback:
> http://developer.apple.com/bugreporter
> Do not post admin requests to the list. They will be ignored.
_______________________________________________
x11-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/x11-users
X11 for Mac OS X FAQ: http://developer.apple.com/qa/qa2001/qa1232.html
Report issues, request features, feedback: http://developer.apple.com/bugreporter
Do not post admin requests to the list. They will be ignored.