I'm on Debian Bullseye XFCE. Please find the relevant details of my system below:
vrgovinda@krishna:~$ uname -a
Linux krishna 5.10.0-8-amd64 #1 SMP Debian 5.10.46-5 (2021-09-23) x86_64 GNU/Linux
When I try to eject my USB drive, I get the following error:
I am experiencing this error only recently (2-3 days). Can someone help me out?
Regards.
umount
command instead.Eject
is usually used for Optical media like CD-ROM drives which don't need to flush data before disconnection. What is the reason behind usingeject
instead ofumount
?eject
is actually the right command.man 1 eject
in Ubuntu states "if the device or a device partition is currently mounted, it is unmounted before ejecting". In my Debianeject
is older, the manual says "if the device is currently mounted, it is unmounted before ejecting", so I don't know how well it handles mounted partitions in Debian. Anyway, soleumount
unmounts a filesytem.eject
is designed to flush to a block device and prepare it to be physically disconnected.type -a eject
in Bash? What is the output ofapt list --installed eject
? Maybeeject
is not installed. In this case you need to invokesudo apt-get install eject
.