08-03-2012
Thanks for reporting back, Royalist..
9 More Discussions You Might Find Interesting
1. SCO
Hello everybody,
:confused:
I have to change the system disk on an old PC running SCO 5.0.5.
The disk is up and running, this is a preventive action.
My experience on UNIX is very limited and I look for the easyest solution to clone this unit.
Is it possible with commands or through a clone... (2 Replies)
Discussion started by: mhachez
2 Replies
2. HP-UX
hello,
Anybody that has already running script or command that can disk clone the hpux machine
thanks (2 Replies)
Discussion started by: eykyn17
2 Replies
3. Solaris
I am using ufsdump and ufsrestore to clone the root disk on one of my servers. I would like to automate this as much as possible, but have run into a problem where it prompts for changing the owner/mode when it is complete.
Any ideas for running this in the background and not being prompted?
... (4 Replies)
Discussion started by: patricko0317
4 Replies
4. Red Hat
I wish to clone a RedHat EL5 server. What's the easiest way to do this?
Thanks :) (4 Replies)
Discussion started by: wazzu62
4 Replies
5. Solaris
Hello guys!
I use the Solaris 10 x86 machine.
I need to clone the boot disk.
Why, when I copy slice 1 - there is a following:
# ufsdump 0f - /dev/rdsk/c0d0s1 | (cd /mnt && ufsrestore rf - )
DUMP: Warning - super-block on device `/dev/rdsk/c0d01` is corrupt - run fsck
Dump: The Entire... (6 Replies)
Discussion started by: wolfgang
6 Replies
6. Filesystems, Disks and Memory
Hi,
I'm running Ubuntu on my laptop. To keep my data safe and easy disaster recovery as well I bought similar HDD to one installed in my laptop with higher capacity and using USB box I'm doing disk clone to it. So at any time I can replace disk and carry on with my work as before.
I'm trying... (2 Replies)
Discussion started by: uvaio
2 Replies
7. Shell Programming and Scripting
Hi,
Is there disadvantages if we do AIX Serevr cloning to the new AIX server.
Thanks in advance (0 Replies)
Discussion started by: kmsekhar
0 Replies
8. HP-UX
Hello Friends,
Am in requirement to clone a Live HP-UX server here's details
OS: HpUX B-11.11 with mirrored LVM disks .
S/ws: Remedy, XML engine, Annoysystem, Oracle
All Oracle, XMl and Remedy data is on SAM LUN which is used for clustering .
My requirement to create a clone server and... (10 Replies)
Discussion started by: Shirishlnx
10 Replies
9. Linux
Dear All
I needed to clone my disk to another hard drive . I did it as the following :
#dd if=/dev/sdb of=/dev/sdc
But after a while, the procedure ended with the "writing to /dev/sdc
input/output error" message.
Can you please let me know how can I overcome this as the fdisk now returns as "... (1 Reply)
Discussion started by: hadimotamedi
1 Replies
UNGETWC(3) Linux Programmer's Manual UNGETWC(3)
NAME
ungetwc - push back a wide character onto a FILE stream
SYNOPSIS
#include <wchar.h>
wint_t ungetwc(wint_t wc, FILE *stream);
DESCRIPTION
The ungetwc() function is the wide-character equivalent of the ungetc(3) function. It pushes back a wide character onto stream and returns
it.
If wc is WEOF, it returns WEOF. If wc is an invalid wide character, it sets errno to EILSEQ and returns WEOF.
If wc is a valid wide character, it is pushed back onto the stream and thus becomes available for future wide-character read operations.
The file-position indicator is decremented by one or more. The end-of-file indicator is cleared. The backing storage of the file is not
affected.
Note: wc need not be the last wide-character read from the stream; it can be any other valid wide character.
If the implementation supports multiple push-back operations in a row, the pushed-back wide characters will be read in reverse order; how-
ever, only one level of push-back is guaranteed.
RETURN VALUE
The ungetwc() function returns wc when successful, or WEOF upon failure.
ATTRIBUTES
For an explanation of the terms used in this section, see attributes(7).
+----------+---------------+---------+
|Interface | Attribute | Value |
+----------+---------------+---------+
|ungetwc() | Thread safety | MT-Safe |
+----------+---------------+---------+
CONFORMING TO
POSIX.1-2001, POSIX.1-2008, C99.
NOTES
The behavior of ungetwc() depends on the LC_CTYPE category of the current locale.
SEE ALSO
fgetwc(3)
COLOPHON
This page is part of release 4.15 of the Linux man-pages project. A description of the project, information about reporting bugs, and the
latest version of this page, can be found at https://www.kernel.org/doc/man-pages/.
GNU
2015-08-08 UNGETWC(3)