From f7068cf989116547f839c55a5c4134f5c4a91913 Mon Sep 17 00:00:00 2001 From: Yura Pakhuchiy Date: Mon, 24 Sep 2007 21:58:02 +0300 Subject: [PATCH] ntfscp docs update --- ntfsprogs/ntfscp.8.in | 47 +++++++++++++++---------------------------- ntfsprogs/ntfscp.c | 6 ++++-- 2 files changed, 20 insertions(+), 33 deletions(-) diff --git a/ntfsprogs/ntfscp.8.in b/ntfsprogs/ntfscp.8.in index d39763c5..30fa0b5a 100644 --- a/ntfsprogs/ntfscp.8.in +++ b/ntfsprogs/ntfscp.8.in @@ -1,30 +1,20 @@ -.\" Copyright (c) 2004\-2005 Yura Pakhuchiy. +.\" Copyright (c) 2004\-2007 Yura Pakhuchiy. .\" Copyright (c) 2005 Richard Russon. .\" This file may be copied under the terms of the GNU Public License. .\" -.TH NTFSCP 8 "November 2005" "ntfsprogs @VERSION@" +.TH NTFSCP 8 "September 2007" "ntfsprogs @VERSION@" .SH NAME -ntfscp \- overwrite file on an NTFS volume. +ntfscp \- copy file to an NTFS volume. .SH SYNOPSIS -.B ntfscp -[\fIoptions\fR] \fIdevice source_file destination\fR +\fBntfscp\fR [\fIoptions\fR] \fIdevice source_file destination\fR .SH DESCRIPTION -.B ntfscp -will overwrite file on an NTFS volume. At present -.B ntfscp -can't create new files. -.B destination -can be either file or directory. In case if -.B destination -is directory specified by name then -.B source_file -is copied into this directory, in case if -.B destination -is directory and specified by inode number then unnamed data attribute is -created for this inode and -.B source_file -is copied into it (WARNING: it's unusual to have unnamed data streams in the -directories, think twice before specifying directory by inode number). +\fBntfscp\fR will copy file to an NTFS volume. \fIdestination\fR can be either +file or directory. In case if \fIdestination\fR is directory specified by name +then \fIsource_file\fR is copied into this directory, in case if +\fIdestination\fR is directory and specified by inode number then unnamed data +attribute is created for this inode and \fIsource_file\fR is copied into it +(WARNING: it's unusual to have unnamed data streams in the directories, think +twice before specifying directory by inode number). .SH OPTIONS Below is a summary of all the options that .B ntfscp @@ -96,24 +86,19 @@ windows is C): .sp .RE .SH BUGS -There are no known problems with -.BR ntfscp . -If you find a bug please send an email describing the problem to the -development team: +There are no known problems with \fBntfscp\fR. If you find a bug please send an +email describing the problem to the development team: .br .nh linux\-ntfs\-dev@lists.sourceforge.net .hy .SH AUTHORS -.B ntfscp -was written by Yura Pakhuchiy, with contributions from Anton Altaparmakov. +\fBntfscp\fR was written by Yura Pakhuchiy, with contributions from Anton +Altaparmakov and Hil Liao. .SH DEDICATION With love to Marina Sapego. .SH AVAILABILITY -.B ntfscp -is part of the -.B ntfsprogs -package and is available from: +\fBntfscp\fR is part of the \fBntfsprogs\fR package and is available from: .br .nh http://www.linux\-ntfs.org/content/view/19/37 diff --git a/ntfsprogs/ntfscp.c b/ntfsprogs/ntfscp.c index 0a6988d4..66813beb 100644 --- a/ntfsprogs/ntfscp.c +++ b/ntfsprogs/ntfscp.c @@ -5,7 +5,7 @@ * Copyright (c) 2005 Anton Altaparmakov * Copyright (c) 2006 Hil Liao * - * This utility will overwrite files on NTFS volume. + * This utility will copy file to an NTFS volume. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -83,9 +83,11 @@ static volatile sig_atomic_t caught_terminate = 0; */ static void version(void) { - ntfs_log_info("\n%s v%s (libntfs %s) - Overwrite files on NTFS " + ntfs_log_info("\n%s v%s (libntfs %s) - Copy file to an NTFS " "volume.\n\n", EXEC_NAME, VERSION, ntfs_libntfs_version()); ntfs_log_info("Copyright (c) 2004-2007 Yura Pakhuchiy\n"); + ntfs_log_info("Copyright (c) 2005 Anton Altaparmakov\n"); + ntfs_log_info("Copyright (c) 2006 Hil Liao\n"); ntfs_log_info("\n%s\n%s%s\n", ntfs_gpl, ntfs_bugs, ntfs_home); }