Subject: Re: NetBSD master CVS tree commits
To: Jason Thorpe <>
From: Christos Zoulas <>
List: tech-userlevel
Date: 09/11/1996 20:39:35
On Sep 11,  3:09pm, (Jason Thorpe) wrote:
-- Subject: Re: NetBSD master CVS tree commits

| On 11 Sep 1996 20:40:02 -0000 
|  source@NetBSD.ORG wrote:
|  > christos
|  > Wed Sep 11 16:35:16 EDT 1996
|  > Update of /cvsroot/src/sbin/fsck_msdos
|  > In directory netbsd1:/var/slash-tmp/cvs-serv10952
|  > 
|  > Modified Files:
|  > 	main.c fsck_msdos.8 
|  > Log Message:
|  > Document -p (preen) option. If there are no filesystems specified on the
|  > command line, get them from /etc/fstab when we are preening.
| It's awesome that we have the fsck wrapper now!
| Hmm, but I can't help but wonder if it would be better to but the fstab 
| goo into the wrapper, and simply have it invoke the appropriate fsck_xxx 
| for each line it finds?  Then we could rip all that code out of the 
| back-ends.  I think this is how mount(8) does it.

I thought about that for quite a while. I finally decided that there was
no good way to implement the -p (preen) option if we did things like that.
I looked that the code and there is just a few lines to traverse /etc/fstab,
so I decided to do it this way.