home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.unix.programmer
- Path: sparky!uunet!sun-barr!cs.utexas.edu!tamsun.tamu.edu!pnarayan
- From: pnarayan@cs.tamu.edu (P S Narayan)
- Subject: Filesystem question
- Message-ID: <1992Jul29.002203.17134@tamsun.tamu.edu>
- Sender: news@tamsun.tamu.edu (Read News)
- Organization: Computer Science Department, Texas A&M University
- Distribution: usa
- Date: Wed, 29 Jul 1992 00:22:03 GMT
- Lines: 16
-
- Hi netters,
- I have a question and I will greatly appreciate any prompt reply from y'all.
- The question is:
- There is the block and character device interface in the Unix filesystem. The
- Unix filesystem uses the block device interface.
- Suppose that I don't want to use the Unix filesystem and use partiton d,
- say sd3d as a block device. Does this mean that the whole partition is now
- one file. Can I get access to the block addresses of the partition ? How do
- I read and write to the partition ? Do I just lseek and write read ? What is
- the notion of reaching a block for the user ? Is it (block# * blksize) ?
- Kindly reply ASAP.
- Thanks a heap.
-
- P.S.Narayan
- pnarayan@cs.tamu.edu
-
-