Updated man page examples

This commit is contained in:
Thomas Schmitt 2008-05-08 19:54:10 +00:00
parent cf103ac180
commit 1d8e7620f0

View File

@ -2,7 +2,7 @@
.\" First parameter, NAME, should be all caps .\" First parameter, NAME, should be all caps
.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection .\" Second parameter, SECTION, should be 1-8, maybe w/ subsection
.\" other parameters are allowed: see man(7), man(1) .\" 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. .\" Please adjust this date whenever revising the manpage.
.\" .\"
.\" Some roff macros, for reference: .\" 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 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 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 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 date or volume id.
way to obtain this parameter.
.br .br
Record format is: timestamp start_lba size volume-id Record format is: timestamp start_lba size volume-id
.br .br
@ -1942,12 +1941,14 @@ overwrite those which are different on disk,
and delete those which have vanished on disk. and delete those which have vanished on disk.
.br .br
\fB$\fR xorriso -dev /dev/sr0 \\ \fB$\fR xorriso -dev /dev/sr0 \\
.br
-volid PROJECTS_MAIL_"$(date '+%Y_%m_%d_%H%M%S')"
.br .br
-update_r /home/thomas/open_source_projects /open_source_projects \\ -update_r /home/thomas/open_source_projects /open_source_projects \\
.br .br
-update_r /home/thomas/personal_mail /personal_mail \\ -update_r /home/thomas/personal_mail /personal_mail \\
.br .br
-commit_eject all -commit -toc -eject all
.br .br
To be used several times on the same media, whenever an update of 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 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 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. 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. 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 .br
With \fBmount\fR option \fB"sbsector="\fR it is possible to access the session 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 trees which represent the older backup versions. Multi-session media and
overwriteable media iwritten by modern xorriso can tell overwriteable media written by modern xorriso can tell
the sbsector by xorriso option -toc. For other media one the sbsector by xorriso option -toc.
may set before writing a suitable path for xorriso option -session_log where .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. the sbsector number gets recorded as the second word in each line.
.br .br
With CD media, Linux mount accepts session numbers directly by its option With CD media, Linux mount accepts session numbers directly by its option