Date: Sun, 30 Jan 2000 09:06:33 +0900 From: Jun Kuriyama <kuriyama@sky.rim.or.jp> To: current@FreeBSD.org Subject: "rm -rf" behavior on readonly nfs Message-ID: <86aeloo22e.wl@localhost.sky.rim.or.jp>
next in thread | raw e-mail | index | archive | help
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 // kuriyama@sky.rim.or.jp
// kuriyama@FreeBSD.org
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?86aeloo22e.wl>
