You are not logged in.

#1 2022-04-04 08:33:44

tesirfsm
Member
Registered: 2021-06-07
Posts: 12

eject: unable to eject error when trying to eject an sdcard

sudo eject /dev/mmcblk0
eject: unable to eject

what causes this and is there a way to fix it?
it happens on my Thinkpad T420

Offline

#2 2022-04-04 08:46:51

dogknowsnx
Guest

Re: eject: unable to eject error when trying to eject an sdcard

There's nothing to eject, you simply mount/unmount:
https://wiki.archlinux.org/title/File_s … ile_system

#3 2022-04-04 09:16:06

mpan
Member
Registered: 2012-08-01
Posts: 1,593
Website

Re: eject: unable to eject error when trying to eject an sdcard

tesirfsm:
If a card can be ejected or not depends on the reader. Judging by the name, this is a native reader that only blindly pass data between your system and the card. In that case: the moment the data is flushed on system side and the write finishes, there is nothing more to do. Power may be removed by pulling the card from the slot. This is probably why eject can’t be used in your case.

dogknowsnx:
eject may work on any removable media and, while its final step is physically ejecting them, it is not necessary. Commonly works on USB sticks and many multi-card readers.

Last edited by mpan (2022-04-04 09:17:24)


Paperclips in avatars? | Sometimes I seem a bit harsh — don’t get offended too easily!

Offline

#4 2022-04-04 09:33:49

dogknowsnx
Guest

Re: eject: unable to eject error when trying to eject an sdcard

@mpan thanks for the detailed info - on my system sdcards cannot be ejected.

Board footer

Powered by FluxBB