Up to [Development] / xfs-cmds / xfsdump / common
Request diff between arbitrary revisions
Default branch: MAIN
Revision 1.20 / (download) - annotate - [select for diffs], Fri Feb 1 14:59:02 2008 UTC (9 years, 8 months ago) by wkendall
Branch: MAIN
CVS Tags: HEAD
Changes since 1.19: +30 -14
lines
Diff to previous 1.19 (unified)
Ask TS directly whether the device xfsdump is using is fixed or variable, rather than trying to infer it from the result of a MTIOCGETBLKINFO call. Previously when xfsdump thought it was using a fixed device that was actually variable, it would bail out after failing to set the blocksize.
Revision 1.19 / (download) - annotate - [select for diffs], Thu Feb 1 19:02:45 2007 UTC (10 years, 8 months ago) by wkendall
Branch: MAIN
Changes since 1.18: +5 -5
lines
Diff to previous 1.18 (unified)
xfsdump uses the optopt variable from getopt incorrectly. It assumes that the value is set to the current option being processed, when in fact it is only set when getopt encounters an unknown option. Thanks to Kouta Ooizumi.
Revision 1.18 / (download) - annotate - [select for diffs], Wed May 24 06:08:55 2006 UTC (11 years, 4 months ago) by nathans.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.17: +1 -1
lines
Diff to previous 1.17 (unified)
Update xfsdump build to use xfs.h instead of libxfs.h, fixing a recent namespace collision on list symbols. Merge of master-melb:xfs-cmds:26007a by kenmcd.
Revision 1.17 / (download) - annotate - [select for diffs], Mon Apr 24 19:42:20 2006 UTC (11 years, 5 months ago) by wkendall
Branch: MAIN
Changes since 1.16: +2 -61
lines
Diff to previous 1.16 (unified)
Change tape strategies to default to using a single media file, as the disk strategy currently does. Using multiple media files kills performance on filesystems with large numbers of inodes. Multiple media files can still be used by specifying the -d option.
Revision 1.16 / (download) - annotate - [select for diffs], Wed Nov 9 05:04:17 2005 UTC (11 years, 11 months ago) by nathans.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.15: +14 -28
lines
Diff to previous 1.15 (unified)
Update copyright annotations and license boilerplates to correspond with SGI Legals preferences. Merge of master-melb:xfs-cmds:24334a by kenmcd.
Revision 1.15 / (download) - annotate - [select for diffs], Tue Apr 19 07:50:46 2005 UTC (12 years, 5 months ago) by hch
Branch: MAIN
Changes since 1.14: +1 -8
lines
Diff to previous 1.14 (unified)
extract major number directly from struct stat in xfsdump avoid conerting a struct stat to an xfs_bstat_t and doing macro magic to get the Linux major number again, just call major on the statbuf.
Revision 1.14 / (download) - annotate - [select for diffs], Sun Dec 28 17:32:45 2003 UTC (13 years, 9 months ago) by alkirkco
Branch: MAIN
Changes since 1.13: +72 -9
lines
Diff to previous 1.13 (unified)
When xfsdump was modified in 2.2.13, the ioctl used to backspace over the
stream terminator was changed from MTBSF to MTBSFM to match the ioctl
description in the old MT(1L) man page. The behavior of the MTBSF[M] ioctls
have recently changed in Linux as documented in the latest MT(1) man page.
Old Behavior:
MTBSF - Backward space count files. The tape is positioned on the first
block of the next file.
MTBSFM - Backward space count file marks. The tape is positioned on the
beginning-of-tape side (in front) of the file mark.
New Behavior:
MTBSF - Backward space count files. The tape is positioned on the last
block of the previous file.
MTBSFM - Backward space count files. The tape is positioned on the first
block of the next file.
The code was changed to MTBSFM in order to end up on the BOT (left) side of
the filemark to overwrite the terminator. Due to the change in ioctl behavior,
MTBSFM now positions us on the first block of the next file. This means the
stream terminator is never getting overwritten and xfsdump thinks there is only
ever one dump on the tape (and overwrites any dumps previously appended to the
first dump).
The TS tape driver code has been fixed to match the new ioctl behavior, and
this mod will change the xfsdump code back to use MTBSF once again. However,
APD 2.8 (the fix) won't be released until spring 2004... and TS backups won't
work properly with 2.2.15 without the fix in APD 2.8. For this reason, this
mod also adds a temporary workaround to call the 'real' TS status ioctl,
MTIOCGET_SGI, rather than the ST-emulated status ioctl, MTIOCGET (with bug).
Once MTIOCGET_SGI has been called to get the correct status of the TS device,
a new routine called map_ts_status() must be used to map the TS mt_dposn
field back to the ST mt_gstat for xfsdump to understand the binary flags.
Revision 1.13 / (download) - annotate - [select for diffs], Mon Jul 21 23:58:59 2003 UTC (14 years, 2 months ago) by alkirkco
Branch: MAIN
Changes since 1.12: +65 -64
lines
Diff to previous 1.12 (unified)
Fix ST/TS tape driver compatibility issues in drive_scsitape. Fix multiple backups to a single tape (TS AND ST). Fix ST/TS tape driver issues.
Revision 1.12 / (download) - annotate - [select for diffs], Tue Apr 29 01:52:34 2003 UTC (14 years, 5 months ago) by nathans
Branch: MAIN
CVS Tags: XFS-1_3_0pre1
Changes since 1.11: +2 -2
lines
Diff to previous 1.11 (unified)
Fix includes to not be relative to paths provided by -I directives, for the xfsprogs and xfsdump builds. At this stage still provide these gcc options in the build but later that can be removed too now that headers are clean.
Revision 1.11 / (download) - annotate - [select for diffs], Mon Mar 17 19:35:42 2003 UTC (14 years, 7 months ago) by alkirkco
Branch: MAIN
Changes since 1.10: +1 -19
lines
Diff to previous 1.10 (unified)
Undoes mod: xfs-cmds:slinx:141863a All of the SGI tape applications (TMF, DMF, OpenVault, and tape tests) currently use the TS tape driver. This mod adds initial support for xfsdump to also use the TS tape driver.
Revision 1.10 / (download) - annotate - [select for diffs], Mon Mar 17 15:05:09 2003 UTC (14 years, 7 months ago) by alkirkco
Branch: MAIN
Changes since 1.9: +116 -22
lines
Diff to previous 1.9 (unified)
All of the SGI tape applications (TMF, DMF, OpenVault, and tape tests) currently use the TS tape driver. This mod adds initial support for xfsdump to also use the TS tape driver. 1. If ts/mtio.h exists, include it rather than sys/mtio.h. 2. Look at major number of target device, rather than path name, to determine if we have a tape device or not. 3. Use MTIOCGETBLKINFO ioctl to get block size information when using the TS tape driver (ST will still use MTIOCGET ioctl).
Revision 1.9 / (download) - annotate - [select for diffs], Thu Dec 19 22:44:59 2002 UTC (14 years, 9 months ago) by nathans
Branch: MAIN
Changes since 1.8: +112 -112
lines
Diff to previous 1.8 (unified)
I18N support for xfsdump package.
Revision 1.8 / (download) - annotate - [select for diffs], Tue Jun 4 23:07:56 2002 UTC (15 years, 4 months ago) by sandeen
Branch: MAIN
Changes since 1.7: +1 -1
lines
Diff to previous 1.7 (unified)
Update copyright dates (again)
Revision 1.7 / (download) - annotate - [select for diffs], Tue Jun 4 22:53:09 2002 UTC (15 years, 4 months ago) by sandeen
Branch: MAIN
Changes since 1.6: +1 -1
lines
Diff to previous 1.6 (unified)
Undoes mod: xfs-cmds:slinx:120772a Undo xfs-cmds:slinx:120772a, inadvertently whacked a previous mod.
Revision 1.6 / (download) - annotate - [select for diffs], Tue Jun 4 17:58:21 2002 UTC (15 years, 4 months ago) by sandeen
Branch: MAIN
Changes since 1.5: +1 -1
lines
Diff to previous 1.5 (unified)
Update copyright dates
Revision 1.5 / (download) - annotate - [select for diffs], Thu Dec 13 09:23:07 2001 UTC (15 years, 10 months ago) by tes
Branch: MAIN
Changes since 1.4: +6 -6
lines
Diff to previous 1.4 (unified)
Make the strategy name more human readable.
Revision 1.4 / (download) - annotate - [select for diffs], Tue Dec 11 00:06:43 2001 UTC (15 years, 10 months ago) by tes
Branch: MAIN
Changes since 1.3: +19 -15
lines
Diff to previous 1.3 (unified)
move the rechdr endian conversion to just before the write in the write_record function
Revision 1.3 / (download) - annotate - [select for diffs], Fri Sep 28 09:49:27 2001 UTC (16 years ago) by fsgqa
Branch: MAIN
Changes since 1.2: +22 -10
lines
Diff to previous 1.2 (unified)
changes for testing strategy for devfs mounted tape drives
Revision 1.2 / (download) - annotate - [select for diffs], Tue Jul 24 06:55:40 2001 UTC (16 years, 2 months ago) by nathans
Branch: MAIN
Changes since 1.1: +89 -17
lines
Diff to previous 1.1 (unified)
merge in several missing fixes from IRIX.
Revision 1.1 / (download) - annotate - [select for diffs], Mon Jan 15 04:06:20 2001 UTC (16 years, 9 months ago) by nathans
Branch: MAIN
CVS Tags: Release-1_0_0,
Linux-2_4_5-merge
cmd/xfs/dump/common/drive_scsitape.c 1.29 Renamed to cmd/xfsdump/common/drive_scsitape.c