I was wondering if I could (and how to) use a simple file as a device I could read from, like you can do cat /dev/cdrom?
The problem is that I have streamer tape image, and that image is in some weird format, and it has variable block factor (data can be even "a few" hundred mb in 1 block), so only specific software could read it (seismic segd format). So I guess I need to use character device to do so, but I don't know how to connect a file that I have with a device/node I make in /dev (and what would it be - a char device or something else?)
Thank you
The problem is that I have streamer tape image, and that image is in some weird format, and it has variable block factor (data can be even "a few" hundred mb in 1 block), so only specific software could read it (seismic segd format). So I guess I need to use character device to do so, but I don't know how to connect a file that I have with a device/node I make in /dev (and what would it be - a char device or something else?)
Thank you