Hello community, here is the log from the commit of package cpio checked in at Mon Aug 4 12:30:39 CEST 2008. -------- --- cpio/cpio.changes 2008-08-01 18:18:15.000000000 +0200 +++ /mounts/work_src_done/STABLE/cpio/cpio.changes 2008-08-04 12:02:27.000000000 +0200 @@ -1,0 +2,7 @@ +Mon Aug 4 12:02:01 CEST 2008 - lmichnovic@suse.cz + +- changed default tape device for 'mt' command to /dev/nst0 + /dev/tape is not symlink any more but directory handled by udev + (*default_tape_dev.patch) [bnc#355241] + +------------------------------------------------------------------- New: ---- cpio-2.9-default_tape_dev.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ cpio.spec ++++++ --- /var/tmp/diff_new_pack.In6272/_old 2008-08-04 12:30:27.000000000 +0200 +++ /var/tmp/diff_new_pack.In6272/_new 2008-08-04 12:30:27.000000000 +0200 @@ -17,7 +17,7 @@ Group: Productivity/Archiving/Compression AutoReqProv: on Version: 2.9 -Release: 73 +Release: 75 Summary: A Backup and Archiving Utility Source: cpio-2.9.tar.bz2 Patch1: cpio-2.9-no_rmt.patch @@ -40,6 +40,7 @@ # make posibble to have device nodes with major number > 127 # Red Hat Bugzilla #450109 Patch17: cpio-2.9-dev_number.patch +Patch18: cpio-2.9-default_tape_dev.patch PreReq: %install_info_prereq BuildRoot: %{_tmppath}/%{name}-%{version}-build Requires: %{name}-lang = %{version} @@ -83,6 +84,7 @@ %patch15 %patch16 %patch17 +%patch18 chmod 755 . chmod u+w * chmod a+r * @@ -127,6 +129,10 @@ %files lang -f %{name}.lang %changelog +* Mon Aug 04 2008 lmichnovic@suse.cz +- changed default tape device for 'mt' command to /dev/nst0 + /dev/tape is not symlink any more but directory handled by udev + (*default_tape_dev.patch) [bnc#355241] * Fri Aug 01 2008 cthiel@suse.de - specfile cleanup * Fri Jul 18 2008 lmichnovic@suse.cz ++++++ cpio-2.9-default_tape_dev.patch ++++++ --- src/mt.c +++ src/mt.c @@ -664,11 +664,20 @@ { tapedev = getenv ("TAPE"); if (tapedev == NULL) -#ifdef DEFTAPE /* From sys/mtio.h. */ - tapedev = DEFTAPE; -#else +/* Suse doesn't have /dev/tape as link to /dev/nst0 any more. +Instead it uses udev and creates different names in /dev/tape/by-id/ directory. +If it is SCSI tape storage then it creates /dev/tape/by-id/scsi--nst +If it is USB device then it creates something not predictibable: +/dev/tape/by-id/scsi-*HP_blabla*{VENDOR_SPECIFIC}*-nst +So let's use old behave which was /dev/nst0. +bnc#355241 +*/ +/* #ifdef DEFTAPE * From sys/mtio.h. * */ +# define DEFSUSETAPE "/dev/nst0" + tapedev = DEFSUSETAPE; +/* #else error (1, 0, _("no tape device specified")); -#endif +#endif */ } #ifdef MTDENS ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org