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 18 Dec 2014, 22:31
All times are UTC - 4
 Forum index » Advanced Topics » Puppy Projects
pUPnGO - 6Mb ISO - Basic Building Block Puplet
Moderators: Flash, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 54 of 58 [868 Posts]   Goto page: Previous 1, 2, 3, ..., 52, 53, 54, 55, 56, 57, 58 Next
Author Message
Keef


Joined: 20 Dec 2007
Posts: 649
Location: Staffordshire

PostPosted: Mon 09 Dec 2013, 02:16    Post subject:  

xfast has been abandoned, but it will build on puppy. Got it running on 214R some time back. Didn't know what to do with it, so got bored and moved on....

EDIT Just realised I had found the old tarball and recompiled it a few months ago. Here it is running under X on Slacko:
Screenshot_2013-12-09_185215.png
 Description   
 Filesize   164.06 KB
 Viewed   500 Time(s)

Screenshot_2013-12-09_185215.png

Back to top
View user's profile Send private message 
goingnuts

Joined: 07 Dec 2008
Posts: 784

PostPosted: Mon 09 Dec 2013, 16:11    Post subject:  

Keef: And how do you run it under X? I can get it running by doing the startxfast at a prompt without X running...but trying to run desktop within X gives me
Code:
[0xB7CBD6C0] FATAL : CLIENT :: Cannot connect to server [s_window_init (window.c:161)]

Does everything work (menu-items/items at desktop)?
Back to top
View user's profile Send private message Visit poster's website 
technosaurus


Joined: 18 May 2008
Posts: 4424

PostPosted: Mon 09 Dec 2013, 16:25    Post subject:  

I'm much more inclined to use xynth than xfast... I hate when people fork a mature project and put a more restrictive license on it (and it is hard to see what it is that xfast adds). That being said xsynth has a lot of the stuff we want ... including a glade-like xml interface (even has javascript bindings ... fyi the last C-only spidermonkey is only about half a mb). I really like the fact that it _can_ be a multicall binary and supports other platforms
latest source for xsynth is here:
http://sourceforge.net/p/xynth/code/HEAD/tarball

_________________
Web Programming - Pet Packaging 100 & 101
Back to top
View user's profile Send private message 
Keef


Joined: 20 Dec 2007
Posts: 649
Location: Staffordshire

PostPosted: Mon 09 Dec 2013, 16:45    Post subject:  

goingnuts

I used SDL as the driver, maybe that did it. This used to be a pain to compile on 214R and 3.01 - needed a load of lrmi stuff, and had to disable some of the demos to get it to work.
A lot of those icons are for show, but the demo ones work (although slow to start on my machine).
'Load' and 'Terminal' work, and run from the menu too.

May not be of much use, but there is also Winnie
https://github.com/hikiko/winnie/tree/winnie.clients-as-plugins
I think it was just a college project, so is not being developed (at the moment). Only has a few demos and is a bit flaky for me.
On Slacko I had to boot with
Code:
 vga=791 i915.modeset=0

Not very exciting, but I get pleased with myself if I get these things to run...
Back to top
View user's profile Send private message 
goingnuts

Joined: 07 Dec 2008
Posts: 784

PostPosted: Tue 10 Dec 2013, 11:19    Post subject:  

technosaurus: Thanks for the link!
Keef: That helped - thanks! Changed to xynth though - as recommend by technosaurus. Will look at Winnie - thanks for telling.
Quote:
(...) I get pleased with myself if I get these things to run...
Me too.

Kind of puzzled in terms on what to think of xfast/xynth - seems slow on the desktop - but also with a potential - I think...
Back to top
View user's profile Send private message Visit poster's website 
goingnuts

Joined: 07 Dec 2008
Posts: 784

PostPosted: Tue 10 Dec 2013, 15:32    Post subject:  

I have used foremost to scan my /dev/sdc4 partition which is partly a former XP ntfs partition. The partition is ext3 now. The partition is filled 90% with new files added after the partition was made. Still foremost found over 5000 (!) jpg-files where some of them are (I am almost sure...) from the previous ntfs partition.

Various ways to wipe "empty space" are described here and there. One is to use "sfill" ...did not work...foremost find all files after "sfill"...

Another way is to use dd to fill the partition:
Code:
 dd if=/dev/zero of=zero.small.file bs=1024 count=102400
 dd if=/dev/zero of=zero.file bs=1024

(check with df that it is actually filled 100% - otherwise repeat second command changing filename - until df reports 100%)

Now partition should be fully rewritten upon and the generated files can be deleted.

BUT: Still foremost find all the files...

How can one get rid of them and having foremost find nothing?

I would like to include a privacy checking app in pupngo to verify that empty disk space is...empty. And at the same time have an undelete app as well...for the last purpose foremost seems quite effective.
Back to top
View user's profile Send private message Visit poster's website 
technosaurus


Joined: 18 May 2008
Posts: 4424

PostPosted: Tue 10 Dec 2013, 17:58    Post subject:  

Code:
cat /dev/zero >junkfile_on_partition
rm junkfile_on_partition

_________________
Web Programming - Pet Packaging 100 & 101
Back to top
View user's profile Send private message 
goingnuts

Joined: 07 Dec 2008
Posts: 784

PostPosted: Tue 10 Dec 2013, 22:31    Post subject:  

Unfortunately same effect as using dd - files still found.
Back to top
View user's profile Send private message Visit poster's website 
PANZERKOPF

Joined: 16 Dec 2009
Posts: 280
Location: Earth

