1- Copyright (C) 2024, Western Digital Corporation or its affiliates.
1+ SPDX-FileCopyrightText: 2024 Western Digital Corporation or its affiliates.
22
33# <p align =" center " >Passthrough IO tools</p >
44
5- This project provides the * ptio* command line utility to execute SCSI or ATA
6- passthrough commands.
5+ This project provides the * ptio* library and command line utility to execute
6+ SCSI or ATA passthrough commands.
77
88## License
99
@@ -44,24 +44,25 @@ The following packages must be installed prior to compiling *pt-tools*.
4444
4545## Compilation and Installation
4646
47- The following commands will compile the * ptio* utility.
47+ The following commands will compile the * ptio* library and command line utility.
4848
4949```
5050$ sh ./autogen.sh
5151$ ./configure
5252$ make
5353```
5454
55- To install the compiled executable file and the man page for the * ptio *
56- utility, the following command can be used .
55+ To install the compiled library and the utilities and their man pages, the
56+ use the following command.
5757
5858```
5959$ sudo make install
6060```
6161
62- The default installation directory is /usr/bin. This default location can be
63- changed using the configure script. Executing the following command displays
64- the options used to control the installation path.
62+ The default installation directory is /usr/lib64 for the * libptio.so* library.
63+ The utilities executable files are installed by default under /usr/bin.
64+ This default location can be changed using the configure script. Executing the
65+ following command displays the options used to control the installation path.
6566
6667```
6768$ ./configure --help
@@ -79,13 +80,13 @@ $ ./configure
7980$ make rpm
8081```
8182
82- Five RPM packages are built: a binary package providing * ptio * executable
83- and its documentation, a source RPM package , a * debuginfo *
84- RPM package and a * debugsource * RPM package, and an RPM package containing the
85- test suite .
83+ Seven RPM packages are built: a binary package providing the * libptio * library,
84+ a package providing * libptio * header file for development , a binary package
85+ providing the * ptio * command line utility and its documentation, a source RPM
86+ package, two * debuginfo * RPM packages and a * debugsource * RPM package .
8687
8788The source RPM package can be used to build the binary and debug RPM packages
88- outside of * pt-tools* source tree using the following command.
89+ outside of the * pt-tools* source tree using the following command.
8990
9091```
9192$ rpmbuild --rebuild pt-tools-<version>.src.rpm
@@ -96,9 +97,8 @@ $ rpmbuild --rebuild pt-tools-<version>.src.rpm
9697Read the [ CONTRIBUTING] ( CONTRIBUTING ) file and send patches to:
9798
9899 Damien Le Moal <[email protected] > 99- 100100
101- # * ptio* Command Line Tool
101+ # * ptio* Command Line Utility
102102
103103The * ptio* command line tool allows executing SCSI or ATA passthrough commands.
104104
0 commit comments