Solved

unix process

Posted on 2002-04-03
6
457 Views
Last Modified: 2013-12-06
All I/O in a Unix system is stream-oriented rather than record oriented as it is in most other Systems. what is the advantages and disadvantages of this approach?
0
Comment
Question by:spdevassy
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
6 Comments
 
LVL 51

Expert Comment

by:ahoffmann
ID: 6917482
imagine your record size is 2MB, and you send one single byte
0
 
LVL 3

Expert Comment

by:elfie
ID: 6921588
you don't have to define the record structure in advance.
you have 'free formatted' data in the files. Your application determine the file layout and not the OS. Although not directly related maximum files most not be known in advance (as on some record oriented systems).
0
 

Expert Comment

by:akhilesh_chadha
ID: 7068356
programs in unix system  have no knowlege of intrenal format in which kernel stores the data .treating file as stream of bytes,program may iterpret stream of bytes as they want for example the text formatting program "troff" expects to find a new line charater at end of each line while system accounting software  expets to find fixed lenth record  .both programs use same sysytem  services to acess the data in the file as a byte stream and iternally ,they parse the stream into suitable format,
 
0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

Expert Comment

by:kslzzg
ID: 7102569
I believe stream I/O in OS is a lower level processing which make use of its features of block I/O or raw I/O to maximise the throughput and at the same time maintain the flexibility and scalability.  While Applications such as Oracle do recognise its data in terms of records to maintain data integrity and ease of operation, it still needs lower-level OS I/O to support this application-level operation through system call.
0
 
LVL 21

Expert Comment

by:tfewster
ID: 7621399
No comment has been added lately, so it's time to clean up this TA.
I will leave a recommendation in the Cleanup topic area that this question is:
- PAQ & remove points

Please leave any comments here before 13/1/2003

PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER !

tfewster (I don't work here, I'm just an Expert :-)
0
 

Accepted Solution

by:
SpideyMod earned 0 total points
ID: 7805284
per recommendation

SpideyMod
Community Support Moderator @Experts Exchange
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In tuning file systems on the Solaris Operating System, changing some parameters of a file system usually destroys the data on it. For instance, changing the cache segment block size in the volume of a T3 requires that you delete the existing volu…
A metadevice consists of one or more devices (slices). It can be expanded by adding slices. Then, it can be grown to fill a larger space while the file system is in use. However, not all UNIX file systems (UFS) can be expanded this way. The conca…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.

687 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question