Date: Sun, 5 May 1996 17:01:35 +0200 (MET DST) From: J Wunsch <j@uriah.heep.sax.de> To: freebsd-hackers@freebsd.org (FreeBSD hackers) Cc: rnordier@iafrica.com (Robert Nordier) Subject: Re: dosfsck anyone? Message-ID: <199605051501.RAA28990@uriah.heep.sax.de> In-Reply-To: <199605051335.PAA00347@eac.iafrica.com> from Robert Nordier at "May 5, 96 03:35:17 pm"
next in thread | previous in thread | raw e-mail | index | archive | help
As Robert Nordier wrote: > A preen option is a Good Thing. 'fsck' itself has code to parse > /etc/fstab, skipping non-ufs filesystems. One solution would be > to incorporate equivalent code in 'dosfsck'. Possibly a more > elegant approach (which may be what you had in mind) would be to > handle the /etc/fstab parsing in a generic front-end. I rather thought of it the other way round: similar to mount(8), keep fsck(8) being the generic front-end that does the fstab parsing and dispatching. Much like mount(8), it could have builtin knowledge about some file system types (a builtin ufs checker, and the wisdom that procfs, swap, and cd9660 don't require checking at all), while it will call {/usr/sbin,/sbin}/fsck_${fstype} for all other file system types. -- cheers, J"org joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE Never trust an operating system you don't have sources for. ;-)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199605051501.RAA28990>