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


Groups > linux.debian.user > #228236

Problem unplugging a USB drive

From Mick Ab <recoverymail123890@gmail.com>
Newsgroups linux.debian.user
Subject Problem unplugging a USB drive
Date 2020-10-26 13:10 +0100
Message-ID <B49u1-67y-1@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

A USB memory stick has been plugged into a USB 3 port for quite a few days.
The stick was left there after it was discovered that the kernel does not
recognise it (e.g. fdisk - l does not show the stick).

It was decided to unplug the stick. Subsequently the command
cat  /var/log/messages was run and the messages revealed that just before
the stick was unplugged, the kernel suddenly found the stick and
automatically mounted it to /media/usb0. While the stick was being
unplugged, the system performed a 'lazy' unmount from /media/usb0.

The stick was later plugged back into the USB 3 port and the dmesg command
issued. The dmesg messages revealed that the stick was probably corrupted
due to the lazy unmount.

My question is :-

Why did the kernel suddenly find the stick and automatically mount it just
before the stick was unplugged ?

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


Thread

Problem unplugging a USB drive Mick Ab <recoverymail123890@gmail.com> - 2020-10-26 13:10 +0100
  Re: Problem unplugging a USB drive Joe <joe@jretrading.com> - 2020-10-26 13:20 +0100
    Re: Problem unplugging a USB drive Curt <curty@free.fr> - 2020-10-26 15:20 +0100
      Re: Problem unplugging a USB drive David Wright <deblis@lionunicorn.co.uk> - 2020-10-26 16:30 +0100
        Re: Problem unplugging a USB drive Mick Ab <recoverymail123890@gmail.com> - 2020-10-26 18:10 +0100
          Re: Problem unplugging a USB drive Stefan Monnier <monnier@iro.umontreal.ca> - 2020-10-26 21:20 +0100
          Re: Problem unplugging a USB drive David Wright <deblis@lionunicorn.co.uk> - 2020-10-26 21:50 +0100
            Re: Problem unplugging a USB drive Mick Ab <recoverymail123890@gmail.com> - 2020-10-26 22:00 +0100

csiph-web