home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / unix / question / 10485 < prev    next >
Encoding:
Internet Message Format  |  1992-08-29  |  964 b 

  1. Path: sparky!uunet!cs.utexas.edu!sun-barr!ames!think.com!barmar
  2. From: barmar@think.com (Barry Margolin)
  3. Newsgroups: comp.unix.questions
  4. Subject: Re: Creating a File System in 'C'
  5. Date: 28 Aug 1992 21:59:05 GMT
  6. Organization: Thinking Machines Corporation, Cambridge MA, USA
  7. Lines: 12
  8. Message-ID: <17m7j9INNhn1@early-bird.think.com>
  9. References: <Aug.28.11.27.51.1992.29451@gauss.rutgers.edu>
  10. NNTP-Posting-Host: telecaster.think.com
  11. Keywords: C subroutine for mkfs command
  12.  
  13. In article <Aug.28.11.27.51.1992.29451@gauss.rutgers.edu> manmetha@gauss.rutgers.edu (Rajesh Malhotra) writes:
  14. >    Is there a C subroutine that will create file system.
  15. >    The crfs and mkfs commands do it, so I am sure there is a system
  16. >call somewhere to do this.
  17.  
  18. I'm not so sure.  I'll bet that on most systems, these programs simply open
  19. the disk special file and write to it.
  20. -- 
  21. Barry Margolin
  22. System Manager, Thinking Machines Corp.
  23.  
  24. barmar@think.com          {uunet,harvard}!think!barmar
  25.