Re: GNU coreutils rm and safe-rm |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/slitaz Archives
]
- To: slitaz@xxxxxxxxxxxxxxxxxxx
- Subject: Re: GNU coreutils rm and safe-rm
- From: Brenton Edgar Scott <trixarian@xxxxxxxxx>
- Date: Sat, 11 Aug 2012 02:19:33 +0200
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:subject:message-id:in-reply-to:references:x-mailer :mime-version:content-type:content-transfer-encoding; bh=OLGzLtv/QTdOERlUAJc8fVzNp/h2l7Txc1LGYmtwuBY=; b=zWVimwVLl0lA9GEbVAFaSL6pPQv/knBYz3ZBFHSGWNqjLQu29P17MB3CSGvcxglSxc xE/oW5p9M/mVd2RExGqLQHYP9UpM8z73tTHfTAFrmiNEEAhKvHg8Q5LXksHGlKawMwX1 FYqAwXfS14vUed9qS7JrpBnBtnBWwE0zSTXXEvgxidfmP+s3Y2ZLu5hNbM61k7q8yruR 67vY3kuETBMBA1jtA1phhvW79rWVwRFRC4fER4N5tozlSWJYXllMcHVHmyYRJA6DkyF7 W4CaoCgIyNgNqr+FWUM8AsHszeAH8ID3KdIINVpJaQrPxi4SxB46FNxm+mrKgMkO/Drm hWxA==
You don't need GNU's rm because Busybox's rm command will work just as
well. Going though safe-rm's perl code, I don't see any uniquely GNU rm
paramaters called at all. All the wrapper does is check if the path is
one of the blacklisted ones and if it isn't, it forwards to the rm
command with flags et al. It has no preference which rm should be at
the other end. Anybody that tells you otherwise clearly didn't read
the source code of safe-rm.
What you do need is to install perl and to have the wrapper copied
to /usr/bin/rm and not /usr/local/bin/rm like it's described in the
documentation. While /usr/local/bin is in SliTaz's $PATH, we generally
don't use it.
--
SliTaz GNU/Linux Mailing list - http://www.slitaz.org/