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 Tue 23 Dec 2014, 00:30
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 [15 Posts]  
Author Message
friendofjane

Joined: 29 Nov 2012
Posts: 7

PostPosted: Sat 22 Mar 2014, 16:26    Post subject:  Looking for shred
Subject description: 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: 11184
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: 4140
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: 2297

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: 454
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: 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: 4140
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  161 Time(s) 
Back to top
View user's profile Send private message 
Flash
Official Dog Handler


Joined: 04 May 2005
Posts: 11184
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: 2297

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: 4140
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  158 Time(s) 
Back to top
View user's profile Send private message 
slavvo67

Joined: 12 Oct 2012
Posts: 509
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: 4140
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: 509
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: 4140
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: 509
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 from previous:   Sort by:   
Page 1 of 1 [15 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Filesystem
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0706s ][ Queries: 13 (0.0050s) ][ GZIP on ]