Newbie Question About System Update
Matthias Buelow
mkb at incubus.de
Wed Apr 20 13:07:00 PDT 2005
Bill Moran <wmoran at potentialtech.com> writes:
>bash-2.05b$ su
>Password:
>bolivia# cp /usr/sbin/cron /home/wmoran/.
>bolivia# cp /home/wmoran/cron /usr/sbin/.
>cp: /usr/sbin/./cron: Text file busy
>bolivia#
>
>Notice that /usr/sbin/cron is in use (because my system is running
>normally) I can copy _from_ that file, but I can not overwrite it.
drjekyll:~$ cp /bin/sh foo
drjekyll:~$ ./foo
drjekyll$ cp /bin/sh foo
cp: foo: Text file busy
drjekyll$ install /bin/sh foo
drjekyll$ echo $?
0
Guess why it's not using "cp"?
mkb.
More information about the freebsd-stable
mailing list