Updated man page examples

This commit is contained in:
Thomas Schmitt 2008-05-08 19:54:10 +00:00
parent e791e25423
commit 9a178da717

View File

@ -2,7 +2,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 "May, 4, 2008"
.TH XORRISO 1 "May, 8, 2008"
.\" Please adjust this date whenever revising the manpage.
.\"
.\" Some roff macros, for reference:
@ -1662,8 +1662,7 @@ This transport becomes visible with -report_about "ALL".
If path is not empty it gives the address of a plain text file where
a log record gets appended after each session. This log can be used to
determine the start_lba of a session for mount option sbsector= from
date or volume id. With non-multi-session media this is currently the only
way to obtain this parameter.
date or volume id.
.br
Record format is: timestamp start_lba size volume-id
.br
@ -1942,12 +1941,14 @@ overwrite those which are different on disk,
and delete those which have vanished on disk.
.br
\fB$\fR xorriso -dev /dev/sr0 \\
.br
-volid PROJECTS_MAIL_"$(date '+%Y_%m_%d_%H%M%S')"
.br
-update_r /home/thomas/open_source_projects /open_source_projects \\
.br
-update_r /home/thomas/personal_mail /personal_mail \\
.br
-commit_eject all
-commit -toc -eject all
.br
To be used several times on the same media, whenever an update of
the two disk trees to the media is desired. Begin with blank media and start
@ -1958,12 +1959,15 @@ This makes most sense with backups on non-erasable media like CD-R,
DVD-R, DVD+R if the full backup leaves substantial remaining capacity
on media and if the expected changes are much smaller than the full backup.
An update run will probably save no time but last longer than a full backup.
Another good reason may be given if read speed is much higher than write speed.
.br
With \fBmount\fR option \fB"sbsector="\fR it is possible to access the session
trees which represent the older backup versions. Multi-session media and
overwriteable media iwritten by modern xorriso can tell
the sbsector by xorriso option -toc. For other media one
may set before writing a suitable path for xorriso option -session_log where
overwriteable media written by modern xorriso can tell
the sbsector by xorriso option -toc.
.br
Another way to keep track of incremental sessions is to
set before writing a suitable path for xorriso option -session_log where
the sbsector number gets recorded as the second word in each line.
.br
With CD media, Linux mount accepts session numbers directly by its option