12-12-2003
Initially you can try reading Unix Programming by Kernighan and Pike.
Else if you are a beginner you can try unix programming by Sumithabadas
After you get well versed with Unix you can read Unix Architecture and Design by Maurice Bach. This is really a good book.
Cheers
JK
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi friends,
In my case, there are serveral PCs running Linux in a LAN.
I would like to to mount the directory /A_river of machine-A to the file system of another machine machine-B so that I can access files in that directory.
I do not know how to do this. The situation is complicated by... (2 Replies)
Discussion started by: cy163
2 Replies
2. Programming
Before i start doing something, I wanted to know whether the approach to compare XML file with UNIX file system structure. I have a pre-configured file(contains a list of paths to executables) and i need to check against the UNIX directory structure. what are the various approches should i use ? I... (6 Replies)
Discussion started by: shafi2all
6 Replies
3. UNIX for Dummies Questions & Answers
Hello,
Can anybody please tell me the command to find out the filesystem or a file which is consuming larger disk space sing i want to find out the file and want to compress it
please help me out
any help would be appreciated (6 Replies)
Discussion started by: lokeshpashine
6 Replies
4. Solaris
Hi,
I am new to solaris OS.I have a small question,it might be silly question or good question.
My Question is
Solaris is following hierarchy type of file structure,means all files are under the root file system.so Once we mount the root file system all sub folders of / ( /usr, /var ,... (7 Replies)
Discussion started by: vr_mari
7 Replies
5. SCO
After System power get failed
File system is not getting mounted in read- write mode (1 Reply)
Discussion started by: gtkpmbpl
1 Replies
6. Solaris
hi every one
"plz any one can give solution to my problem" my problem is my filesystem is full in os level i have to decrease it to 60% how can i? plz help me
Thank you for your response (6 Replies)
Discussion started by: sivajerripothul
6 Replies
7. Shell Programming and Scripting
Hi all,
I am creating a .sh file in windows environment using notepad.
i need a code which i can write in this .sh file so that it asks me for an input file stored anywhere in my C drive of my windows computer.
Please help me out with this. (1 Reply)
Discussion started by: bansalpankaj88
1 Replies
8. HP-UX
Hi all
I wonder if its possible to mount on a hp-ux server a file system that was previously mounted on a solaris 10 server. The LUN is on NetApp stoarge.
The problem on hp-ux I cannot do pvcreate on the lun (disk) because contains data.
Any help will be appreciated
FR (2 Replies)
Discussion started by: fretagi
2 Replies
9. Shell Programming and Scripting
We would be migrating UNIX file system to Linux file system.
We do have many directory and sub directories with files.
after migrating unix to linux file system , i want to make sure all the files has been copied ? What would be the best approach to validate directory ,sub-directory and file... (1 Reply)
Discussion started by: balajikalai
1 Replies
10. AIX
Hello All,
I am trying to clone an entire AIX virtual machine to a new virtual machine including all partitions and OS.Can anyone help me on the procedure to follow? I am not really sure on how it can be done.Thanks in advance.
Please use CODE tags for sample input, sample output, and for code... (4 Replies)
Discussion started by: gull05
4 Replies
cd_suf(3) Library Functions Manual cd_suf(3)
NAME
cd_suf - Read System Use Field from a specified System Use Area on a Rock Ridge format CD-ROM
LIBRARY
CD-ROM library (libcdrom.so, libcdrom.a)
SYNOPSIS
#include <sys/cdrom.h>
int cd_suf (path, fsec, signature, index, buf, buflen)
char *path;
int fsec;
char signature[2];
int index;
char *buf;
int buflen;
DESCRIPTION
Returns a System Use Field in the System Use Area for path. Points to a file or directory within the CD-ROM file hierarchy. Specifies the
File Section of that file. The numbering starts with one. If fsec is set to -1, the System Use Area of the last File Section of that file
is assumed. The 2-byte signature to look for and return from the System Use Area. The occurrence of signature to return. If signature is
a NULL pointer, returns the System Use Field specified by index starting from the beginning of the System Use Area. Otherwise, returns the
occurrence of signature specified by index. The index number of the first System Use Field of any signature is one. The buffer in which to
place the System Use Field. The buffer length of buf.
RETURN VALUES
The cd_suf function will return the number of bytes placed in buf if successful. The cd_suf function will return 0 if the signature field
is not found. In case of error, -1 is returned and errno is set to indicate the error.
ERRORS
The cd_suf() function will fail if: Search permission is denied for a component of the path prefix or read permission on the file or direc-
tory pointed to by path is denied. The length of the path string exceeds {PATH_MAX} or a pathname component is longer than {NAME_MAX}
while {_POSIX_NO_TRUNC} is in effect. A component of path does not exist or the path argument points to an empty string. The File Section
indicated by fsec has no System Use Area. A component of the path prefix is not a directory. The address of buf, signature, or path is
invalid. The value of fsec, index, or buflen is invalid. The argument path points to a file or directory not within a CD-ROM file hierar-
chy. The Volume containing the File Section indicated by fsec is not mounted. The CD-ROM is not in the drive or a read error occurred. A
signal was caught during the cd_suf() function. {OPEN_MAX} file descriptors are currently open in the calling process.
[Tru64 UNIX] Either the OPEN_MAX value or the per-process soft descriptor limit is checked. The system file table is full.
RELATED INFORMATION
Commands: cdsuf(1)
Files: <sys/cdrom.h> delim off
cd_suf(3)