Subject: Re: newfs overwrites non-UNIX filesystems
To: None <James.Graham@Schwab.COM>
From: Bill Studenmund <skippy@macro.stanford.edu>
List: current-users
Date: 10/09/1997 14:26:22
On Thu, 9 Oct 1997 James.Graham@Schwab.COM wrote:
> Does anyone else here feel as though a patch to newfs prevent
> accidental overwriting of a non-UNIX-type filesystem would
> be worthwhile?
>
> Is anyone else interested? I submitted a patch to core, but
> one of core responded to me calling it an "egregious hack",
> this after I thought I had seen sufficient interest in this.
>
> The patch basically tested the type of filesystem being
> newfs'd and printed a warning and requested a confirmation
> unless a (new) -F flag had been given.
Hmm. The feature sounds good, just to prevent think-o errors. Especially
given the potential concequences.
Maybe it would be better (more consistant w/ other tools) for newfs to
squalk & exit if the partition's not FFS or UFS (and -F or whatever wasn't
set)?
Take care,
Bill