Path: utzoo!attcan!uunet!convex!killer!vector!chip From: chip@vector.UUCP (Chip Rosenthal) Newsgroups: comp.unix.xenix Subject: Re: SCRATCH FILE [for fsck] Message-ID: <574@vector.UUCP> Date: 26 Sep 88 21:07:19 GMT References: <7188@well.UUCP> <88@infopro.UUCP> Reply-To: chip@vector.UUCP (Chip Rosenthal) Distribution: na Organization: Dallas Semiconductor Lines: 20 In article <88@infopro.UUCP> david@infopro.UUCP (David Fiedler) writes: >From article <7188@well.UUCP>, by dave@well.UUCP (Dave Hughes): >> How can I get [fsck] to automatically get past the prompt for a SCRATCHFILE >How about changing the appropriate entry in /etc/default/filesys to add >something like "-t /tmp/scratch"? Be careful. This won't work when you fsck the filesystem which contains /tmp/scratch. Assuming that /tmp isn't a seperate filesytem and your root filesystem isn't large, then /tmp/scratch will work. Otherwise, a better way would be to create a small device with divvy called /dev/scratch and use that instead. Unfortunately, I don't remember how large this needs to be. (Can anybody fill this in??) In fact, when divvy is first run, if you have any large filesystems *and* you have enough unallocated space on the disk, it will ask you if it should make a /dev/scratch. If you answer "yes", it will not only make it, but it will put the proper "fsckflags" in /etc/default/filesys as well. -- Chip Rosenthal chip@vector.UUCP | I've been a wizard since my childhood. Dallas Semiconductor 214-450-0486 | And I've earned some respect for my art.