Prefering dvd over cd with -device_links
This commit is contained in:
parent
d9c18ad08d
commit
bf011207da
@ -1128,7 +1128,7 @@ int Xorriso_lookup_device_link(struct XorrisO *xorriso, char *dev_adr,
|
|||||||
struct stat link_stbuf;
|
struct stat link_stbuf;
|
||||||
char *adr= NULL, *namept, *sys_adr= NULL;
|
char *adr= NULL, *namept, *sys_adr= NULL;
|
||||||
int ret, name_rank, found_rank= 0x7fffffff;
|
int ret, name_rank, found_rank= 0x7fffffff;
|
||||||
static char ranks[][8] = {"cdrw", "dvdrw", "cdrom", "dvd", "cd", ""};
|
static char ranks[][8] = {"dvdrw", "cdrw", "dvd", "cdrom", "cd", ""};
|
||||||
|
|
||||||
adr= calloc(SfileadrL + 5, 1);
|
adr= calloc(SfileadrL + 5, 1);
|
||||||
sys_adr= calloc(BURN_DRIVE_ADR_LEN, 1);
|
sys_adr= calloc(BURN_DRIVE_ADR_LEN, 1);
|
||||||
|
@ -9,7 +9,7 @@
|
|||||||
.\" First parameter, NAME, should be all caps
|
.\" First parameter, NAME, should be all caps
|
||||||
.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection
|
.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection
|
||||||
.\" other parameters are allowed: see man(7), man(1)
|
.\" other parameters are allowed: see man(7), man(1)
|
||||||
.TH XORRISO 1 "Version 1.1.3, Jul 27, 2011"
|
.TH XORRISO 1 "Version 1.1.3, Jul 28, 2011"
|
||||||
.\" Please adjust this date whenever revising the manpage.
|
.\" Please adjust this date whenever revising the manpage.
|
||||||
.\"
|
.\"
|
||||||
.\" Some roff macros, for reference:
|
.\" Some roff macros, for reference:
|
||||||
@ -3076,7 +3076,7 @@ The udev daemon is supposed to create links which always point to the
|
|||||||
same drive, regardless of its system address.
|
same drive, regardless of its system address.
|
||||||
The command \-device_links shows the addresses of such links if they begin
|
The command \-device_links shows the addresses of such links if they begin
|
||||||
by "/dev/dvd" or "/dev/cd".
|
by "/dev/dvd" or "/dev/cd".
|
||||||
Precedence is: "cdrw", "dvdrw", "cdrom", "dvd", "cd".
|
Precedence is: "dvdrw", "cdrw", "dvd", "cdrom", "cd".
|
||||||
.TP
|
.TP
|
||||||
\fB\-toc\fR
|
\fB\-toc\fR
|
||||||
.br
|
.br
|
||||||
|
@ -2697,8 +2697,8 @@ File: xorriso.info, Node: Inquiry, Next: Navigate, Prev: DialogCtl, Up: Opti
|
|||||||
boot. The udev daemon is supposed to create links which always
|
boot. The udev daemon is supposed to create links which always
|
||||||
point to the same drive, regardless of its system address. The
|
point to the same drive, regardless of its system address. The
|
||||||
command -device_links shows the addresses of such links if they
|
command -device_links shows the addresses of such links if they
|
||||||
begin by "/dev/dvd" or "/dev/cd". Precedence is: "cdrw", "dvdrw",
|
begin by "/dev/dvd" or "/dev/cd". Precedence is: "dvdrw", "cdrw",
|
||||||
"cdrom", "dvd", "cd".
|
"dvd", "cdrom", "cd".
|
||||||
|
|
||||||
-toc
|
-toc
|
||||||
Show media specific table of content. This is the media session
|
Show media specific table of content. This is the media session
|
||||||
|
@ -50,7 +50,7 @@
|
|||||||
@c man .\" First parameter, NAME, should be all caps
|
@c man .\" First parameter, NAME, should be all caps
|
||||||
@c man .\" Second parameter, SECTION, should be 1-8, maybe w/ subsection
|
@c man .\" Second parameter, SECTION, should be 1-8, maybe w/ subsection
|
||||||
@c man .\" other parameters are allowed: see man(7), man(1)
|
@c man .\" other parameters are allowed: see man(7), man(1)
|
||||||
@c man .TH XORRISO 1 "Version 1.1.3, Jul 27, 2011"
|
@c man .TH XORRISO 1 "Version 1.1.3, Jul 28, 2011"
|
||||||
@c man .\" Please adjust this date whenever revising the manpage.
|
@c man .\" Please adjust this date whenever revising the manpage.
|
||||||
@c man .\"
|
@c man .\"
|
||||||
@c man .\" Some roff macros, for reference:
|
@c man .\" Some roff macros, for reference:
|
||||||
@ -3623,7 +3623,7 @@ The udev daemon is supposed to create links which always point to the
|
|||||||
same drive, regardless of its system address.
|
same drive, regardless of its system address.
|
||||||
The command -device_links shows the addresses of such links if they begin
|
The command -device_links shows the addresses of such links if they begin
|
||||||
by "/dev/dvd" or "/dev/cd".
|
by "/dev/dvd" or "/dev/cd".
|
||||||
Precedence is: "cdrw", "dvdrw", "cdrom", "dvd", "cd".
|
Precedence is: "dvdrw", "cdrw", "dvd", "cdrom", "cd".
|
||||||
@c man .TP
|
@c man .TP
|
||||||
@item -toc
|
@item -toc
|
||||||
@*
|
@*
|
||||||
|
@ -1 +1 @@
|
|||||||
#define Xorriso_timestamP "2011.07.27.211423"
|
#define Xorriso_timestamP "2011.07.28.111814"
|
||||||
|
Loading…
Reference in New Issue
Block a user