TIP: Click on subject to list as thread! ANSI
echo: rberrypi
to: CHRIS GREEN
from: JIM JACKSON
date: 2021-02-22 13:34:00
subject: Re: Ejecting a network-mo

On 2021-02-22, Chris Green  wrote:
> TimS  wrote:
>> I have mounted a volume from my Mac on my Pi and it shows up nicely on the
>> desktop. This is using the default OS. It seems to have used AFP for the
>> mount.
>>
>> Now, how do I unmount it? On the Mac, I'd do right-mouse on the volume and
>> choose Eject - Simples! - but I don't see anything equivalent on the Pi.
>>
> I'm surprised, when I right click on mounted volume icons I'm offered
> 'unmount volume'.
>
> You can always do it from the command line:-
>
>     umount /dev/xxx
>
> or even just 'eject' at the command line.

afp uses FUSE - it's not based on devices.

I've used sshfs mounted files systems (sshfs use FUSE too) and you might
try fusermount -u . You first need to know which local directory is used
as the mount point, e.g. ~/mnt

  fusermount -u ~/mnt

make sure no processes have anything open on the MAC.

Google also suggests using the afp_client command which has an unmount
option.

--- SoupGate-Win32 v1.05
* Origin: Agency HUB, Dunedin - New Zealand | FidoUsenet Gateway (3:770/3)

SOURCE: echomail via QWK@docsplace.org

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.