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