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


Groups > linux.debian.user > #164071

Re: GNOME Shell can't unmount my USB key

From Patrick Bartek <nemommxiv@gmail.com>
Newsgroups linux.debian.user
Subject Re: GNOME Shell can't unmount my USB key
Date 2016-02-11 20:20 +0100
Message-ID <r14Wt-4FV-3@gated-at.bofh.it> (permalink)
References (2 earlier) <qZPd8-2z8-5@gated-at.bofh.it> <r020F-2D0-1@gated-at.bofh.it> <r0e1Q-2PZ-13@gated-at.bofh.it> <r0jXC-76q-55@gated-at.bofh.it> <r0lwl-7WP-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Tue, 09 Feb 2016, Me wrote:

> Le mardi 09 février 2016 à 09:00 -0800, Patrick Bartek a écrit :
> > Yes, I know about caching, but on my system read/writes to removable
> > devices are almost instantaneous.
> 
> Maybe it's just luck ? As I said, I frequently get a message from
> GNOME saying the writes are not finished, and that although the drive
> disappeared from the menus, I have to let it plugged. Especially when
> I write large amounts of data. Which happens frequently, because it's
> my backup drive.
> 
> > However, I did write my on udev rule to do the mounting/unmounting,
> > and this was after reseaching expert advice on how to do it
> > properly.
> 
> Can you explain how your udev manages to "unmount properly" when the
> drive has already been unplugged ?

No, I can't.  But it does, and generates no errors.

> Or do your rules just disable caching ? I could do that, but that
> doesn't prevent some program from writing on my disk when I want to
> unplug it.

I didn't specifically disable caching.  At the time, didn't even occur
to me.

Perhaps, you should do some research on udev and writing rules
yourself.  Although, shortly after going to the trouble myself I found a
couple of utilities (udisks & udisks-glue) that do the same thing.  But
since I had already written the rule, I didn't install the utilities.

A point of order here:  All this applies to Wheezy; I don't know now
that Debian has adopted systemd and udev has it as a dependency that
all this will work the same.

B 

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


Thread

GNOME Shell can't unmount my USB key Me <mlistsgn@gmail.com> - 2016-02-07 23:50 +0100
  Re: GNOME Shell can't unmount my USB key Patrick Bartek <nemommxiv@gmail.com> - 2016-02-08 00:30 +0100
    Re: GNOME Shell can't unmount my USB key Me <mlistsgn@gmail.com> - 2016-02-08 01:00 +0100
    Re: GNOME Shell can't unmount my USB key <tomas@tuxteam.de> - 2016-02-08 09:20 +0100
      Re: GNOME Shell can't unmount my USB key Me <mlistsgn@gmail.com> - 2016-02-08 09:50 +0100
        Re: GNOME Shell can't unmount my USB key <tomas@tuxteam.de> - 2016-02-08 10:50 +0100
          Re: GNOME Shell can't unmount my USB key Me <mlistsgn@gmail.com> - 2016-02-08 11:00 +0100
            Re: GNOME Shell can't unmount my USB key Sven Arvidsson <sa@whiz.se> - 2016-02-15 15:30 +0100
              Re: GNOME Shell can't unmount my USB key Me Em <mlistsgn@gmail.com> - 2016-02-18 21:40 +0100
      Re: GNOME Shell can't unmount my USB key Patrick Bartek <nemommxiv@gmail.com> - 2016-02-08 23:00 +0100
        Re: GNOME Shell can't unmount my USB key <tomas@tuxteam.de> - 2016-02-08 23:30 +0100
        Re: GNOME Shell can't unmount my USB key Me <mlistsgn@gmail.com> - 2016-02-09 11:50 +0100
          Re: GNOME Shell can't unmount my USB key Patrick Bartek <nemommxiv@gmail.com> - 2016-02-09 18:10 +0100
            Re: GNOME Shell can't unmount my USB key David Wright <deblis@lionunicorn.co.uk> - 2016-02-09 19:10 +0100
              Re: GNOME Shell can't unmount my USB key Patrick Bartek <nemommxiv@gmail.com> - 2016-02-11 20:00 +0100
                Re: GNOME Shell can't unmount my USB key David Wright <deblis@lionunicorn.co.uk> - 2016-02-11 22:30 +0100
                Re: GNOME Shell can't unmount my USB key Patrick Bartek <nemommxiv@gmail.com> - 2016-02-12 18:00 +0100
                Re: GNOME Shell can't unmount my USB key <tomas@tuxteam.de> - 2016-02-12 09:50 +0100
                Re: GNOME Shell can't unmount my USB key Patrick Bartek <nemommxiv@gmail.com> - 2016-02-12 18:40 +0100
            Re: GNOME Shell can't unmount my USB key Me <mlistsgn@gmail.com> - 2016-02-09 19:50 +0100
              Re: GNOME Shell can't unmount my USB key Patrick Bartek <nemommxiv@gmail.com> - 2016-02-11 20:20 +0100
                Re: GNOME Shell can't unmount my USB key Chris Bannister <cbannister@slingshot.co.nz> - 2016-02-11 23:30 +0100
                Re: GNOME Shell can't unmount my USB key Lisi Reisz <lisi.reisz@gmail.com> - 2016-02-12 00:00 +0100
                Re: GNOME Shell can't unmount my USB key David Wright <deblis@lionunicorn.co.uk> - 2016-02-12 03:50 +0100
                Re: GNOME Shell can't unmount my USB key Lisi Reisz <lisi.reisz@gmail.com> - 2016-02-12 11:00 +0100
                Re: GNOME Shell can't unmount my USB key Patrick Bartek <nemommxiv@gmail.com> - 2016-02-12 18:10 +0100
            Re: GNOME Shell can't unmount my USB key Brian <ad44@cityscape.co.uk> - 2016-02-09 21:20 +0100
              Re: GNOME Shell can't unmount my USB key Patrick Bartek <nemommxiv@gmail.com> - 2016-02-11 20:50 +0100
        Re: GNOME Shell can't unmount my USB key Bernard <bdebreil@teaser.fr> - 2016-02-15 01:30 +0100
    Re: GNOME Shell can't unmount my USB key Stuart Longland <stuartl@longlandclan.id.au> - 2016-02-09 22:30 +0100
      Re: GNOME Shell can't unmount my USB key Patrick Bartek <nemommxiv@gmail.com> - 2016-02-11 21:00 +0100
        Re: GNOME Shell can't unmount my USB key Me <mlistsgn@gmail.com> - 2016-02-11 22:00 +0100
          Re: GNOME Shell can't unmount my USB key Patrick Bartek <nemommxiv@gmail.com> - 2016-02-12 19:30 +0100
            Re: GNOME Shell can't unmount my USB key Stuart Longland <stuartl@longlandclan.id.au> - 2016-02-12 22:50 +0100
              Re: GNOME Shell can't unmount my USB key Patrick Bartek <nemommxiv@gmail.com> - 2016-02-13 02:30 +0100

csiph-web