Comment 8 for bug 935480

Revision history for this message
Phillip Susi (psusi) wrote :

Yea, that's pretty much what I came up with before the new year and I sent it off to the maintainer, but never got a reply.

I don't think this kind of safety check and prompt is unix like in character. It isn't the job of tools to second guess the admin and try to stop you from shooting yourself in the foot. This is why rm -rf / doesn't stop and warn you, even though doing this is monumentally stupid, and why none of the other mkfs tools try to do this.

Usually tools that try to do this sort of thing at least have the good sense to first check if stdin is connected to a tty, and skip the prompt if it isn't.