Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Jul 2020 21:31:13 +0200
From:      Polytropon <freebsd@edvax.de>
To:        mbj@mbjnet.dk
Cc:        Morten Bo Johansen via freebsd-questions <freebsd-questions@freebsd.org>, Morten Bo Johansen <listmail@mbjnet.dk>
Subject:   Re: Unmounting usb disk impossible
Message-ID:  <20200722213113.bbdaf869.freebsd@edvax.de>
In-Reply-To: <slrnrhh4im.nq1.listmail@smtp.simply.com>
References:  <slrnrhglh3.l6v.listmail@smtp.simply.com> <CAOgwaMt1kCe4RfBMM=EcWjpTMeFkjk028=bJJYF-Qsdty2k4nw@mail.gmail.com> <slrnrhgvhv.mus.listmail@smtp.simply.com> <20200722205917.7e81b5bc.freebsd@edvax.de> <slrnrhh4im.nq1.listmail@smtp.simply.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 22 Jul 2020 21:24:05 +0200, Morten Bo Johansen via freebsd-questions wrote:
> On 2020-07-22 Polytropon wrote:
> 
> > This command interpretation is similarly listed in "man 1 umount",
> > i. e., "umount -a -t <type>". However, have you checked that
> > the filesystems beneath /media, mounted by automountd, are listed
> > in /etc/fstab? This is a required condition according to the
> > manual page.
> 
> I think I am going to drop this automount stuff and just mount
> and unmount the good old fashioned way. At least that works
> with no problems.

That matches my impression with various local-media automatic
mounting mechanisms...

After fiddling with XML files buried in /usr/local/etc (or was
it /usr/local/share?), device permissions, group membership and
so on, it would mostly mount, but then, it would not unmount
(permission issue?!), so prefix with "sudo", add "-f" option,
add desktop icon for unmount script... no, it didn't fully do
what it said on the can. ;-)

Personally, I liked the way XFCE (version 3!) did it: It had
a wrapper "xfmount" which called mount (with device or directory,
as listed in /etc/fstab), and opened a file manager window on
success; close the window - xfumount ran, unmounted the device,
and everything was fine.

"That simple?" - "Good ideas are always simple." (Dr. Mabuse)


-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20200722213113.bbdaf869.freebsd>