home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / sys / sgi / 19197 < prev    next >
Encoding:
Internet Message Format  |  1993-01-29  |  1.3 KB

  1. Path: sparky!uunet!ukma!gatech!concert!duke!bfl
  2. From: bfl@duke.cs.duke.edu (Brian Loss)
  3. Newsgroups: comp.sys.sgi
  4. Subject: Help with mkfs
  5. Keywords: mkfs root user prototype
  6. Message-ID: <728281401@majors3.cs.duke.edu>
  7. Date: 29 Jan 93 04:23:23 GMT
  8. Organization: Duke University Computer Science Dept.; Durham, N.C.
  9. Lines: 26
  10.  
  11. I am creating a new filesystem on an optical disk, and I would like to make 
  12. the root directory of that filesystem owned be someone other than root.  I can
  13. do this with a prototype file that looks something like this:
  14.  
  15. /stand/diskboot
  16. 4872 110
  17. d--755 <uid> <gid>
  18.  
  19. However, without any options, mkfs creates a lost+found directory and fills 10
  20. disk blocks with zeros so fsck can reconnect disconnected files.  When I use
  21. the prototype file, I don't get the lost+found directory anymore.  I can add a
  22. line that will create the lost+found directory, but I don't know how to fill
  23. 10 disk blocks with zeros.  Does anyone know how to do this?
  24.  
  25. Basically, I want users to be able to format their own disks for this system,
  26. and to do that, the filesystem created by mkfs can't be owned by root.  The
  27. prototype file seemed to be the only way around this, but if anyone knows of a
  28. better solution, please let me know.  Thanks in advance.
  29.  
  30.  
  31.  
  32. Brian Loss
  33. -- 
  34. Department of Computer Science, Duke University, Durham, NC 27706
  35. Internet:    bfl@cs.duke.edu
  36. UUCP:        mcnc!duke!bfl
  37.