difference btw lofi and _lofi


 
Thread Tools Search this Thread
Operating Systems Solaris difference btw lofi and _lofi
# 1  
Old 03-06-2008
difference btw lofi and _lofi

Hi all,

can you pls tell me the difference btw,

LOFI_FAILED and _LOFI_FAILED

these 2 are just variables in the script its used...it just stores values...

However i have this vague idea that _LOFI_FAILED is something different ..
in the sense that it starts from a _...
so could that be some sort of a command...
like,
exit and _exit (used in c/c++)
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

awk to calculate difference of split and sum the difference

In the awk I am trying to subtract the difference $3-$2 of each matching $4 before the first _ (underscore) and print that value in $13. I think the awk will do that, but added comments. What I am not sure off is how to add a line or lines that will add sum each matching $13 value and put it in... (2 Replies)
Discussion started by: cmccabe
2 Replies

2. AIX

Question about shared filesystem btw AIX and RHEL

We found out that the Spectrum Scale (GPFS) doesnt support mix nodes (AIX and RHEL) on direct attached storage. Is there any other options besides NFS for mix O/S? Trying to avoid network type of shared filesystem which might end up high traffic on IO because we do run backup jobs on those... (0 Replies)
Discussion started by: kiasu
0 Replies

3. Programming

what is the main difference between difference between using nonatomic lseek and O_APPEND

I think both write at the end of the file ...... but is there a sharp difference between those 2 instruction ..... thank you this is my 3rd question today forgive me :D (1 Reply)
Discussion started by: fwrlfo
1 Replies

4. Emergency UNIX and Linux Support

Disk quota exceeded (difference btw. du and df, again!)

I haven't been able to do anything since yesterday evening because my account is full to the brim. Very annoying on a Friday evening when no admin will be in until Monday morning. Of course, I might consider cleaning up if I knew where the problem is, but I can't figure it out because du and df... (8 Replies)
Discussion started by: mregine
8 Replies

5. Shell Programming and Scripting

ADD Column Btw two column

I want to add column btw to column Input ABCDE2012 120 21.6 ABCDE2012 126 0.9 PLKJHN2012 128 20.2 UNHYT2012 1210 -0.3 Output// Column 1 Column 2 Cl 3 Cl4 ABCDE2012 ABCDE2012120 120 21.6 ABCDE2012 ABCDE2012126 126 0.9 PLKJHN2012 PLKJHN2012128 128 20.2... (3 Replies)
Discussion started by: pareshkp
3 Replies

6. Solaris

Relation btw commands, "man" and "more" ???

Hi guys, Hope u r doing find. I have this query. When we check the manual pages for a certain command, say man cat we see the manual page with more What is UNIX really doing here, I mean why not less command instead of more command. And can we have UNIX display the manual pages with less command... (2 Replies)
Discussion started by: gabam
2 Replies

7. Shell Programming and Scripting

Need help in sed command (adding a blank line btw each block generated by pattern)

Hello friends, I have a C source code containing sql statements. I use the following sed command to print all the sql blocks in the source code.... sed -n "/exec sql/,/;/p" Sample.cpp The above sed command will print the sql blocks based on the pattern "exec sql" & ";"... (2 Replies)
Discussion started by: frozensmilz
2 Replies

8. UNIX for Dummies Questions & Answers

remove spaces btw

filename contains: 123 4 1234 5 12345 689 i want result: 1234 12345 12345679 cat filename | awk '{print $1, $2, $3}' will get my result, but too many $$s. sed -e 's///g' filename will take care one space, will take 2 spaces. is it a short way to do this ? (7 Replies)
Discussion started by: tjmannonline
7 Replies

9. Shell Programming and Scripting

lofi@0 ??

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... (5 Replies)
Discussion started by: wrapster
5 Replies

10. UNIX for Advanced & Expert Users

Difference between @# and @*

hi Can any one explain me difference between @# and @* with the help of examples? Thanks (3 Replies)
Discussion started by: rochitsharma
3 Replies
Login or Register to Ask a Question
lofi(7D)							      Devices								  lofi(7D)

NAME
lofi - Loopback file driver DESCRIPTION
The lofi file driver exports a file as a block device. Reads and writes to the block device are translated to reads and writes on the underlying file. This is useful when the file contains a file system image. Exporting it as a block device through the lofi file driver allows normal system utilities to operate on the image through the block device (like fstyp(1M)fsck(1M), and mount(1M). This is useful for accessing CD-ROM and FAT floppy images. See lofiadm(1M) for examples. File block device entries are contained in /dev/lofi, while /dev/rlofi contains the character (or raw) device entries. Entries are in the form of decimal numbers which are assigned through lofiadm(1M). When created, these device entries are owned by root, in group sys, and have permissions 0600. While ownership, group, and permission settings can be altered, there are possible ramifications. See lofiadm(1M) for more information. FILES
/dev/lofictl Master control device /dev/lofi/n Block device for file n /dev/rlofi/n Character device for file n /kernel/drv/lofi 32-bit driver /kernel/drv/lofi.conf Driver configuration file. (Should not be altered.) /kernel/drv/sparcv9/lofi 64-bit driver ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWcsr, SUNWcarx.u | +-----------------------------+-----------------------------+ SEE ALSO
lofiadm(1M), fsck(1M), fstyp(1M), mount(1M), newfs(1M), attributes(5), lofs(7FS) NOTES
Just as you would not directly access a disk device that has mounted file systems, you should not access a file associated with a block device except through the lofi file driver. For compatability purposes, a raw device is also exported along with the block device. For example, newfs(1M) requires one. SunOS 5.10 30 Jul 1999 lofi(7D)