PostPosted: Tue 10 Dec 2013, 22:46    Post subject:  

goingnuts wrote:
Unfortunately same effect as using dd - files still found.

You can erase whole drive using an internal function of ATA HDD. Smile

_________________
SUUM CUIQUE.
Back to top
View user's profile Send private message 
technosaurus


Joined: 18 May 2008
Posts: 4424

PostPosted: Wed 11 Dec 2013, 01:15    Post subject:  

goingnuts wrote:
Unfortunately same effect as using dd - files still found.
you likely have a fragmented drive... if your filesystem has a defragment utility, do that first.

of course if you want to zero the whole drive you can just use /dev/sda (or b,c,.. or sda1 for just the partition) as the output file. ... and to meet certain standards, this should be alternated with /dev/random 7+ times.

_________________
Web Programming - Pet Packaging 100 & 101
Back to top
View user's profile Send private message 
PANZERKOPF

Joined: 16 Dec 2009
Posts: 280
Location: Earth

PostPosted: Wed 11 Dec 2013, 11:02    Post subject:  

technosaurus wrote:

of course if you want to zero the whole drive you can just use /dev/sda (or b,c,.. or sda1 for just the partition) as the output file. ... and to meet certain standards, this should be alternated with /dev/random 7+ times.

If you want to erase the whole drive, mentioned above internal security function is fastest, because no I/O between drive and host. A drive erases itself using functions of internal firmware. In Linux world this possibly can be done with hdparm, although there are other special programs for working with HDDs.

_________________
SUUM CUIQUE.
Back to top
View user's profile Send private message 
amigo

Joined: 02 Apr 2007
Posts: 2288

PostPosted: Wed 11 Dec 2013, 12:05    Post subject:  

You need to use dban or something of that caliber. The data has to be overwritten multiple times to make it really disappear.
Back to top
View user's profile Send private message 
goingnuts

Joined: 07 Dec 2008
Posts: 784

PostPosted: Wed 11 Dec 2013, 13:09    Post subject:  

Thanks technosaurus & PANZERKOPF! I don't want to wipe entire drive. I want to be sure no traces left of deleted files in free space on the partition keeping what is there. Foremost finds a lot.

As for fragmentation fsck -nvf /dev/sdc4 reports 103454 non-contiguous inodes (6.4%) so fragmentation is there. Partition is 90% filled. So how do I defrag?
Found e2defrag (view image below of it running) and tried to run it with switch -r (read only) - I am a chicken. But would hate to loose over 30 Gb sources, build scripts, patches and various tool chains. Which remind me that I should backup some of those things soon...
But after crunching for some time (10 min?) e2defrag actually simulate a relocation which goes quite fast (1 min?). Might try to clone the drive and do a test on the clone with e2defrag.

For the adventurous reader - NO CLAIMS ACCEPTED! - I have attached a static build of e2defrag. And you can get foremost here

Amigo: I will try that as well - thanks.

Never thought I should on this journey just to wipe free space on a partition...
snap0003.png
 Description   e2defrag defragmenting
 Filesize   15.5 KB
 Viewed   269 Time(s)

snap0003.png

e2defrag-0.81.pet
Description 
pet

 Download 
Filename  e2defrag-0.81.pet 
Filesize  102.28 KB 
Downloaded  106 Time(s) 
snap0002.png
 Description   
 Filesize   23.14 KB
 Viewed   257 Time(s)

snap0002.png

Back to top
View user's profile Send private message Visit poster's website 
Ibidem

Joined: 25 May 2010
Posts: 527
Location: State of Jefferson

PostPosted: Thu 12 Dec 2013, 00:01    Post subject:  

goingnuts wrote:
I have used foremost to scan my /dev/sdc4 partition which is partly a former XP ntfs partition. The partition is ext3 now. The partition is filled 90% with new files added after the partition was made. Still foremost found over 5000 (!) jpg-files where some of them are (I am almost sure...) from the previous ntfs partition.

1. What mount options? (Is it full-journalling?)
2. What's on the drive? sources?

If it's mounted on /mnt/sdc4, try this:
Code:
find -iname '*.jpg' -o -iname '*.jpeg' /mnt/sdc4|wc -l
Back to top
View user's profile Send private message 
goingnuts

Joined: 07 Dec 2008
Posts: 784

PostPosted: Thu 12 Dec 2013, 01:18    Post subject:  

From dmesg:
Code:
kjournald starting.  Commit interval 5 seconds
EXT3 FS on sdc4, internal journal
EXT3-fs: mounted filesystem with ordered data mode.

Code:
# find /mnt/sdc4 -iname *.jpg -o -iname *.jpeg |wc -l
1204

and foremost running on unmounted sdc4:
Code:
Foremost started at Thu Dec 12 05:35:32 2013
Invocation: foremost -v -T -t jpg /dev/sdc4
...
1512 FILES EXTRACTED
   
jpg:= 1512
Drive holds mostly source packages, unpacked/packed. Quite a lot of deletion and unpacking/compiling/packaging is done on an everyday basis...

The jpg´s found - are lots of small icon-images, background-images where some seems to come from webpages or manpages...
Back to top
View user's profile Send private message Visit poster's website 
Display posts from previous:   Sort by:   
Page 54 of 58 [868 Posts]   Goto page: Previous 1, 2, 3, ..., 52, 53, 54, 55, 56, 57, 58 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Puppy Projects
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.1101s ][ Queries: 12 (0.0206s) ][ GZIP on ]