pseudo(4) File Formats pseudo(4)NAME
pseudo - configuration files for pseudo device drivers
DESCRIPTION
Pseudo devices are devices that are implemented entirely in software. Drivers for pseudo devices must provide driver configuration files to
inform the system of each pseudo device that should be created.
Configuration files for pseudo device drivers must identify the parent driver explicitly as pseudo, and must create an integer property
called instance which is unique to this entry in the configuration file.
Each entry in the configuration file creates a prototype devinfo node. Each node is assigned an instance number which is determined by the
value of the instance property. This property is only applicable to children of the pseudo parent, and is required since pseudo devices
have no hardware address from which to determine the instance number. See driver.conf(4) for further details of configuration file syntax.
EXAMPLES
Example 1: A sample configuration file.
Here is a configuration file called ramdisk.conf for a pseudo device driver that implements a RAM disk. This file creates two nodes called
"ramdisk". The first entry creates ramdisk node instance 0, and the second creates ramdisk node, instance 1, with the additional disk-size
property set to 512.
#
# Copyright (c) 1993, by Sun Microsystems, Inc.
#
#ident "@(#)ramdisk.conf 1.3 93/06/04 SMI"
name="ramdisk" parent="pseudo" instance=0;
name="ramdisk" parent="pseudo" instance=1 disk-size=512;
SEE ALSO driver.conf(4), ddi_prop_op(9F)
Writing Device Drivers
SunOS 5.10 15 Jun 1993 pseudo(4)
Check Out this Related Man Page
pseudo(4) File Formats pseudo(4)NAME
pseudo - configuration files for pseudo device drivers
DESCRIPTION
Pseudo devices are devices that are implemented entirely in software. Drivers for pseudo devices must provide driver configuration files to
inform the system of each pseudo device that should be created.
Configuration files for pseudo device drivers must identify the parent driver explicitly as pseudo, and must create an integer property
called instance which is unique to this entry in the configuration file.
Each entry in the configuration file creates a prototype devinfo node. Each node is assigned an instance number which is determined by the
value of the instance property. This property is only applicable to children of the pseudo parent, and is required since pseudo devices
have no hardware address from which to determine the instance number. See driver.conf(4) for further details of configuration file syntax.
EXAMPLES
Example 1: A sample configuration file.
Here is a configuration file called ramdisk.conf for a pseudo device driver that implements a RAM disk. This file creates two nodes called
"ramdisk". The first entry creates ramdisk node instance 0, and the second creates ramdisk node, instance 1, with the additional disk-size
property set to 512.
#
# Copyright (c) 1993, by Sun Microsystems, Inc.
#
#ident "@(#)ramdisk.conf 1.3 93/06/04 SMI"
name="ramdisk" parent="pseudo" instance=0;
name="ramdisk" parent="pseudo" instance=1 disk-size=512;
SEE ALSO driver.conf(4), ddi_prop_op(9F)
Writing Device Drivers
SunOS 5.10 15 Jun 1993 pseudo(4)
Hello everybody,
Im trying to make a MENU to be showed in the screen but hoy i can draw the marc in a specific position?
for example, i want as marc:
************************
* *
* *
* ... (4 Replies)
It's really strange that I have these error messages as follows when I tried to compile the C++ program.
g++ -c -pipe -DOpenModeType=std::_Ios_Openmode -g -I. -o Obj/NP_genome_info.o NP_genome_info.cpp
{standard input}: Assembler messages:
{standard input}:10: Error: unknown pseudo-op:... (6 Replies)
I want to generate the file in following format
--------------------------------------
mov t1, %r1
mov t2, %g1
mov t3, %o1
.
.
.
.
m times
add %r1, %g1, %o1
add %r2, %g2, %o2
.
.
.
n times
------------------------------------------- (7 Replies)
Hi all,
what does this mean?
if
then
<something>
fi
here is what i know..
it checks if the specified argument no($devid) in some function call is made into a block device and then proceeds with the execution of the loop.
However am not understand what lofi@0:means?
also is there... (3 Replies)
hi I need a Pseudo code or a description of what a program is saying from this spec and code:
Just so i can understand how this solution was achieved, thanks
here is the spec:
Specifications are as follows:-
The books records are stored in one csv file and the layout and the contents... (7 Replies)
Thanks in advance!!! Can I get someone to write this small script or can you direct me to a web link, etc. to get it done?
---------
Initiate this script every 15 - 20 secs or so through cron.
Gather LAN users' $info(username, mac or ipaddr, PID) OBJECT: Tie each username to a mac or ipaddr,... (6 Replies)
How can i view what my colleague is doing in the terminal pts/1 while i have logged into terminal pts/2 ?? Both have remotely logged in via ssh. (4 Replies)
Hello!
I am working on an application which reads environmental instruments which have serial ports. The application requires a serial port to be present to talk to the device (i.e. /dev/ttyS0 ). In some instances the environmental devices will be 100's of yards away from the computer, so a... (5 Replies)
Hi! I want to display a message when I leave a pseudo-console (/dev/ptsX: konsole, xterm) e.g "Bye! There's still 3 pts open and 3 background processes"
I can do it in login-terminals (via .bash_logout) but not in a non-login...
Any ideas? (5 Replies)
Hi ,
I have searched wiki for pseudo tty devices but it was very complex for me to understand.
Can any one help me understanding concept behind pseudo-tty in layman language?
According to security manual of our org /etc/securetty files shouldn't have any pseudo tty devices.
i understand
ttyX... (5 Replies)
I have a script that generates a file which is my own incarnation of a date using the 'date' function (we'll call this script a). I would like that script to invoke my other script (script b) which contains my ftp info. Since I have yet to figure out a good way to use regular ftp (yes i can only... (6 Replies)
I am studying APUE(advanced programming in the unix environment). I have read up to chapter19 pseudo terminal. I know that the pty is like a fake device for programs to direct STDIN and STDOUT to. But I don't know why we need it. Can someone tell me what is the use of pseudo terminal. Thanks. (4 Replies)
Hi gurus,
My boss has asked me to create a unix script to check header files vs data files and to send an email in case of any failure.
I have very little unix scripting experience and it was now long ago so I'm a bit concerned I wont be able to turn this around by end of day tomorrow.
... (4 Replies)
Arrays in dash, (POSIX).
Hi gurus...
I am thinking of trying AudioScope.sh in pure POSIX so...
I need an array in dash, I know it is not possible but pseudo-arrays are.
I have two versions that work, the second is an idea from the WWW.
The first is what I would like to use.
There are... (8 Replies)