#reading a device on Linux

1 messages ยท Page 1 of 1 (latest)

lunar ridge
#

opening it does not mount it

#

it just gives you a file handle you can use to read or write to the file/device

hollow nest
rough wraith
hollow nest
rough wraith
#

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

hollow nest
rough wraith
#

oh yeah permissions right?

hollow nest
#

nah the reader knows what's up

rough wraith
#

๐Ÿ‘€

#

wut

hollow nest
#

it is a disc reader

#

it can tell it is a DVD-R

rough wraith
#

oh this is a cd/dvd/bd?

hollow nest
rough wraith
#

this is a real can of worms

#

I have no clue how to do that

#

so

#

good luck lol

minor kindle
#

linux has ioctl for reading dvd. Do you still want to do it from scratch?