summaryrefslogtreecommitdiff
path: root/doc/genfile.texi
Commit message (Collapse)AuthorAgeFilesLines
* genfile: implement the --set-time optionHEADmasterSergey Poznyakoff2023-05-171-4/+45
| | | | | * doc/genfile.texi: Document changes. * tests/genfile.c: New options: --set-time and --no-dereference.
* Update copyright yearPaul Eggert2023-01-061-1/+1
| | | | | | | UPDATE_COPYRIGHT_USE_INTERVALS=1 \ UPDATE_COPYRIGHT_MAX_LINE_LENGTH=79 \ gnulib/build-aux/update-copyright \ $(git ls-files | sed -e '/^gnulib$/d; /^COPYING$/d')
* Improve genfile exec modeSergey Poznyakoff2018-12-281-40/+40
| | | | | | | | | | | | | | | | | | | | | This commit introduces interprocess communication between genfile and subsidiary command in exec mode. Instead of using sleep as part of the checkpoint action chain (as GNU tar did so far), genfile now inserts --checkpoint-action=wait=SIGUSR1 into the command line and sends the process the SIGUSR1 after having finished with the checkpoint. This eliminates the race condition and speeds up the tests based on exec mode. The "wait" action is introduced in GNU tar 1.30.90. * doc/genfile.texi: Document changes. * tests/genfile.c (checkpoint_granularity): New variable. (parse_opt): Optional argument to --run specifies granularity. (CHECKPOINT_TEXT): Customize for genfile. (exec_command): Take command as arguments. Insert the --checkpoint and --checkpoint-action options after the command name. Use checkpoint action wait=SIGUSR1 for synchronization. Send SIGUSR1 after processing checkpoint.
* Improve genfileSergey Poznyakoff2017-05-291-2/+4
| | | | | | | * tests/genfile.c: Rename --unlink option to --delete, retaining old name as alias. Call unlink or rmdir depending on the type of the argument. * doc/genfile.texi: Document changes.
* genfile: new option --quietSergey Poznyakoff2016-03-181-2/+8
| | | | | | * tests/genfile.c: New option --quite: suppress error exit if the created file is not sparse. * doc/genfile.texi: Document --quiet.
* genfile: improve sparse modeSergey Poznyakoff2014-11-071-11/+22
| | | | | | | | * tests/genfile.c (generate_sparse_file): Handle '-' argument (read from stdin); If content strings starts with '=', treat it as fragment size and use default pattern to fill it. * doc/genfile.texi: Document changes to genfile.
* doc: port to texinfo 5Paul Eggert2013-04-241-21/+23
| | | | * doc/genfile.texi (Status Mode): Put FIXME at line start.
* Improve genfile --runSergey Poznyakoff2009-08-081-26/+43
| | | | | | * tests/genfile.c: Change the use of --run option. Implement --unlink action. * doc/genfile.texi: Document changes in genfile
* (Generate Mode): Document --seek option.Sergey Poznyakoff2006-12-071-0/+6
|
* Fix typosSergey Poznyakoff2006-07-091-3/+3
|
* Document --files-from and --null optionsSergey Poznyakoff2006-06-021-0/+27
|
* Document exit codes in create mode. Fix file size calculation in the example ↵Sergey Poznyakoff2006-04-251-8/+19
| | | | of genfile --sparse.
* UpdateSergey Poznyakoff2006-04-111-3/+6
|
* Minor fixesSergey Poznyakoff2005-05-141-4/+4
|
* Add new filesSergey Poznyakoff2005-05-121-0/+284