logo       

busybox 0.60.5 rm -rf has problems: msg#00155

linux.busybox

Subject: busybox 0.60.5 rm -rf has problems

# ls
/home3/dank/wk/ixos/dap_interim/linux/3rdParty/crosstool/crosstool-0.15/build/sh4-unknown-linux-gnu/gcc-ss-3_3-20030714-glibc-2.2.5
ls:
/home3/dank/wk/ixos/dap_interim/linux/3rdParty/crosstool/crosstool-0.15/build/sh4-unknown-linux-gnu/gcc-ss-3_3-20030714-glibc-2.2.5:
No such file or directory
# rm -rf
/home3/dank/wk/ixos/dap_interim/linux/3rdParty/crosstool/crosstool-0.15/build/sh4-unknown-linux-gnu/gcc-ss-3_3-20030714-glibc-2.2.5
|| echo fail
rm: unable to stat
`/home3/dank/wk/ixos/dap_interim/linux/3rdParty/crosstool/crosstool-0.15/build/sh4-unknown-linux-gnu/gcc-ss-3_3-20030714-glibc-2.2.5':
File name too long
fail

Tsk. That seems to disobey SuSv3:

-f
Do not prompt for confirmation. Do not write diagnostic messages
or modify the exit status in the case of nonexistent operands.
Any previous occurrences of the -i option shall be ignored.
- Dan

--
Dan Kegel
http://www.kegel.com
http://counter.li.org/cgi-bin/runscript/display-person.cgi?user=78045


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise