From b70a4115821aaac9c9fce1dd248cd8d671bc91a2 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 --- libisoburn/trunk/xorriso/drive_mgt.c | 2 +- libisoburn/trunk/xorriso/xorriso.1 | 4 ++-- libisoburn/trunk/xorriso/xorriso.info | 4 ++-- libisoburn/trunk/xorriso/xorriso.texi | 4 ++-- libisoburn/trunk/xorriso/xorriso_timestamp.h | 2 +- 5 files changed, 8 insertions(+), 8 deletions(-) diff --git a/libisoburn/trunk/xorriso/drive_mgt.c b/libisoburn/trunk/xorriso/drive_mgt.c index 53eb6634..01e19dbd 100644 --- a/libisoburn/trunk/xorriso/drive_mgt.c +++ b/libisoburn/trunk/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/libisoburn/trunk/xorriso/xorriso.1 b/libisoburn/trunk/xorriso/xorriso.1 index 38483bbc..e1034947 100644 --- a/libisoburn/trunk/xorriso/xorriso.1 +++ b/libisoburn/trunk/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/libisoburn/trunk/xorriso/xorriso.info b/libisoburn/trunk/xorriso/xorriso.info index 5cf53aba..db20d947 100644 --- a/libisoburn/trunk/xorriso/xorriso.info +++ b/libisoburn/trunk/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/libisoburn/trunk/xorriso/xorriso.texi b/libisoburn/trunk/xorriso/xorriso.texi index f6589d5e..707bd17e 100644 --- a/libisoburn/trunk/xorriso/xorriso.texi +++ b/libisoburn/trunk/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/libisoburn/trunk/xorriso/xorriso_timestamp.h b/libisoburn/trunk/xorriso/xorriso_timestamp.h index ccc4a35d..7ddb758f 100644 --- a/libisoburn/trunk/xorriso/xorriso_timestamp.h +++ b/libisoburn/trunk/xorriso/xorriso_timestamp.h @@ -1 +1 @@ -#define Xorriso_timestamP "2011.07.27.211423" +#define Xorriso_timestamP "2011.07.28.111814"