From bf011207dacf53a6735b2d6e5391a51c7e584e41 Mon Sep 17 00:00:00 2001 From: Thomas Schmitt Date: Thu, 28 Jul 2011 11:18:40 +0000 Subject: [PATCH] Prefering dvd over cd with -device_links --- xorriso/drive_mgt.c | 2 +- xorriso/xorriso.1 | 4 ++-- xorriso/xorriso.info | 4 ++-- xorriso/xorriso.texi | 4 ++-- xorriso/xorriso_timestamp.h | 2 +- 5 files changed, 8 insertions(+), 8 deletions(-) diff --git a/xorriso/drive_mgt.c b/xorriso/drive_mgt.c index 53eb6634..01e19dbd 100644 --- a/xorriso/drive_mgt.c +++ b/xorriso/drive_mgt.c @@ -1128,7 +1128,7 @@ int Xorriso_lookup_device_link(struct XorrisO *xorriso, char *dev_adr, struct stat link_stbuf; char *adr= NULL, *namept, *sys_adr= NULL; 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); sys_adr= calloc(BURN_DRIVE_ADR_LEN, 1); diff --git a/xorriso/xorriso.1 b/xorriso/xorriso.1 index 38483bbc..e1034947 100644 --- a/xorriso/xorriso.1 +++ b/xorriso/xorriso.1 @@ -9,7 +9,7 @@ .\" First parameter, NAME, should be all caps .\" Second parameter, SECTION, should be 1-8, maybe w/ subsection .\" 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. .\" .\" 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. The command \-device_links shows the addresses of such links if they begin by "/dev/dvd" or "/dev/cd". -Precedence is: "cdrw", "dvdrw", "cdrom", "dvd", "cd". +Precedence is: "dvdrw", "cdrw", "dvd", "cdrom", "cd". .TP \fB\-toc\fR .br diff --git a/xorriso/xorriso.info b/xorriso/xorriso.info index 5cf53aba..db20d947 100644 --- a/xorriso/xorriso.info +++ b/xorriso/xorriso.info @@ -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 point to the same drive, regardless of its system address. The command -device_links shows the addresses of such links if they - begin by "/dev/dvd" or "/dev/cd". Precedence is: "cdrw", "dvdrw", - "cdrom", "dvd", "cd". + begin by "/dev/dvd" or "/dev/cd". Precedence is: "dvdrw", "cdrw", + "dvd", "cdrom", "cd". -toc Show media specific table of content. This is the media session diff --git a/xorriso/xorriso.texi b/xorriso/xorriso.texi index f6589d5e..707bd17e 100644 --- a/xorriso/xorriso.texi +++ b/xorriso/xorriso.texi @@ -50,7 +50,7 @@ @c man .\" First parameter, NAME, should be all caps @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 .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 .\" @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. The command -device_links shows the addresses of such links if they begin by "/dev/dvd" or "/dev/cd". -Precedence is: "cdrw", "dvdrw", "cdrom", "dvd", "cd". +Precedence is: "dvdrw", "cdrw", "dvd", "cdrom", "cd". @c man .TP @item -toc @* diff --git a/xorriso/xorriso_timestamp.h b/xorriso/xorriso_timestamp.h index ccc4a35d..7ddb758f 100644 --- a/xorriso/xorriso_timestamp.h +++ b/xorriso/xorriso_timestamp.h @@ -1 +1 @@ -#define Xorriso_timestamP "2011.07.27.211423" +#define Xorriso_timestamP "2011.07.28.111814"