Flash-based Devices Not Mounted Under Buster

Kernels & Hardware, configuring network, installing services

Re: Flash-based Devices Not Mounted Under Buster

Postby KitchM » 2020-06-05 15:32

Just wanted to post an update for everyone. With the newest Debian 10 update, any USB device which is plugged into the system is immediately recognized with an appropriate icon placed on the desktop, unmounted. That's nice. It makes it extra nice because any device can be removed without having to eject or unmount it.

The Shotwell program does not automatically start up when the camera is plugged in, but that is likely a problem with specific actions not being associated with the plugin. Probably a Xfce issue.

Thanks to all.
KitchM
 
Posts: 109
Joined: 2019-06-11 18:11

Re: Flash-based Devices Not Mounted Under Buster

Postby Dai_trying » 2020-06-05 15:40

KitchM wrote:It makes it extra nice because any device can be removed without having to eject or unmount it.


I do not think this is strictly true, you still need to have the device unmounted before removal (unless you want to create a failed usb device) and ejecting a device will do this for you, but something definitely must be done before pulling out a device that is mounted.
Dai_trying
 
Posts: 943
Joined: 2016-01-07 12:25

Re: Flash-based Devices Not Mounted Under Buster

Postby CwF » 2020-06-05 16:43

Dai_trying wrote: but something definitely must be done before pulling out a device that is mounted.

No, that's part of the spec of being USB, it is suppose to survive being yanked. The distinction is ACTIVE verses mounted. It is nice to unmount first, so do it, but it should not be required for a mounted and inactive device. If you set up the caching right, same goes for hot-pluggable sata.
My xfce's have worked fine in 9 and 10.
CwF
 
Posts: 818
Joined: 2018-06-20 15:16

Re: Flash-based Devices Not Mounted Under Buster

Postby KitchM » 2020-06-05 17:07

Yes, CwF, you are quite correct.
KitchM
 
Posts: 109
Joined: 2019-06-11 18:11

Re: Flash-based Devices Not Mounted Under Buster

Postby Dai_trying » 2020-06-05 20:17

:oops: I was sure I had failures when removing devices when being written to, but thinking about it after reading ^^ it was just the filesystem that was messed up and I reformatted it. But that aside I would never remove any device that was still mounted (not intentionally that is).
Dai_trying
 
Posts: 943
Joined: 2016-01-07 12:25

Re: Flash-based Devices Not Mounted Under Buster

Postby KitchM » 2020-06-10 18:43

Well, yes, I suppose there is a risk during file write. However, I only remove when all writing is done. I have found it to be a problem under Windows and some distros and apps that use a write-behind system. I hate those. Writing is so important, it must have priority. With newer processors however, this should be a concurrent process while other things are happening at the same time. This means there should be no delay and no reason why there would be an issue.

Again, please remember that my comment only had to do with unmounted drives, which can be yanked out at any point in time.
KitchM
 
Posts: 109
Joined: 2019-06-11 18:11

Re: Flash-based Devices Not Mounted Under Buster

Postby LE_746F6D617A7A69 » 2020-06-10 21:17

KitchM wrote:Well, yes, I suppose there is a risk during file write.

http://forums.debian.net/viewtopic.php?f=8&t=129954#p625978
.
Bill Gates: "(...) In my case, I went to the garbage cans at the Computer Science Center and I fished out listings of their operating system."
The_full_story and Nothing_have_changed
LE_746F6D617A7A69
 
Posts: 414
Joined: 2020-05-03 14:16

Previous

Return to System configuration

Who is online

Users browsing this forum: No registered users and 24 guests

fashionable