pixel art of a fish

lethargic.talkative.fish

blackle mori @suricrasia
Sep 26, 2022

hmm anyone know how to make a mountable device node on android accessible to apps?

Sep 26, 2022, 23:35
1
6
4
View toot
blackle mori @suricrasia
Sep 26, 2022

I have an oldish rock960 board with an nvme ssd attached. on android it appears as /dev/block/nvme0n0p1 and I can mount it somewhere and read/write from it. however, the rest of android can't see it as an external storage device.

Sep 26, 2022, 23:36
2
2
3
View toot
blackle mori @suricrasia
Sep 26, 2022

I'm assuming I need to like, communicate with some daemon to tell it that a new block device is connected... or do something with sdcardfs? very confusing and very difficult to search...

Sep 26, 2022, 23:37
1
1
2
View toot
blackle mori @suricrasia
Sep 26, 2022

it's kinda fun owning a single board arm computer that has a pcie slot because the internet tends to believe they don't exist, so most searches like "nvme android mount" go nowhere

Sep 26, 2022, 23:39
3
1
12
View toot
blackle mori @suricrasia
Sep 27, 2022

weirdly, mounting the drive is only visible within a single su session. if I make a new session, I can't see the drive in the mount listing anymore..

Sep 27, 2022, 00:08
1
1
0
View toot
サイバネ医師 @baseline@social.drastical.tech
Sep 27, 2022

@suricrasia is it mounted with FUSE?

Sep 27, 2022, 01:49
0
0
0
View toot