Kai Mäkisara
dd5afc0eb6
Check for overflow when using k, M or G
...
Check that using a postfix (k, M, G) with repeat count does not cause
overflow in the int mtop.mt_count.
2016-02-12 21:01:35 +01:00
Kai Mäkisara
b48a42742f
Remove obsolete test from do_show_options()
...
Remove from do_show_options() the now obsolete kernel
version test that has never worked correctly. Problem
reported by Emmanuel Florac.
2016-02-12 20:58:21 +01:00
Kai Mäkisara
ffd5dadee3
Add density codes
...
Add some density codes.
2016-02-12 20:58:13 +01:00
Iustin Pop
ea0031fe07
Add a release tag Makefile target
mt-st-1.2
2016-02-07 21:00:18 +01:00
Iustin Pop
f4e38a010d
Note the new project homepage in the README file
2016-02-07 20:54:46 +01:00
Iustin Pop
0b5d7efaf2
Update changelog for 1.2 release
...
Final update, and mark release date as of today.
2016-02-07 20:51:13 +01:00
Iustin Pop
07b1f56b5a
Remove no-longer-used qic117.h header file
...
It seems the need for this went away in version 1.1 (according to the
changelog), so let's drop the file.
2016-02-07 20:42:40 +01:00
Iustin Pop
a68f885d5d
Fix small typo in the changelog file
2016-02-07 20:41:25 +01:00
Iustin Pop
0ee3591e51
Rework the dist target and drop LSM file
...
Short of moving to autotools, this is the best that can be done:
- move the version from hardcoded in the .c files, to a
dynamically-built `version.h` file so that we only declare the
version in one place
- build a better dist file (.tar.gz) by explicitly selecting which
files to copy, instead of unbounded recursion from the source
directory
- ensure that the files being copied to the archive have a sane
user/group and mode
- add a distcheck target that simply reuses the archive to build and
run the programs, and then regenerate the archive from itself
autotools would solve all this by default, but still feels too
heavyweight for just two .c files.
Additionall, drop the .lsm file. It seems mostly useless these days;
I'll be happy to reinstate it however if anyone cares.
2016-02-07 20:38:27 +01:00
Iustin Pop
506424dc37
Update maintainership info in the remaining places
...
Also remove the 'last modified' entries as they're available from the VCS.
2016-02-07 18:21:29 +01:00
Iustin Pop
4a5780d4d3
Write in-progress changelog entry for upcoming 1.2 release
2016-02-07 18:16:36 +01:00
Iustin Pop
da43cecfc3
Reorganise the README files
...
Instead of split per tool, migrate to a single README file, and move
all the changelog information to a separate CHANGELOG file; both new
files are in markdown format.
Additionally, note the handover of package maintainership starting
with the (to-be-released) 1.2 version.
2016-02-07 18:00:43 +01:00
Iustin Pop
05f1232982
Simple tweak to the Makefile to support DESTDIR
...
Wondering whether full autoconf/automake is worth for these two simple
tools, probably not.
2016-02-04 21:46:45 +01:00
Iustin Pop
e4367cfb8c
Recode all ISO8859-1 files in UTF-8
...
While looking at Fedora's build spec for mt-st, I saw that they recode
the README.stinit file to UTF-8; this makes a lot of sense, so let's
recode all non-UTF files in UTF-8.
2016-02-04 20:14:04 +01:00
Dan Horák
6f410d3e51
Print all options in stinit's help
...
[iustin@k1024.org: import fedora patches]
2016-02-04 20:12:30 +01:00
Dan Horák
f5bf3e40e8
mt missing options section
...
[iustin@k1024.org: import fedora patches, slight adjustment for clean apply]
2016-02-04 20:04:13 +01:00
Jindrich Novy
cdcfc14b64
Add SDLT600 entry to stinit.def.examples
...
Suggested by Ralf-Peter Rohbeck.
[iustin@k1024.org: import fedora patches]
2016-02-04 17:18:18 +01:00
Iustin Pop
f3f4d9d57d
Add taoe density translation for LTO-7
2016-01-25 00:40:07 +01:00
Iustin Pop
4c0df9c184
Merge remote-tracking branch 'github/master'
2016-01-25 00:38:43 +01:00
David Sommerseth
d6e96c7172
Add tape density translation for LTO-5 and LTO-6
...
The codes used have been extracted from the mhvtl project.
2016-01-18 10:07:00 +01:00
Iustin Pop
ffb34b5ca9
Silence two further warnings
...
These two local variables seem unused, probably artifacts from some
older refactoring.
2015-05-29 10:57:59 +02:00
Iustin Pop
af10994fc0
Small Makefile simplification
2015-05-29 10:42:55 +02:00
Iustin Pop
b943c10fe7
Pass preprocessor flags as well in the Makefile
...
This allows better hardening of the binary (e.g. in Debian, hardening
flags include pre-processor flags).
2015-05-29 10:35:04 +02:00
Iustin Pop
460b48d32e
Update man page note about mtio.h location
2015-05-29 10:33:40 +02:00
Iustin Pop
a0fb8d077e
Improve manual page for the erase subcommand
2015-05-29 10:32:41 +02:00
Ivo De Decker
e6a52fd9cf
support stshowoptions command
...
The manpage lists the stshowoptions command, while the code has the
stshowopt command. This patch enables support for both.
2015-05-29 10:31:02 +02:00
Jan Christoph Nordholz
4d88fb7a01
Get rid of all those gcc warnings
...
For the stinit.c change, buflen is positive in all cases, so use a
cast. The other changes are straightforward.
2015-05-29 10:28:47 +02:00
Iustin Pop
6fd7c41012
Restore the default value for CFLAGS
...
Commit 0ca6864 changed CFLAGS to be taken from the environment, but
without using any default value. This patch restores the old CFLAGS
value as the default one.
2015-05-20 10:41:17 +02:00
Ivo De Decker
0ca68642de
Use CFLAGS and LDFLAGS from environment
...
Note: this is a patch originating from the Debian packaging.
2015-05-20 10:39:22 +02:00
Iustin Pop
a7c7d0838e
Add a trivial gitignore file
2015-05-20 09:32:32 +02:00
David Binderman
1f4613eb2b
Fix pointer/char comparison
...
[stinit.c:151]: (warning) Char literal compared with pointer
'cp2'. Did you intend to dereference it?
2015-05-16 17:48:13 +02:00
Kai Mäkisara
80e1c3d17c
Check that the default tape device is a chardev
...
When using the default tape device (no $TAPE env. var and no explicit
tape given), check that it is indeed a character device; this will
help with better error messages on systems using udev, where /dev/tape
is a directory instead.
2015-05-16 17:48:13 +02:00
Kai Mäkisara
f734645c0f
Add a few new density codes
2015-05-16 17:48:13 +02:00
Kai Mäkisara
cb54f6058d
Small man page updates
2015-05-16 17:48:13 +02:00
Kai Mäkisara
c232ed0dd2
Backdated import of mt-st version 1.1
...
This is an import of the mt-st upstream release 1.1 as it appeared in
the Debian archives and on ftp://ftp.ibiblio.org/pub/linux/system/backup.
2015-05-16 17:46:05 +02:00
Kai Mäkisara
be12266b61
Backdated import of mt-st version 0.9b
...
This is an import of the mt-st upstream release 0.9b as it appeared in
the Debian archives.
2015-05-16 17:39:25 +02:00
Kai Mäkisara
11875969cd
Backdated import of mt-st version 0.8
...
This is an import of the mt-st upstream release 0.8 as it appeared in
the Debian archives.
2015-05-16 17:33:19 +02:00
Kai Mäkisara
fcb4fbe0d1
Backdated import of mt-st version 0.7
...
This is an import of the mt-st upstream release 0.7 as it appeared in
the Debian archives.
2015-05-16 17:26:03 +02:00