I found difference between "rm -rf" for non-exist file on readonly nfs
and usual non-writable directory.

In this example, /usr/src is readonly nfs mounted and /usr/bin is
normal filesystem but not writable.  And file "a" is not exist.

-----
% rm /usr/bin/a
rm: /usr/bin/a: No such file or directory
% rm -f /usr/bin/a
% rm -rf /usr/bin/a
% rm /usr/src/a
rm: /usr/src/a: No such file or directory
% rm -f /usr/src/a
% rm -rf /usr/src/a
rm: /usr/src/a: Read-only file system
%
-----

For "-f" option, last behavior is expected one, or not?


Jun Kuriyama // [EMAIL PROTECTED]
            // [EMAIL PROTECTED]


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to