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: 30 October 2014, 11:10 PM EDT
Location: /dev/ph
Posts: 4,828
Thanks: 64
Thanked 431 Times in 399 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 offline Forum Advisor  
ɹǝsn sıɹɐlos
 
Join Date: Dec 2007
Last Activity: 1 November 2014, 3:36 AM EDT
Location: Paris
Posts: 4,434
Thanks: 16
Thanked 474 Times in 427 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 09:33 AM
Pseudo Terminal proactiveaditya UNIX for Dummies Questions & Answers 4 10-07-2009 11:38 AM
passthrough devices vs. named devices thumper UNIX for Dummies Questions & Answers 1 06-04-2008 09:13 PM
pseudo: [ID 129642 kern.info] pseudo-device: vol0 mndavies Solaris 0 02-13-2008 09:21 PM
Pseudo TTy on Sco Rurki UNIX for Dummies Questions & Answers 1 08-21-2002 11:48 AM



All times are GMT -4. The time now is 06:21 AM.