- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- find or cpio error? Where can find errno definitio...
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
Discussions
Discussions
Discussions
Forums
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
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
тАО08-27-2001 08:26 AM
тАО08-27-2001 08:26 AM
find or cpio error? Where can find errno definition
# find . -xdev -depth -print|cpio -pxdm /mnt
Cannot create directory for (errno:22)
Cannot create directory for (errno:22)
# ls -l newconfig/etc/X11/Xconsoles
-r--r--r-- 1 bin bin 291 May 30 1996 newconfig/etc/X11/Xconsoles
# whoami
root
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-27-2001 08:40 AM
тАО08-27-2001 08:40 AM
Re: find or cpio error? Where can find errno definition
For the errno definitions look in /usr/include/sys/errno.h
22 == EINVAL Invalid argument
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-27-2001 08:46 AM
тАО08-27-2001 08:46 AM
Re: find or cpio error? Where can find errno definition
/usr/include/sys/errno.h contains the mnemonics and short descriptions for standard HP-UX errors.
Error-22 is EINVAL which is "invalid argument".
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-27-2001 08:46 AM
тАО08-27-2001 08:46 AM
Re: find or cpio error? Where can find errno definition
#define EINVAL 22 /* Invalid argument */
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-27-2001 08:50 AM
тАО08-27-2001 08:50 AM
Re: find or cpio error? Where can find errno definition
Error No 22 is invalid argument check /usr/inculde/sys/errno.h for other too.
I think there is some issue with command , though it is working in my my servers . Try givivng the command again
Manoj Srivastava
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-27-2001 08:57 AM
тАО08-27-2001 08:57 AM
Re: find or cpio error? Where can find errno definition
I am confused seeing the error,
because Xconsoles is a file and you can infact do a ls -al at the new location and if cpio is trying to create a directory, it should have given an errno:20 (which is from /usr/include/sys/errno.h --> ENOTDIR - Not a directory).
Are you sure you didn't mistype when entering the question?
-Ramesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-27-2001 09:06 AM
тАО08-27-2001 09:06 AM
Re: find or cpio error? Where can find errno definition
Thank you. Yes. I just pasted the messages from the screen. There should be no typo. Thanks.
--George
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-27-2001 09:36 AM
тАО08-27-2001 09:36 AM
Re: find or cpio error? Where can find errno definition
What about giving a try at:
find . -xdev |cpio -pxdmulv /mnt
?
All the best
Victor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-27-2001 09:43 AM
тАО08-27-2001 09:43 AM
Re: find or cpio error? Where can find errno definition
We tried to duplicate the issue over the phone but it decided to work!
I would recommend installing the find patch PHCO_15262 on the system where the problem showed up and didn't have this patch already.
Hope this helps
-denver
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-27-2001 09:44 AM
тАО08-27-2001 09:44 AM
Re: find or cpio error? Where can find errno definition
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-27-2001 12:45 PM
тАО08-27-2001 12:45 PM
Re: find or cpio error? Where can find errno definition
Problem remains after I installed patch PHCO_15262.
--George
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-27-2001 01:05 PM
тАО08-27-2001 01:05 PM
Re: find or cpio error? Where can find errno definition
Just out of curiosity, can you try tar.
tar cf . | (cd /mnt ; tar xf -)
See if you get any errors
-Ramesh