vcdxrip: Intelligent Input
2.2.3 Reading from wherever
---------------------------
The option '--input' or the short form of this '-i' tries to be
intelligent by trying to figure out whether the thing you are referring
to is a device or a CD disc image.
Currently the algorithm it uses the one that the provided by from the
underlying library: 'libcdio'. It is pretty simple: if the thing
referred to is what in Unix is called a "block" or "character" device
(and there is such a notion in your OS), then it assumes a device name.
When you do "long listing" ("ls -l") of the name and track down possible
symbolic links you will see a "b" or "c" in the first column if the file
is a block or character devices.
If the thing referred to in an '--input' option is a "regular" file
then it is assumed you have a file image of a CD. If the filename ends
(i.e. the extension is) ".bin" or ".BIN" then we assume a "BIN file" if
the filename ends ".nrg or ".NRG we assume a Nero NRG disk image, and if
the filename ends ".toc" or ".TOC" then we assume a 'cdrdao' CD image.
Although this algorithm is subject to change and there may be more
sophisticated or alternative methods, in practice I think this does
pretty much what's expected.
Use at most one option in an invocation from the following list.
These options are described in general in Options controlling
where to read from Where Options.