DragonFly BSD
DragonFly bugs List (threaded) for 2005-06
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

new expected behavior? src/bin/rm/rm.c


From: "George Georgalis" <george@xxxxxxxxx>
Date: Thu, 2 Jun 2005 22:21:01 -0400
Mail-followup-to: bugs@crater.dragonflybsd.org

Per the "dumb user fix" in rm...

http://www.dragonflybsd.org/cvsweb/src/bin/rm/rm.c?f=u&only_with_tag=&logsort=date

Is this expected behavior? ie I said fork a rm -rf, I really mean it...
but I had to ^Z, fg, bg...

roxy# rm -rf /usr/home/geo &
[1] 11174
roxy# recursively remove /usr/home/geo? y
y: Command not found.
[1]  + Suspended (tty input)         rm -I -rf /usr/home/geo
roxy# fg
rm -I -rf /usr/home/geo
^Z
Suspended
roxy# bg
[1]    rm -I -rf /usr/home/geo &
[1]  + Suspended (tty input)         rm -I -rf /usr/home/geo
roxy# 

actually I'm not completely sure what was going on with the fd there.

shouldn't -f override -I as well as -i? If we are using -I, we can use
-f, or not, right?

// George


-- 
George Georgalis, systems architect, administrator Linux BSD IXOYE
http://galis.org/george/ cell:646-331-2027 mailto:george@xxxxxxxxx



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]