home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / unix / wizards / 5351 < prev    next >
Encoding:
Text File  |  1992-12-31  |  1.2 KB  |  31 lines

  1. Newsgroups: comp.unix.wizards
  2. Path: sparky!uunet!zaphod.mps.ohio-state.edu!swrinde!sdd.hp.com!ux1.cso.uiuc.edu!news.iastate.edu!john
  3. From: john@iastate.edu (John Hascall)
  4. Subject: Re: file system layout
  5. Message-ID: <C04v3B.L9z@news.iastate.edu>
  6. Sender: news@news.iastate.edu (USENET News System)
  7. Organization: Iowa State University, Ames, IA
  8. References: <1992Dec30.163131.17280@ll.mit.edu>
  9. Date: Thu, 31 Dec 1992 16:57:10 GMT
  10. Lines: 19
  11.  
  12. singer@ll.mit.edu (Matthew R. Singer) writes:
  13. }3) Format and mkfs under SunOS.  
  14.  
  15. }If I were to pre-write a file a Sun disk, is there a simple way to find out
  16. }what blocks on the disk the file system has allocated for it.  Since I 
  17. }am writing just one big file on a newly formatted disk, it should be 
  18. }contiguous (right?).
  19.  
  20. Not necessarily (probably not).  First, disks are divided into
  21. "cylinder groups".  Second, there is a parameter fs_maxcontig
  22. which limits the number of contiguous blocks.  A more detailed
  23. discussion can be found in `A Fast File System for Unix'.
  24.  
  25. John
  26. -- 
  27. John Hascall                   ``An ill-chosen word is the fool's messenger.''
  28. Systmes Software Engineer
  29. Project Vincent
  30. Iowa State University Computation Center  +  Ames, IA  50011  +  515/294-9551
  31.