Date: Tue, 20 Jul 2004 08:16:20 GMT From: Volker Stolz <vs@FreeBSD.org> To: per.lanvin@inceritus.com, vs@FreeBSD.org, freebsd-i386@FreeBSD.org, freebsd-bugs@FreeBSD.org Subject: Re: bin/68955: #rm -f when executed on a read-only partition does not suppress the diagnostic message "# rm -f README rm: README: Read-only file system". Message-ID: <200407200816.i6K8GK3n010475@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
Synopsis: #rm -f when executed on a read-only partition does not suppress the diagnostic message "# rm -f README rm: README: Read-only file system".
State-Changed-From-To: open->closed
State-Changed-By: vs
State-Changed-When: Tue Jul 20 08:13:31 GMT 2004
State-Changed-Why:
This is a feature. From the man-page:
"-f [...] If the file does not exist, do not display a diagnostic message or modify the
exit status to reflect an error.
...the -f option only masks attempts to remove non-existent files instead of mask-
ing a large variety of errors."
Responsible-Changed-From-To: freebsd-i386->freebsd-bugs
Responsible-Changed-By: vs
Responsible-Changed-When: Tue Jul 20 08:13:31 GMT 2004
Responsible-Changed-Why:
http://www.freebsd.org/cgi/query-pr.cgi?pr=68955
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200407200816.i6K8GK3n010475>
