klmr92 / uguu

Automatically exported from code.google.com/p/uguu
Other
0 stars 1 forks source link

different command for lookup process #60

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
According to current scantype discover algorythm, (scantypes.scan_command +
"-l") is the command which will test if share could be scanned using
scantypes.scan_command. This allows only basic checking (i.e. check whether
low-level scanner could connect share and start reading it's content).
Historically one of the first DDL provided scantypes with additional column
`lookup_command`, but this idea was omitted by uguu design to unify
low-level scanner interfaces. However, that additional optional column will
significantly increase flexibility of the scantype discovery. I.e., we
could show hidden shares if only some of them are present and so on. By
default (if lookup_command is NULL), scan_command + "-l" will be used as
lookup_command.

To increase flexibility, we could even construct the executing command in
some different way, but this is optional: any custom functionality will be
simple to provide as the shell-scripts in bin directory.

Original issue reported on code.google.com by radist...@gmail.com on 12 May 2010 at 3:32