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".

Volker Stolz vs at FreeBSD.org
Tue Jul 20 01:16:23 PDT 2004


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


More information about the freebsd-bugs mailing list