- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: cpio ??
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-01-2004 02:09 AM
07-01-2004 02:09 AM
cpio ??
I am having a script like this
install_informix_dir=/opt/install_informix_dir
informix_dir=/opt/informix
Now it executes a tar command to extract
informix tar
tar xf
and then
mkdir $informix_dir
cd $informix_dir
Then it is having these 2 cpio command, please explain what this is doing
cpio -icdBum < $informix_install_dir/informix/server/ids.cpi > /dev/null 2>&1
cpio -icdBum < $informix_install_dir/informix/iconnect/hp/connect.cpi > /dev/null 2>&1
What are the above 2 CPIO command doing please explain.....
Thanks,
Amit
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-01-2004 02:12 AM
07-01-2004 02:12 AM
Re: cpio ??
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-01-2004 03:07 AM
07-01-2004 03:07 AM
Re: cpio ??
You are coping the ids.cpi and connect.cpi files to pwd directory with the same directory path. It will use the read / write headers in ASCII format.
cpio is using the method of extraction of files from the standard input.
If you want to redirect to or from devices,we have to use B option to control the block input / output to 5120 bytes.
Old files are not replaced with the new files with it's name. It will use the same modification time as before extraction.
STDOUT messages are Redirected to null device. Error messages are redirected to STDOUT mode.
I hope B option is not needed if you are not using the devices.
Regards,
Muthukumar.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-01-2004 03:19 AM
07-01-2004 03:19 AM
Re: cpio ??
Thanks for the reply but the script is
not doing what it is suppose to do
It doesn't create the same directory
structure and cpi's the file to them
What could be the possible reason for
this and can I display error on screen.
Thanks,
Amit
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-01-2004 03:34 AM
07-01-2004 03:34 AM
Re: cpio ??
but should the cpios be
$install_informix_dir not $informix_install_dir
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-01-2004 03:58 AM
07-01-2004 03:58 AM
Re: cpio ??
That is not the mistake I typed it wrong
on ITRC but in the script there is no
mistake related to that
Please see the attached for the details
and tell me what I am doing wrong.
Thanks,
Amit