Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Thu 02 Oct 2014, 13:14
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Filesystem
Looking for shred
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
Page 1 of 1 Posts_count  
Author Message
friendofjane

Joined: 29 Nov 2012
Posts: 7

PostPosted: Sat 22 Mar 2014, 16:26    Post_subject:  Looking for shred
Sub_title: Part of coreutils. Not in Puppy
 

Hello,

does somebody knows where I can find the shred utility, the command line program to wipe securily files ?

I find it strange because shred is a standard command line utility we can find on many distributions.

In my Package manager I tried all possible repositories but nowhere there is the shred utility to install.

Cheers
friendofjane
Back to top
View user's profile Send_private_message 
Flash
Official Dog Handler


Joined: 04 May 2005
Posts: 11083
Location: Arizona USA

PostPosted: Sat 22 Mar 2014, 16:47    Post_subject:  

I don't know. Seems like it ought to be around here somewhere. Will this do instead?
Back to top
View user's profile Send_private_message 
Semme

Joined: 07 Aug 2011
Posts: 3940
Location: World_Hub

PostPosted: Sat 22 Mar 2014, 17:09    Post_subject:  

It's part of the coreutils pkg. Wink
Back to top
View user's profile Send_private_message 
amigo

Joined: 02 Apr 2007
Posts: 2252

PostPosted: Sun 23 Mar 2014, 04:02    Post_subject:  

Puppy uses busybox instead of coreutils, so it is not in puppy. I would not simply install coreutils, though, as it will break many puppy scripts which depend on the busybox versions of tools included in coreutils.
Back to top
View user's profile Send_private_message 
sheldonisaac

Joined: 21 Jun 2009
Posts: 421
Location: Philadelphia, PA

PostPosted: Sun 23 Mar 2014, 15:30    Post_subject:  

amigo wrote:
Puppy uses busybox instead of coreutils, so it is not in puppy. I would not simply install coreutils, though, as it will break many puppy scripts which depend on the busybox versions of tools included in coreutils.

I have
Quote:
~> shred --version
shred (GNU coreutils) 7.4
Copyright (C) 2009 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>

It came with the SuperLuPu I'm using just now on this computer.
amigo, any ideas on what should I look out for with regard to scripts breaking?

_________________
Dell E6410: Windows XP, LuPu Super 2 & various Puppys;Dell D610: Windows XP, Puppy Linux 5.2, 'lina-lite; Intel D865GBF: Windows XP, Puppy Linux 5.2;
Acer Aspire One: Windows XP, Puppy Linux 5.2; ASUS P5A: MS-Windows 98SE, Puppy Linux 2.14X
Back to top
View user's profile Send_private_message 
Semme

Joined: 07 Aug 2011
Posts: 3940
Location: World_Hub

PostPosted: Sun 23 Mar 2014, 18:13    Post_subject:  

FOJ, 4 Precise now and may need a lib.. Unpack'n stick it in /usr/bin.
shred.gz
Description 
gz

 Download 
Filename  shred.gz 
Filesize  23.95 KB 
Downloaded  120 Time(s) 
Back to top
View user's profile Send_private_message 
Flash
Official Dog Handler


Joined: 04 May 2005
Posts: 11083
Location: Arizona USA

PostPosted: Sun 23 Mar 2014, 21:25    Post_subject:  

I downloaded the shred.gz, unzipped it and put it in usr/bin. The first time I entered shred --help in a console, it told me I didn't have permission, so I right-clicked on shred in usr/bin, chose permissions and told it to make it executable. Then the help menu appeared.

I found a very interesting thing in shred's instructions:
Quote:
In the case of ext3 file systems, the above disclaimer applies
(and shred is thus of limited effectiveness) only in data=journal mode,
which journals file data in addition to just metadata. In both the
data=ordered (default) and data=writeback modes, shred works as usual.
Ext3 journaling modes can be changed by adding the data=something option
to the mount options for a particular file system in the /etc/fstab file,
as documented in the mount man page (man mount)

It would appear that ext3 can be a journaling file system!
Back to top
View user's profile Send_private_message 
friendofjane

Joined: 29 Nov 2012
Posts: 7

PostPosted: Mon 24 Mar 2014, 01:50    Post_subject:  

Thank you, I will try that shred and tell you.
Back to top
View user's profile Send_private_message 
amigo

Joined: 02 Apr 2007
Posts: 2252

PostPosted: Mon 24 Mar 2014, 01:50    Post_subject:  

Of course ext3 is a journalling FS.
No problem using a 'loose' copy of shred - that won't break anything.
Back to top
View user's profile Send_private_message 
Semme

Joined: 07 Aug 2011
Posts: 3940
Location: World_Hub

PostPosted: Mon 24 Mar 2014, 09:05    Post_subject:  

Newer, from Slack 14.1 >> coreutils v8.21. This one unpacks to /bin. If the other works, that's fine, leave it.
shred.gz
Description 
gz

 Download 
Filename  shred.gz 
Filesize  25.66 KB 
Downloaded  113 Time(s) 
Back to top
View user's profile Send_private_message 
slavvo67

Joined: 12 Oct 2012
Posts: 404
Location: The other Mr. 305

PostPosted: Mon 07 Apr 2014, 18:58    Post_subject:  

Can't something similar be done with a simple bash script? Just curious...
Back to top
View user's profile Send_private_message 
Semme

Joined: 07 Aug 2011
Posts: 3940
Location: World_Hub

PostPosted: Mon 07 Apr 2014, 19:06    Post_subject:  

Very Happy Slavvo.. this a tease? Cough it up!
Back to top
View user's profile Send_private_message 
slavvo67

Joined: 12 Oct 2012
Posts: 404
Location: The other Mr. 305

PostPosted: Wed 21 May 2014, 01:29    Post_subject:  

Hi Semme:

I just saw your response. Now I'm going crazy looking for the script that I tied to an Ubuntu "shred like" program but much faster. I'll get back to you on this. Of course there's the dd script but there's something better and quick....

So, while you salivate... take a look at this...

http://www.noah.org/wiki/Dd_-_Destroyer_of_Disks

This above is an amazing write-up about wiping disks. Wish I could take credit but not me.

Stay tuned. I'll find that script and program I'm talking about....

Best,

Slavvo67
Back to top
View user's profile Send_private_message 
Semme

Joined: 07 Aug 2011
Posts: 3940
Location: World_Hub

PostPosted: Wed 21 May 2014, 05:28    Post_subject:  

Let me guess >> srm? Don't worry, I'm far from Wink hell-bent.
Back to top
View user's profile Send_private_message 
slavvo67

Joined: 12 Oct 2012
Posts: 404
Location: The other Mr. 305

PostPosted: Sun 25 May 2014, 23:12    Post_subject:  

Actually, I believe it was HDParm. But I lost the script that I wrote as a front end. Embarassed I'm need to stop saving in Root when I'm running a live CD. LOL
Back to top
View user's profile Send_private_message 
Display_posts:   Sort by:   
Page 1 of 1 Posts_count  
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Filesystem
Jump to:  

Rules_post_cannot
Rules_reply_cannot
Rules_edit_cannot
Rules_delete_cannot
Rules_vote_cannot
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0712s ][ Queries: 12 (0.0036s) ][ GZIP on ]