what is /devices/pseudo/ ??


 
Thread Tools Search this Thread
Operating Systems Solaris what is /devices/pseudo/ ??
# 1  
Old 03-19-2008
what is /devices/pseudo/ ??

Hi all,

what does this mean?

if [-b /devices/pseudo/lofi@0:$devid]
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 any book or online data sheets where i can learn of such intricate issues?
# 2  
Old 03-19-2008
man lofiadm
# 3  
Old 03-20-2008
man lofiadm will only give me details of what lofiadm mean.
I know what it means and what it does, how ever i wanted to know what
lofi@0 means, pls pay attention to @0...
besides that , i would like to know when a file goes and sits in /devices/pseudo/

thanks
# 4  
Old 03-20-2008
A shell script relying on /devices entries is broken. It should use the documented and supported /dev entries instead. There is probably no need to know what the directory and file names in the /devices tree means unless you are a kernel developer.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

/devices/pseudo/md - detecting problems?

Got an informix DB that won't start because DB chunk is offline. Its a raw device. See below:- lrwxrwxrwx 1 root root 29 Feb 6 2013 /dev/DB -> /devices/pseudo/md@0:0,10,raw How do I tell what that refers to? I've checked metadb and metastat and cant see any issues? (2 Replies)
Discussion started by: psychocandy
2 Replies

2. Solaris

pseudo device?

sometimes I see this message in dmesg: what does it mean? thanks. (5 Replies)
Discussion started by: orange47
5 Replies

3. Programming

questions about pseudo termial

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)
Discussion started by: tefino
4 Replies

4. UNIX for Dummies Questions & Answers

What are pseudo-tty devices? Is my /etc/securetty file contains any?

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)
Discussion started by: pinga123
5 Replies

5. UNIX for Dummies Questions & Answers

Pseudo Terminal

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)
Discussion started by: proactiveaditya
4 Replies

6. UNIX for Advanced & Expert Users

Need pseudo connectivity

Hi All, I have putty on my system (Vista). I need some server details to login via internet for my personnel practice. Can any body help me out. In case this not feasible, just let me know any other way to work with UNIX terminal on Windows Vista itself. Please help me since i am desparately... (3 Replies)
Discussion started by: vikas_kesarwani
3 Replies

7. UNIX for Dummies Questions & Answers

passthrough devices vs. named devices

I am having trouble understanding the difference between a passthrough device and a named device and when you would use one or the other to access equipment. As an example, we have a tape library and giving the command "camcontrol devlist" gives the following output: akx# camcontrol... (1 Reply)
Discussion started by: thumper
1 Replies

8. Solaris

pseudo: [ID 129642 kern.info] pseudo-device: vol0

Hi I have a system that gave me some messages on bootup that I was not used to seeing: pseudo: pseudo-device: vol0 genunix: vol0 is /pseudo/vol@0 these came with these: Feb 13 17:42:17 system1 eri: SUNW,eri0 : 100 Mbps full duplex link up Feb 13 17:42:21 system1sendmail: My unqualified... (0 Replies)
Discussion started by: mndavies
0 Replies

9. SCO

pseudo driver

explain differences between a device driver & a pseudo driver...???? thanks in advance (1 Reply)
Discussion started by: areef4u
1 Replies

10. Programming

Pseudo Terminals

I need to spawn a number of foreground process by reading a configuration file. Each process needs some form of I/O. Hence I need to run it on different terminals. How it can be done programatically , i.e. , my module needs to find which terminal is not in use, then open it, execute the process... (2 Replies)
Discussion started by: S.P.Prasad
2 Replies
Login or Register to Ask a Question