home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / unix / admin / 7222 < prev    next >
Encoding:
Internet Message Format  |  1993-01-24  |  1.4 KB

  1. Path: sparky!uunet!cs.utexas.edu!sun-barr!sh.wide!wnoc-tyo-news!cs.titech!titccy.cc.titech!necom830!mohta
  2. From: mohta@necom830.cc.titech.ac.jp (Masataka Ohta)
  3. Newsgroups: comp.unix.admin
  4. Subject: Re: FDDI, 20+GB unix file partitions, Remote NFS mount IBM to Sun, etc.
  5. Message-ID: <2815@titccy.cc.titech.ac.jp>
  6. Date: 24 Jan 93 13:28:34 GMT
  7. References: <1993Jan17.000702.5794@Princeton.EDU> <1993Jan19.233642.18807@siemens.com>
  8. Sender: news@titccy.cc.titech.ac.jp
  9. Organization: Tokyo Institute of Technology
  10. Lines: 23
  11.  
  12. In article <1993Jan19.233642.18807@siemens.com> aad@siemens.com (Anthony Datri) writes:
  13. >>(1) Is there any way to increase the size of a file partition from 2GB (to
  14. >>20 - 50 GB, for example) in Unix OS?
  15. >
  16. >On a typical machine, the filesystem calls (eg., fseek) take signed 32-bit
  17. >arguments -- hence the limit.  To deal with bigger files/filesystems, you
  18. >need system calls that take bigger types as arguments.
  19.  
  20. You don't have to. UNIX on PDP was using 16-bit arguments but
  21. files/filesystems can be as large as 32MB.
  22.  
  23. >One way of doing this is to have a || set of calls that handle
  24. >64-bit offsets -- fseek64, say.
  25.  
  26. Or, use 32 bit "seek()" (seek is an ancient system call).
  27.  
  28. >Of course, this means that utilities have
  29. >to be modified to work.
  30.  
  31. Interesting enough, you don't have to heavily modify existing file system
  32. utilities as they are originally coded with seek().
  33.  
  34.                         Masataka Ohta
  35.