🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.unix.programmer
Article #165

Filesystem question

#165
From: P S Narayan
Date: Wed, 29 Jul 1992 00:22
15 lines
1096 bytes
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
Technical Details
Message-ID: <1992Jul29.002203.17134@tamsun.tamu.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!sun-barr!cs.utexas.edu!tamsun.tamu.edu!pnarayan

Show Full Headers
Complete Article Headers
Newsgroups: comp.unix.programmer
Path: arc1-ca.pugleaf.net!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