From 6be36c87261a3d92ecf70eeb471a034efe310254 Mon Sep 17 00:00:00 2001 From: Thomas Schmitt Date: Fri, 2 Nov 2007 18:47:38 +0000 Subject: [PATCH] Polished write success message and man page --- test/xorriso.1 | 7 +++++++ test/xorriso_timestamp.h | 2 +- test/xorrisoburn.c | 3 ++- 3 files changed, 10 insertions(+), 2 deletions(-) diff --git a/test/xorriso.1 b/test/xorriso.1 index 8d9ab1b4..f9478b15 100644 --- a/test/xorriso.1 +++ b/test/xorriso.1 @@ -290,9 +290,16 @@ would be done with shell command cp -r. .TP \fB\-rm\fR iso_rr_path [...] Delete the given files from the ISO image. +.br +Note: This does not free any space on the -indev media, even if +the deletion is committed to that same media. +.br +> The image size will shrink if the image is written to a different +media in modification mode. .TP \fB\-rm_r\fR iso_rr_path [...] Delete the given files or directory trees from the ISO image. +See also the note with option -rm. .TP \fB\-mv\fR iso_rr_path [...] iso_rr_path Rename the given file objects in the ISO tree to the last diff --git a/test/xorriso_timestamp.h b/test/xorriso_timestamp.h index 5c0c9526..801b77d0 100644 --- a/test/xorriso_timestamp.h +++ b/test/xorriso_timestamp.h @@ -1 +1 @@ -#define Xorriso_timestamP "2007.11.02.143658" +#define Xorriso_timestamP "2007.11.02.184705" diff --git a/test/xorrisoburn.c b/test/xorrisoburn.c index 9d949eac..97121dba 100644 --- a/test/xorrisoburn.c +++ b/test/xorrisoburn.c @@ -351,7 +351,8 @@ int Xorriso_write_growing(struct XorrisO *xorriso, int flag) tracks= burn_session_get_tracks(sessions[0], &num_tracks); if(tracks!=NULL && num_tracks>0) { burn_track_get_counters(tracks[0],&readcounter,&writecounter); - sprintf(xorriso->info_text, "Read: %d sectors , Written: %d sectors\n", + sprintf(xorriso->info_text, + "ISO image produced: %d sectors. Written to media: %d sectors\n", (int) readcounter/2048, (int) writecounter/2048); Xorriso_info(xorriso, 0); }