New features which should be implemented in Porteus; suggestions are welcome. All questions or problems with testing releases (alpha, beta, or rc) should go in their relevant thread here, rather than the Bug Reports section.
-
Ed_P
- Contributor

- Posts: 8968
- Joined: 06 Feb 2013, 22:12
- Distribution: Cinnamon 5.01 ISO
- Location: Western NY, USA
Post#46
by Ed_P » 02 Dec 2017, 16:55
abelM PROBLEM!!
Last night after making changes to a couple of my scripts in /home/guest/ I ran the script to tweak cleanup to only save updated files. sed -i 's/cp -af /cp -afu /' /mnt/live/cleanup I checked the file and the update took. I shutdown and it updated my save.dat file. Today I rebooted and went to work on my scripts more and found that they
didn't have any of the changes I made last night!!!
My save.dat file is 64% full with 300+MB available so it being full is not the problem.
Ed_P
-
Ed_P
- Contributor

- Posts: 8968
- Joined: 06 Feb 2013, 22:12
- Distribution: Cinnamon 5.01 ISO
- Location: Western NY, USA
Post#47
by Ed_P » 03 Dec 2017, 01:27
brokenman, you might want to hold off on the cleanup script change in 4.0 till this gets resolved.
Any chance cleanup doesn't use the local time setting the DE uses?
Ed_P
-
apollo
- Black ninja

- Posts: 75
- Joined: 28 Oct 2017, 13:40
- Distribution: 4.0 XFCE, Manjaro
- Location: .bay.de
Post#48
by apollo » 03 Dec 2017, 07:59
Hi Ed,
did you update your initrd.xz as abelM/brokenman stated earlier in this thread?
cheers
apollo
apollo
-
brokenman
- Site Admin

- Posts: 6105
- Joined: 27 Dec 2010, 03:50
- Distribution: Porteus v4 all desktops
- Location: Brazil
Post#49
by brokenman » 03 Dec 2017, 12:33
I will have to investigate. I am not sure how cp -u handles updated files.
How do i become super user?
Wear your underpants on the outside and put on a cape.
brokenman
-
Ed_P
- Contributor

- Posts: 8968
- Joined: 06 Feb 2013, 22:12
- Distribution: Cinnamon 5.01 ISO
- Location: Western NY, USA
Post#50
by Ed_P » 03 Dec 2017, 13:59
apollo wrote: ↑03 Dec 2017, 07:59
Hi Ed,
did you update your initrd.xz as abelM/brokenman stated earlier in this thread?
cheers
apollo
No, I boot from the 3.2.2 ISO.
In reviewing the begining of this thread I see that the adding of the u was already found to not work with 3.2.2.

Dumb me forgot.

Ed_P
-
abelM
- Black ninja

- Posts: 50
- Joined: 22 Oct 2017, 12:35
- Distribution: Porteus v-3.2.2 64 bit
- Location: Argentina
-
Contact:
Post#51
by abelM » 03 Dec 2017, 19:44
Hi Ed!
You're not alone. I've made the same mistake!

That's why I'm testing new code in
dump-session bypassing
cleanup save on exit
Code: Select all
# /etc/rc.d/rc.local_shutdown
dump-session && rm -f /mnt/live/tmp/changes-exit
BTW I've added a small fix to
dump-session you can see at
direct update at dump session (Post by abelM #60792)
Regards
abelM
-
apollo
- Black ninja

- Posts: 75
- Joined: 28 Oct 2017, 13:40
- Distribution: 4.0 XFCE, Manjaro
- Location: .bay.de
Post#52
by apollo » 03 Dec 2017, 19:48
@brokenman
regarding to the cp manpage, -u updates files which are "newer" in the source or are completely missing at the destination...should be the way we want it to work

apollo
-
abelM
- Black ninja

- Posts: 50
- Joined: 22 Oct 2017, 12:35
- Distribution: Porteus v-3.2.2 64 bit
- Location: Argentina
-
Contact:
Post#53
by abelM » 04 Dec 2017, 16:43
That's OK! Another interesting point is saving from union system to persistence without using a temporary folder. The proposed
dump-session achieves both goals and
cleanup could eventually too.
Regards
abelM
-
abelM
- Black ninja

- Posts: 50
- Joined: 22 Oct 2017, 12:35
- Distribution: Porteus v-3.2.2 64 bit
- Location: Argentina
-
Contact:
Post#54
by abelM » 13 Dec 2017, 15:44
abelM
-
Jack
- Contributor

- Posts: 1955
- Joined: 09 Aug 2013, 14:25
- Distribution: Nemesis Cinnamon 64
- Location: USA
Post#55
by Jack » 19 Dec 2017, 19:12
I use a USB and it is ext4 format and I save my data in the changes directory on the USB. It works great on the first boot up but on the 2nd boot up it boots in to a black screen. It likes when I power down after the first boot up something gets delete in the changes directory on the USB. I must be the only one using this setup.
I thought it was my Mate build but I try Openbox and LXDE but they did it too (black screen).
I like to stay current but if it don't get fixed I won't be able too.
I just like Slackware because I think it teach you about Linux to build packages where Ubuntu is like Windows you just install programs you want.
Jack