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