svn commit: r293227 - head/etc

Allan Jude allanjude at freebsd.org
Wed Jan 6 03:21:38 UTC 2016


On 2016-01-05 22:16, Devin Teske wrote:
> This e-mail is extremely hard to parse  and I think you are mistaken.
> 
> The -f flag is more than just a counter to a possible -i
> 
> Try to rm a file that has schg
> You will get a prompt without -i
> Adding -f will abate the prompt to attempt override of schg flag.
> 
> There are more conditions in rm that lead to a prompt than simply those conditions involving -i and adding -f abates them all.
> 

I think this is kind of a poor UI design of rm(1) honestly. It seems
like what we need is a 'never be interactive' flag, that won't surpress
the error message about the schg'd file, or read-only file system, but
won't try to prompt for it.

Although adding a new flag to rm(1) at this point probably doesn't make
sense.

-- 
Allan Jude

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 834 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/svn-src-all/attachments/20160105/408d5fb9/attachment.sig>


More information about the svn-src-all mailing list