09-10-2008
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
i have this unix version "unix v/386" and i want to view the log files how i can do it?
regards (5 Replies)
Discussion started by: sak900354
5 Replies
2. Shell Programming and Scripting
Can some on say how in simplest way to implement the following:
I have two files:
1)
some
some
some
2)
another
another
another
I need to get third file:
3)
some another
some another
some another (1 Reply)
Discussion started by: mirusnet
1 Replies
3. UNIX for Dummies Questions & Answers
Hello All
I compressed a file hello by using compress command
compress hello ( enter )
i got the file as hello.z
1. My question is how can i see the file hello.z
2. How can i uncompress it back to change it to filename hello
thanks (4 Replies)
Discussion started by: supercops
4 Replies
4. OS X (Apple)
If you've come across this problem with unzipping/decompressing zips, you might find this helpful:
I was having a little trouble with unzipping (decompressing) tarred archives under OS 10.5 until today. My first attempt was to just simply double-click on the zip file (i.e., example.tar.gz) and... (2 Replies)
Discussion started by: unimachead
2 Replies
5. Solaris
If we have a zip file and we don't have enough space on the disk to unzip it but we want to be able to just read the file like if we can use cat without decompressing it. Is there a way we can do that? Like if we want
Thanks, (1 Reply)
Discussion started by: Pouchie1
1 Replies
6. Red Hat
I'm using tar and so far so good, but how can I view ALL files without having to fast forward and rewind the tape? Let's say I append 100 files onto the tape. Having to fast forward 100 times until I find the file I want is kinda tedious. (3 Replies)
Discussion started by: sdotsen
3 Replies
7. Shell Programming and Scripting
Hi,
Can you help me in providing me a command to view all files present in a directory.
Thanks a lot.
-Vamsi (1 Reply)
Discussion started by: VamsiVasili
1 Replies
8. Shell Programming and Scripting
Hi,
Can u provide me the command to view files in a directory.Urgent Pls.
-Vamsi (4 Replies)
Discussion started by: VamsiVasili
4 Replies
9. UNIX for Dummies Questions & Answers
Hello Team,
There is this situation where there are around 20 *.gz files and i want to search multiple words from all those files.
Example as below :
filea.gz
fileb.gz
filec.gz
now i want to search words "hi" and "hello" from all these 3 files without... (4 Replies)
Discussion started by: varun87
4 Replies
10. Fedora
My current Fedora version is 27. Desktop environment is LXDE. I am trying to view files sitting on my smartphone (Sony Xperia XA ultra) but it doesn't work anymore. This used to work before. I cannot view image and mp3 files but text files and pdf files work fine. When I move the files to the local... (3 Replies)
Discussion started by: milhan
3 Replies
LEARN ABOUT OPENSOLARIS
stmfaddviewentry
stmfAddViewEntry(3STMF) SCSI Target Mode Framework Library Functions stmfAddViewEntry(3STMF)
NAME
stmfAddViewEntry - add a view entry for a given logical unit
SYNOPSIS
cc [ flag... ] file... -lstmf [ library... ]
#include <libstmf.h>
int stmfAddViewEntry(stmfGuid *logicalUnit,
stmfViewEntry *viewEntry);
PARAMETERS
logicalUnit The identifier of the logical unit to which this view entry is being added.
viewEntry The view entry to add to the specified logical unit identifier.
DESCRIPTION
The stmfAddViewEntry() function adds a view entry for a given logical unit.
RETURN VALUES
The following values are returned:
STMF_ERROR_LUN_IN_USE The specified logical unit number is already in use for this logical unit.
STMF_ERROR_NOT_FOUND The ID specified for logicalUnit was not found in the system.
STMF_ERROR_VE_CONFLICT Adding this view entry is in conflict with one or more existing view entries.
STMF_STATUS_SUCCESS The API call was successful.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Interface Stability |Committed |
+-----------------------------+-----------------------------+
|MT-Level |Safe |
+-----------------------------+-----------------------------+
SEE ALSO
libstmf(3LIB), attributes(5)
NOTES
If luNbrValid in the stmfViewEntry structure is set to B_FALSE, the framework will assign a logical unit number for this view entry. veIn-
dexValid must be set to B_FALSE when adding a view entry. On successful return, veIndexValid will be set to B_TRUE and veIndex will contain
the view entry index assigned to this view entry by the framework.
SunOS 5.11 9 Jun 2008 stmfAddViewEntry(3STMF)