Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #219315

Re: Modern automounters and umount

From Gene Heskett <gheskett@shentel.net>
Newsgroups linux.debian.user
Subject Re: Modern automounters and umount
Date 2020-02-22 05:50 +0100
Message-ID <zCuTL-4vH-1@gated-at.bofh.it> (permalink)
References <zCc0N-1Bb-13@gated-at.bofh.it> <zCipB-5uS-21@gated-at.bofh.it> <zCu7n-41J-1@gated-at.bofh.it>
Organization none,nada,zip

Show all headers | View raw


On Friday 21 February 2020 22:58:10 Mark Allums wrote:

> On 2/21/20 9:23 AM, Jonathan Dowland wrote:
> > On Fri, Feb 21, 2020 at 08:53:50AM -0500, Stefan Monnier wrote:
> >> Indeed.  And FWIW, you should/might be able to avoid the `sudo` by
> >> asking udisks2 to do the unmount
> >
> > Yep. It requires you to specify the device, rather than the
> > filesystem mount point:
> >
> >     $ udisksctl unmount -b /dev/sdb1
> >
> > But does not require superuser, if udisks2 mounted it on your user's
> > behalf in the first place.
>
> Explain this, then:
>
> george@martha:~$ udisksctl unmount -b /dev/sdb1
> Unmounted /dev/sdb1.
> george@martha:~$ sudo e2fsck -c -c -k -p -f -C 0 /dev/sdb1
> /dev/sdb1 is in use.
> e2fsck: Cannot continue, aborting.
>
> Thnx,
>
> Mark
Is there a user cd'd into it?  That locks it up.

Cheers, Gene Heskett
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
If we desire respect for the law, we must first make the law respectable.
 - Louis D. Brandeis
Genes Web page <http://geneslinuxbox.net:6309/gene>

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Modern automounters and umount "Thomas Schmitt" <scdbackup@gmx.net> - 2020-02-21 09:40 +0100
  Re: Modern automounters and umount Klaus Singvogel <deb-user-ml@singvogel.net> - 2020-02-21 09:50 +0100
    Re: Modern automounters and umount Stefan Monnier <monnier@iro.umontreal.ca> - 2020-02-21 15:00 +0100
      Re: Modern automounters and umount Jonathan Dowland <jon+debian-user@dow.land> - 2020-02-21 16:30 +0100
        Re: Modern automounters and umount Mark Allums <mark@allums.email> - 2020-02-22 05:00 +0100
          Re: Modern automounters and umount Gene Heskett <gheskett@shentel.net> - 2020-02-22 05:50 +0100
            Re: Modern automounters and umount Curt <curty@free.fr> - 2020-02-22 09:50 +0100
            Re: Modern automounters and umount <tomas@tuxteam.de> - 2020-02-22 09:50 +0100
              Re: Modern automounters and umount Stefan Monnier <monnier@iro.umontreal.ca> - 2020-02-22 15:40 +0100
                Re: Modern automounters and umount <tomas@tuxteam.de> - 2020-02-22 17:10 +0100
                Re: Modern automounters and umount "Thomas Schmitt" <scdbackup@gmx.net> - 2020-02-22 17:40 +0100
                Re: Modern automounters and umount <tomas@tuxteam.de> - 2020-02-22 17:50 +0100
                Re: Modern automounters and umount "Thomas Schmitt" <scdbackup@gmx.net> - 2020-02-22 18:00 +0100
                Re: Modern automounters and umount <tomas@tuxteam.de> - 2020-02-22 18:10 +0100
                Re: Modern automounters and umount Gene Heskett <gheskett@shentel.net> - 2020-02-22 19:30 +0100
                Re: Modern automounters and umount <tomas@tuxteam.de> - 2020-02-22 21:00 +0100
                Re: Modern automounters and umount Gene Heskett <gheskett@shentel.net> - 2020-02-22 23:50 +0100
          Re: Modern automounters and umount Curt <curty@free.fr> - 2020-02-22 15:40 +0100
            Re: Modern automounters and umount Mark Allums <mark@allums.email> - 2020-02-23 10:40 +0100
              Re: Modern automounters and umount Curt <curty@free.fr> - 2020-02-23 12:10 +0100
                Re: Modern automounters and umount Mark Allums <maa@allums.com> - 2020-02-24 09:00 +0100
                Re: Modern automounters and umount Curt <curty@free.fr> - 2020-02-24 12:00 +0100
                Re: Modern automounters and umount David Wright <deblis@lionunicorn.co.uk> - 2020-02-24 17:10 +0100
                Re: Modern automounters and umount Curt <curty@free.fr> - 2020-02-24 18:20 +0100
                Re: Modern automounters and umount Mark Allums <mark@allums.email> - 2020-02-25 08:20 +0100
                Re: Modern automounters and umount Curt <curty@free.fr> - 2020-02-25 10:50 +0100
                Re: Modern automounters and umount Mark Allums <mark@allums.email> - 2020-02-25 11:40 +0100
                Re: Modern automounters and umount Curt <curty@free.fr> - 2020-02-25 15:40 +0100
                Re: Modern automounters and umount songbird <songbird@anthive.com> - 2020-02-25 19:40 +0100
          Re: Modern automounters and umount Jonathan Dowland <jon+debian-user@dow.land> - 2020-02-23 22:10 +0100
            Re: Modern automounters and umount Mark Allums <mark@allums.email> - 2020-02-24 11:40 +0100
              Re: Modern automounters and umount Jonathan Dowland <jon+debian-user@dow.land> - 2020-02-25 12:00 +0100
        Re: Modern automounters and umount "Thomas Schmitt" <scdbackup@gmx.net> - 2020-02-23 22:40 +0100
  Re: Modern automounters and umount songbird <songbird@anthive.com> - 2020-02-21 22:50 +0100

csiph-web