[SliTaz] Contribution to Tazusb Writefs

[ Thread Index | Date Index | More lists.tuxfamily.org/slitaz Archives ]


Hello!

I use slitaz as a toolbox in a pendrive.
So in an attempt to help improve, I made some changes on code that I thought would be interesting.

Reasons why:
            1) Recreated an error that involves the physical removal of the
            flash drive before the end of full copy of rootfs.gz. This
            causes the system to be broken for the next start.
          
            2) Currently, writefs tazusb creates a single rootfs.gz file.
            And there is no entry for this new single file in boot menu.
            Because the slitaz boot scheme works with four files.

I pasted only the Writefs's code on pastebin.

Hope you all enjoy.


http://pastebin.com/ynq1MuVm

If you find any errors, please let me know.

Rodrigo Boëchat


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/