#reading a device on Linux
1 messages ยท Page 1 of 1 (latest)
well I don't want to mount it but I'm not sure how to properly parse any data I read
thanks for this. i found the spec for the filesystem that i'll be reading so this is considerably easier now that i know what im trying to read
filesystem?
oh
wait
I misread this sorry
I thought you wanted to open a tty ๐
anyway, yeah, this depends on the filesystem you want
in any case, I think read and write will work as well
just uh
make sure not to write anything or you might kill your drive
i've found it has firmware to protect me from that footgun
oh yeah permissions right?
nah the reader knows what's up
oh this is a cd/dvd/bd?
yeah
linux has ioctl for reading dvd. Do you still want to do it from scratch?