Next version of alphaos

Post your comments, questions, bug reports or suggest new features for alphaOS
Scooby
Site Admin
Posts: 826
Joined: 09 Sep 2013, 16:52

Re: Next version of alphaos

Postby Scooby » 17 Feb 2015, 21:03

porting peasywifi v3.4 progressing

Seems all functions are working now
just ndiswrapper I haven't tried

Will continue to remove dependency on Xdialog

jonas
Competent
Posts: 21
Joined: 19 Sep 2014, 11:46

Re: Next version of alphaos

Postby jonas » 18 Feb 2015, 11:06

Scooby wrote:Couldn't find it
Got a server malfunction on repo link

You did search it in repo and not on iso?

What repo link are you referring to? I just extracted /lib/firmware from modules downloaded here: http://dl.porteus.org/x86_64/current/modules/. Note that firmware is split between 000-kernel.xzm and 001-core.xzm.

jonas
Competent
Posts: 21
Joined: 19 Sep 2014, 11:46

Re: Next version of alphaos

Postby jonas » 18 Feb 2015, 11:20

Scooby wrote:seems many people are interested in savefolder

Maybe not so hard?
intead of mount -o loop we use mount -o bind

However when is this behaviour gonna kick in?

Probably use with new boot parameter?
or have it similar to savefile if a dir called changes is existent in alphaos
boot dir then use it as savefolder

It seems savefolder is already implemented in linux live kit and you can use it now in current version of alphaos if you want. If you create a /changes folder inside the alphaos system folder and boot with parameter perch, changes will be saved in the folder. However, usbmode is not implemented. BTW, do you know why the linux live kit persistent changes implementation was not used in alphaos and instead a separate save_file_activate() function was implemented?

Scooby
Site Admin
Posts: 826
Joined: 09 Sep 2013, 16:52

Re: Next version of alphaos

Postby Scooby » 18 Feb 2015, 14:32

jonas wrote:It seems savefolder is already implemented in linux live kit and you can use it now in current version of alphaos if you want. If you create a /changes folder inside the alphaos system folder and boot with parameter perch, changes will be saved in the folder.

how right you are
It works without hacks?


jonas wrote:However, usbmode is not implemented.

do you have linux fs i.e. ext on your usb where
you have alphaos system folder

jonas wrote:BTW, do you know why the linux live kit persistent changes implementation was not used in alphaos and instead a separate save_file_activate() function was implemented?

yes well alphaos used to be named Archpup and
be a part of puppy linux community.
Sim had a falling out with them so moved here.

I guess a lot of the users at the time were puppians used to savefile so when sim switched to linux live savefile was already an expected
feature.

I like savefile better since it doesn't demand
a certain fs

*EDIT*
Checked it out and it seems that you could possibly make it work on for example a FAT32 drive in a file called changes.dat
This makes use of DynFileFS which is a filesystem invented by slax creator

info here
http://permalink.gmane.org/gmane.comp.f ... evel/12177

source here
http://ftp.cc.uoc.gr/mirrors/linux/slax ... DynFileFS/

If you get that to work, please let me know

jonas
Competent
Posts: 21
Joined: 19 Sep 2014, 11:46

Re: Next version of alphaos

Postby jonas » 18 Feb 2015, 23:45

Scooby wrote:It works without hacks?

Yes, I tried it and it seems to work but I have not done any extensive testing and I will not use it regularly until it works with usbmode.

Scooby wrote:do you have linux fs i.e. ext on your usb where
you have alphaos system folder

Yes, I have alphaos folder on an ext4 partition on my usb (this is how the alphaos installer formats it, I beleive).

Scooby wrote:I like savefile better since it doesn't demand
a certain fs

*EDIT*
Checked it out and it seems that you could possibly make it work on for example a FAT32 drive in a file called changes.dat
This makes use of DynFileFS which is a filesystem invented by slax creator

I see. It seems the advantage of dynfilefs is that the savefile grows dynamically so that you don't have to allocate size beforehand but I don't have a strong opinion on this vs. the alphaos savefile implementation since I'd rather use a savefolder anyway.

Scooby
Site Admin
Posts: 826
Joined: 09 Sep 2013, 16:52

Re: Next version of alphaos

Postby Scooby » 19 Feb 2015, 10:20

jonas wrote:Yes, I tried it and it seems to work but I have not done any extensive testing and I will not use it regularly until it works with usbmode

I think the best way to get savefolder is to integrate it with savefile code. Could re-use s lot
of code from perch


jonas wrote:this is how the alphaos installer formats it, I beleive

I wouldn't know since I've never used it

jonas wrote:I see. It seems the advantage of dynfilefs is that the savefile grows dynamically so that you don't have to allocate size beforehand but I don't have a strong opinion on this vs. the alphaos savefile implementation since I'd rather use a savefolder anyway.

If you check the link I posted about dynfilefs you see an example were he explicitly sets filesize.
It is not dynamic only saves in a "space-efficient" way.

Anyway it seems it is not maintained.
If you check github you see an issue about
fs corruption and the lack of fsck utility
for dynfilefs. I think it runs the risk of corrupting
data and will not use it

Scooby
Site Admin
Posts: 826
Joined: 09 Sep 2013, 16:52

Re: Next version of alphaos

Postby Scooby » 19 Feb 2015, 20:54

changes folder in usbmode

it's not hard for instance

If a folder called changes present in alphaos dir could indicate a savefolder should be used
In initramfs.img . Bind mount changes folder to /mnt/live/memory/bundles/changes folder
if it is on a ext fs and if so have precedence over savefile

and then /usr/bin/save-session would be

Code: Select all

if [ -e /mnt/live/memory/bundles/changes ]; then
    echo -en $Green"* "$Color_Off"Saving session in usbmode with savefolder..." >/dev/console
    cp -afu /mnt/live/memory/changes/{bin,etc,home,lib,opt,root,sbin,usr,var} /mnt/live/memory/bundles/changes
fi



at startup folder /mnt/live/memory/bundles/changes would be added to union in /etc/rc.d/functions-->read_bootcodes()

Scooby
Site Admin
Posts: 826
Joined: 09 Sep 2013, 16:52

Re: Next version of alphaos

Postby Scooby » 24 Feb 2015, 20:26

In exchanging Xdialog for gtkdialog in peasywifi I've met a few hickups
Working around them now....

Looks a lot better with gtkdialog though


Return to “General Discussion”

Who is online

Users browsing this forum: No registered users and 6 guests

cron