converting save changes folder into module

Post links to your 32-bit module repos here. Repo maintainers are responsible for resolving any issues caused by their xzm's.
User avatar
brokenman
Site Admin
Site Admin
Posts: 6105
Joined: 27 Dec 2010, 03:50
Distribution: Porteus v4 all desktops
Location: Brazil

Re: converting save changes folder into module

Post#11 by brokenman » 09 May 2011, 00:49

The next Porteus 32bit rc1 release contains: save-changes

Boot to fresh mode and then from CLI type: save-changes /path/to/save/your/changes.xzm
It also contains a GUI tool to make your changes.dat file bigger or to create a new one. It will also attempt to repair a corrupt .dat
How do i become super user?
Wear your underpants on the outside and put on a cape.

User avatar
francois
Contributor
Contributor
Posts: 6514
Joined: 28 Dec 2010, 14:25
Distribution: xfce plank porteus nemesis
Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.

Re: converting save changes folder into module

Post#12 by francois » 09 May 2011, 21:42

This is a very nice feature, one that will be quite appreciated. I will surely try it.

Thanks.
Prendre son temps, profiter de celui qui passe.

User avatar
francois
Contributor
Contributor
Posts: 6514
Joined: 28 Dec 2010, 14:25
Distribution: xfce plank porteus nemesis
Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.

Re: converting save changes folder into module

Post#13 by francois » 09 Jul 2011, 13:19

I really appreciate those threads on which you come back once and a while. Its good for those brains that with age are getting a little rusty.
Prendre son temps, profiter de celui qui passe.

User avatar
francois
Contributor
Contributor
Posts: 6514
Joined: 28 Dec 2010, 14:25
Distribution: xfce plank porteus nemesis
Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.

Re: converting save changes folder into module

Post#14 by francois » 11 Dec 2011, 05:40

Here is what I get under xfce 4.8 always fresh. Is there something wrong^

Code: Select all

root@porteus:~# save-changes /mnt/sda7/32bit_v11/porteus/modules/changes.xzm

Parallel mksquashfs: Using 1 processor
Creating 4.0 filesystem on /mnt/sda7/32bit_v11/porteus/modules/changes.xzm, block size 262144.
[===============================================================-] 804/804 100%
Exportable Squashfs 4.0 filesystem, xz compressed, data block size 262144
	compressed data, compressed metadata, compressed fragments, compressed xattrs
	duplicates are removed
Filesystem size 3645.81 Kbytes (3.56 Mbytes)
	24.85% of uncompressed filesystem size (14670.98 Kbytes)
Inode table size 11522 bytes (11.25 Kbytes)
	23.09% of uncompressed inode table size (49897 bytes)
Directory table size 13008 bytes (12.70 Kbytes)
	44.39% of uncompressed directory table size (29301 bytes)
Number of duplicate files found 10
Number of inodes 1186
Number of files 765
Number of fragments 13
Number of symbolic links  281
Number of device nodes 2
Number of fifo nodes 1
Number of socket nodes 11
Number of directories 126
Number of ids (unique uids + gids) 7
Number of uids 4
	root (0)
	guest (1000)
	avahi (85)
	lp (4)
Number of gids 5
	root (0)
	lp (7)
	users (100)
	avahi (85)
	sys (3)

Your changes module has been created!
/usr/bin/save-changes: line 40: unexpected EOF while looking for matching `"'
/usr/bin/save-changes: line 43: syntax error: unexpected end of file
root@porteus:~# 
Prendre son temps, profiter de celui qui passe.

User avatar
brokenman
Site Admin
Site Admin
Posts: 6105
Joined: 27 Dec 2010, 03:50
Distribution: Porteus v4 all desktops
Location: Brazil

Re: converting save changes folder into module

Post#15 by brokenman » 11 Dec 2011, 13:08

I see no fault in the save-changes.sh script ... i havn't checked the dir2xzm script yet. Everything seems in order to me ... but keep in mind that you can't save the module your are creating onto the filesystem that is being saved. In your case it doesn't appear to be the case.
How do i become super user?
Wear your underpants on the outside and put on a cape.

Post Reply