Bug 68955

Summary: #rm -f when executed on a read-only partition does not suppress the diagnostic message "# rm -f README rm: README: Read-only file system".
Product: Base System Reporter: Per Lanvin <per.lanvin>
Component: binAssignee: freebsd-bugs (Nobody) <bugs>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Unspecified   
Hardware: Any   
OS: Any   

Description Per Lanvin 2004-07-12 19:30:21 UTC
See "One line summary of the problem".

How-To-Repeat: See "One line summary of the problem".
Comment 1 Volker Stolz freebsd_committer freebsd_triage 2004-07-20 09:13:31 UTC
State Changed
From-To: open->closed

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


Comment 2 Volker Stolz freebsd_committer freebsd_triage 2004-07-20 09:13:31 UTC
Responsible Changed
From-To: freebsd-i386->freebsd-bugs