Hi:
I am a trying to write a script using a loop i guess. What I need to do is write a script that can allow my users to load a tape and copy a range of files from a tape to the hard disk. By range I mean, I would like the users to pick a range of numbers like files 3 - 8 and the script will... (0 Replies)
I have a 1TB hard disk that I had partitioned on a Sun clone and had 7 partitions of 137GB a piece. (Using a USB to SATA adaptor)
I then had loaded a new hard disk on my laptop (T60...Lenova) with Solaris 10 X86. I tried to mount the hard disk but it kept telling me the mount point was busy and I... (2 Replies)
SCO 5.07: How do I copy files to a USB memory stick?
The stick is formatted as a hd and has an active Unix partition using the hole stick for Unix.
How do I get acces to the stick? (1 Reply)
Hi all,
Can anybody help me with how I can connect a usb pendrive or external disk to a Sun Server which runs on Solaris 9? I am able to connect the usb drive to a windows server easily and copy files but am wondering if it is possible to do that with Solaris.
Any help will be appreciated. thanks. (3 Replies)
I have found a question from the exercises of my study mat. The question is
"Why are there a in-core copy and a disk-copy of i-node block and super block?"
If any one know the proper answer then please send me..... (1 Reply)
I have noticed that when I copy files to flash disk and in UI I see message copy completed in notification area on task bar, usually copy is not completed. So, if I eject the media I loose data.
It is very serious problem because may cause loss of valuable and even critical data.
Moreover, when... (2 Replies)
Hi,
I'm looking to copy a boot disk on an old Solaris 8 system using dd. I'll bring the system down to single user mode and begin from there. I'm copying my source disk to a larger target disk. Do I need to do anything other than the 'dd' command below because the target disk is bigger? ... (2 Replies)
Discussion started by: sparcman
2 Replies
LEARN ABOUT SUNOS
merror
merror(9F) Kernel Functions for Drivers merror(9F)NAME
merror - Send an M_ERROR message upstream
SYNOPSIS
#include <sys/stream.h>
#include <sys/strsun.h>
void merror(queue_t *wq, mblk_t *mp, int error);
INTERFACE LEVEL
Solaris DDI specific (Solaris DDI).
PARAMETERS
wq Write queue associated with the read queue to send the M_ERROR on.
mp Optionally, a STREAMS message to convert to an M_ERROR.
error Error code to include in the M_ERROR message.
DESCRIPTION
The merror() function constructs an M_ERROR message, and sends the resulting message upstream.
If mp is NULL, merror() allocates a one-byte M_ERROR message. If mp is non-NULL, merror() attempts to convert the passed-in message to an
M_ERROR. However, if the passed-in message has more than one reference (see dupmsg(9F)), or if it is of zero length, it is freed and a new
message is allocated.
If the allocation or conversion fails, merror() silently fails. Otherwise, the resulting one-byte data block is assigned the specified
error code and sent upstream.
RETURN VALUES
None.
CONTEXT
This function can be called from user, kernel or interrupt context.
NOTES
Callers must not hold any locks across an merror() that can be acquired as part of put(9E) processing.
SEE ALSO put(9E), dupmsg(9F)
STREAMS Programming Guide
SunOS 5.10 9 June 2004 merror(9F)