Date: Mon, 19 Jun 2000 20:53:39 +0200 From: Adrian Chadd <adrian@freebsd.org> To: freebsd-current@freebsd.org Subject: Re: fsck wrappers Message-ID: <20000619205339.S13112@zoe.bastard.co.uk> In-Reply-To: <20000619203721.R13112@zoe.bastard.co.uk>; from adrian@freebsd.org on Mon, Jun 19, 2000 at 08:37:21PM %2B0200 References: <20000619134233.O13112@zoe.bastard.co.uk> <20000619113434.A37336@dragon.nuxi.com> <20000619203721.R13112@zoe.bastard.co.uk>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Jun 19, 2000, Adrian Chadd wrote: > On Mon, Jun 19, 2000, David O'Brien wrote: > > On Mon, Jun 19, 2000 at 01:42:33PM +0200, Adrian Chadd wrote: > > > I've ported the NetBSD fsck wrapper to compile and run under FreeBSD. > > > > Can you summerize what this does, or does better than what we do today? > > The idea is the same as mount and its helpers - adding new fsck types > doesn't require modifying the startup scripts or fsck. Think of a system > where you have an FFS fs, an LFS fs, and perhaps an IFS fs. Each one > requires a seperate fsck, but it would be stupid to have fsck_* -p in > the rc scripts. > > Eventually FreeBSD systems will have more than just FFS based filesystems > running the system, and users will want to fsck them just like a FFS > filesystem. Watching my machine boot, the parallel nature of this fsck is now confusing the output, eg: Automatic reboot in progress... ** /dev/ad0s1a ** Last Mounted on / ** Root file system ** Phase 1 - Check Blocks and Sizes de0: enabling 10baseT port ** Phase 2 - Check Pathnames ** Phase 3 - Check Connectivity ** Phase 4 - Check Reference Counts ** Phase 5 - Check Cyl groups 1506 files, 57594 used, 10837 free (285 frags, 1319 blocks, 0.4% fragmentation) ** /dev/amrd0a ** /dev/ad0s1f ** Last Mounted on /cache ** Phase 1 - Check Blocks and Sizes ** Last Mounted on /usr ** Phase 1 - Check Blocks and Sizes ** Phase 2 - Check Pathnames ** Phase 3 - Check Connectivity ** Phase 4 - Check Reference Counts ** Phase 5 - Check Cyl groups ** Phase 2 - Check Pathnames 98429 files, 1812888 used, 2499978 free (181498 frags, 289810 blocks, 4.2% fragmentation) .. Would people object to fsck printing out either the mountpoint or the devname (where appropriate) prepending each line of fsck_ffs ? Adrian -- Adrian Chadd Build a man a fire, and he's warm for the <adrian@FreeBSD.org> rest of the evening. Set a man on fire and he's warm for the rest of his life. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000619205339.S13112>