DragonFly BSD
DragonFly submit List (threaded) for 2013-04
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

[DragonFlyBSD - Submit #2546] Add an option to rm to prevent recursive rm crossing mount points


From: Sascha Wildner via Redmine <bugtracker-admin@xxxxxxxxxxxxxxxxxxxxx>
Date: Mon, 15 Apr 2013 13:29:58 -0700

Issue #2546 has been updated by swildner.


Pushed, thanks!

----------------------------------------
Submit #2546: Add an option to rm to prevent recursive rm crossing mount points
http://bugs.dragonflybsd.org/issues/2546

Author: jorisgio
Status: New
Priority: Normal
Assignee: swildner
Category: 
Target version: 


With null mounts, rm -r in root can be dangerous. GNU rm as an option for that :

       --one-file-system
              when removing a  hierarchy  recursively,  skip
              any directory that is on a file system differâ??
              ent from that  of  the  corresponding  command
              line argument

Here is an easy patch to add a similar option to rm. 


-- 
You have received this notification because you have either subscribed to it, or are involved in it.
To change your notification preferences, please click here: http://bugs.dragonflybsd.org/my/account



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