Results 1 to 7 of 7

Thread: persistent image on dvd

Hybrid View

  1. #1
    Junior Member
    Join Date
    Oct 2010
    Posts
    9
    by multiple knoppix-data.img do you mean at the same time (ie. on possibly different media)? if so then "no, not at this point." i am guessing this would require a cheatcode to work, as the user would need to specify a non-default location for the different image files (if for example you were using a dvd AND a flash chip at the same time).

    if by multiple knoppix-data.img you mean "will it support either a writeable OR a read-only image?" the answer is yes. it already does that.

    i hadn't thought of the use case of simultaneous writeable and non-writeable images when i wrote the patch. do you think there would be demand for that?

    it also does not support multiple image overlay images simultaneously at all. however i believe implementing that (all on the same media) would be relatively trivial.

    sincerely,
    proctor

  2. #2
    Junior Member
    Join Date
    Oct 2010
    Posts
    9
    hello list,

    the following information has come to light from klaus knopper, rendering moot my patch. this functionality has been available all along:

    sincerely,
    proctor



    Please have a look at minirt.gz's /init:

    mountunion(){
    local dir tree=""
    for dir in /KNOPPIX /KNOPPIX[0-9]; do
    [ -d "$dir" ] && tree="$dir=ro${tree:+:$tree}"
    done
    mount -t aufs -o "br:$1=rw:$tree,noplink" unionfs /UNIONFS
    return $?
    }

    mountunion() supports incremental overlays, i.e. the filesystem mounted
    as /KNOPPIX is the base, /KNOPPIX[0-9] are changes vs. the base and vs
    each other in ascending order, and the only argument to mountunion() is
    the ONLY writable branch, either ramdisk or a read-write on-disk image
    that's mounted somewhere.

    Don't worry about "unionfs" here, it's just naming because of historical
    reasons.

    Now, if you want to record your changes from, let's say /ramdisk, to
    another read-only image, you would do a

    mkisofs -R /ramdisk | create_compressed_fs - 65536 > /tmp/KNOPPIX2, and
    put the resulting file on your new DVD master directory into the KNOPPIX
    folder. On next boot, KNOPPIX/KNOPPIX2 will be read-only mounted as
    /KNOPPIX2, and mountunion() will stack your changes there on top of the
    base image and put the read-write branch on top of that.

    If you would like to do this without rebooting, you have to call the
    full mount -t aufs command with all branches and with /UNIONFS as target
    mountpoint, which will shadow the previous mount. In theory, a "-o
    remount" with the additional branch in the "add" option, should also be
    possible, but it never worked for me, maybe because of existing process
    references to the previous stack.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


1U Firewall Router Server 6x 10GBE E3-1270 v3 32GB RAM X10SLH-N6-ST031 2x PSU picture

1U Firewall Router Server 6x 10GBE E3-1270 v3 32GB RAM X10SLH-N6-ST031 2x PSU

$200.00



2U Server 4x 960GB U.2 NVME 24 Bay SSD SAS SATA 2x Xeon 18 Cores 7x PCI-E RAILS picture

2U Server 4x 960GB U.2 NVME 24 Bay SSD SAS SATA 2x Xeon 18 Cores 7x PCI-E RAILS

$995.00



*HP PROLIANT MICROSERVER GEN8 E3-1220L V2 2.30 GHz 1 TB x4 HDD 8 GB RAM *NO OS* picture

*HP PROLIANT MICROSERVER GEN8 E3-1220L V2 2.30 GHz 1 TB x4 HDD 8 GB RAM *NO OS*

$245.00



FOR PARTS - HPE ProLiant MicroServer Gen10 Plus Server picture

FOR PARTS - HPE ProLiant MicroServer Gen10 Plus Server

$199.95



SuperMicro Server 505-2 Intel Atom 2.4GHz 8GB RAM SYS-5018A-FTN4 1U Rackmount picture

SuperMicro Server 505-2 Intel Atom 2.4GHz 8GB RAM SYS-5018A-FTN4 1U Rackmount

$202.49



SUPERMICRO CSE-815 4LFF BAREBONE X10DDW-i BOARD 2x HS 1x PSU NO RAM NO HDD picture

SUPERMICRO CSE-815 4LFF BAREBONE X10DDW-i BOARD 2x HS 1x PSU NO RAM NO HDD

$114.00



HPE ProLiant MicroServer Gen10 Plus v2 Ultra Micro Tower Server - 1 x Intel Xeon picture

HPE ProLiant MicroServer Gen10 Plus v2 Ultra Micro Tower Server - 1 x Intel Xeon

$846.48



Supermicro SuperChassis 510-203B with 200W PSU 1U 11.75

Supermicro SuperChassis 510-203B with 200W PSU 1U 11.75" depth

$70.00



1U Supermicro Server X10DRU-i+ 2x Xeon E5-2683 V3 28 Cores 256GB RAM 4x 10GBE-T picture

1U Supermicro Server X10DRU-i+ 2x Xeon E5-2683 V3 28 Cores 256GB RAM 4x 10GBE-T

$519.00



HP 634975-B21 BL465c G8 Blade Server 2x AMD 6378 @ 2.4GHz 192GB RAM 2x 146GB 15k picture

HP 634975-B21 BL465c G8 Blade Server 2x AMD 6378 @ 2.4GHz 192GB RAM 2x 146GB 15k

$749.00