what is /devices/pseudo/ ?? | Unix Linux Forums | Solaris

  Go Back    


Solaris The Solaris Operating System, usually known simply as Solaris, is a Unix-based operating system introduced by Sun Microsystems. The Solaris OS is now owned by Oracle.

what is /devices/pseudo/ ??

Solaris


Closed Thread    
 
Thread Tools Search this Thread Display Modes
    #1  
Old 03-19-2008
wrapster wrapster is offline
Registered User
 
Join Date: Jan 2008
Last Activity: 26 January 2011, 9:16 AM EST
Posts: 194
Thanks: 0
Thanked 0 Times in 0 Posts
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?
Sponsored Links
    #2  
Old 03-19-2008
fpmurphy's Avatar
fpmurphy fpmurphy is offline Forum Staff  
who?
 
Join Date: Dec 2003
Last Activity: 22 November 2014, 10:34 AM EST
Location: /dev/ph
Posts: 4,834
Thanks: 64
Thanked 433 Times in 401 Posts
man lofiadm
Sponsored Links
    #3  
Old 03-20-2008
wrapster wrapster is offline
Registered User
 
Join Date: Jan 2008
Last Activity: 26 January 2011, 9:16 AM EST
Posts: 194
Thanks: 0
Thanked 0 Times in 0 Posts
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
jlliagre jlliagre is online now Forum Advisor  
ɹǝsn sıɹɐlos
 
Join Date: Dec 2007
Last Activity: 24 November 2014, 3:03 PM EST
Location: Paris
Posts: 4,453
Thanks: 17
Thanked 480 Times in 432 Posts
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.
Sponsored Links
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
What are pseudo-tty devices? Is my /etc/securetty file contains any? pinga123 UNIX for Dummies Questions & Answers 5 12-01-2010 10:33 AM
Pseudo Terminal proactiveaditya UNIX for Dummies Questions & Answers 4 10-07-2009 12:38 PM
passthrough devices vs. named devices thumper UNIX for Dummies Questions & Answers 1 06-04-2008 10:13 PM
pseudo: [ID 129642 kern.info] pseudo-device: vol0 mndavies Solaris 0 02-13-2008 10:21 PM
Pseudo TTy on Sco Rurki UNIX for Dummies Questions & Answers 1 08-21-2002 12:48 PM



All times are GMT -4. The time now is 04:03 PM.