Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 5 Jan 2016 22:21:32 -0500
From:      Allan Jude <allanjude@freebsd.org>
To:        Devin Teske <devin@shxd.cx>, Bruce Evans <brde@optusnet.com.au>
Cc:        Ian Lepore <ian@freebsd.org>, Warner Losh <imp@freebsd.org>, src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org, Devin Teske <dteske@freebsd.org>
Subject:   Re: svn commit: r293227 - head/etc
Message-ID:  <568C883C.5050006@freebsd.org>
In-Reply-To: <5360EA7A-399F-4679-B58F-62D0112EA481@shxd.cx>
References:  <201601052120.u05LKlQw074919@repo.freebsd.org> <1452038404.1320.46.camel@freebsd.org> <20160106125617.E968@besplex.bde.org> <5360EA7A-399F-4679-B58F-62D0112EA481@shxd.cx>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--m5L3ieEH5FU8s8RU5N9QKFcgohTotomt9
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: quoted-printable

On 2016-01-05 22:16, Devin Teske wrote:
> This e-mail is extremely hard to parse  and I think you are mistaken.
>=20
> The -f flag is more than just a counter to a possible -i
>=20
> 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.
>=20
> There are more conditions in rm that lead to a prompt than simply those=
 conditions involving -i and adding -f abates them all.
>=20

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.

--=20
Allan Jude


--m5L3ieEH5FU8s8RU5N9QKFcgohTotomt9
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (MingW32)

iQIcBAEBAgAGBQJWjIg/AAoJEBmVNT4SmAt+9wgP/0ZK2iSoqxqII/vzDgKGGaMN
+T6CAyTfQBv35krGOUh/0yOEzbkSalBrc2lWYgnc2VEtTyGs860bELynEXz2viMq
pqyKK1wnC+QJEbJd/rfZYpVIvtXQISNLEyWXxHlaXlrLdNTJCFGQS5jievuXZrnf
CnpCQ7djEGxu6xFrgUtyF0nJ/VeUHIfi8ab91mWg6bOWtV57YMAsWTC9AFGjLT4/
swV9YFEtu5eHbhiM5nqbPuT8NcUPBuWE8ad9US19kM2me0gYQPTTwsjZ1OJf4/2r
zQBj9wcn8R3z/8GSoBEDbuW3NCpHrAIw5deB6LoUxP03AYA6Ozynv9ghu0JRr05s
A7wrsA98VPCyIzEf/Nhu5YWNc2y91gE8bMJK/N90MDRAOxj0Fx8nsBK+sXoJ5T4c
Q++XYRwTUiI3+7e9cBDiSEjJKVmbtLv7aTVS5VyVNWmNkUV5lwuHUst0+0dwhxzN
zxqwmC2epxTNZ2SUjlvWZfp/npLk5yJtyL2TZR0441TKmaC8YYRTimMr0LcVzCRD
TpxylF7Hx0Jis547EGUOEsgy6HwnTn3E3mBh56m+KVSrX8S3/3FGuf2qUnE8makG
gMnPHgv90pva6PiT+juFmb0IeXhleS5N8yMM9dPkh8HIFHK8BwTeGhaovMuMR1Nl
BqGu26uz5pk7u1kyyW84
=kgWr
-----END PGP SIGNATURE-----

--m5L3ieEH5FU8s8RU5N9QKFcgohTotomt9--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?568C883C.5050006>