* Distinguish eMMC and uSD in userspace
@ 2017-09-05 14:19 Pali Rohár
0 siblings, 0 replies; only message in thread
From: Pali Rohár @ 2017-09-05 14:19 UTC (permalink / raw)
To: linux-mmc; +Cc: Vratislav Podzimek
[-- Attachment #1: Type: text/plain, Size: 617 bytes --]
Hello!
I would like to ask... if I get /dev/mmcblk device, how to check in
userspace if it is non-removable eMMC memory or it is removable SD card?
udisks project would like to report correct information and provides
correct "icon" to GUI file managers about state if device is removable
or not.
See reported ticket:
https://github.com/storaged-project/udisks/issues/358
Apparently RM filed in lsblk nor removable sysfs entry
(/sys/block/mmcblk0/removable) could not be used as both of them could
not be used for distinguish between eMMC or uSD card.
--
Pali Rohár
pali.rohar@gmail.com
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2017-09-05 14:19 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-09-05 14:19 Distinguish eMMC and uSD in userspace Pali Rohár
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.