Results 1 to 6 of 6

Thread: An explanation of UNIONFS?

  1. #1
    Member registered user
    Join Date
    Mar 2005
    Posts
    35

    An explanation of UNIONFS?

    Would someone be able to give me a run down of what UNIONFS is and what it does?
    I understand that it's a filesystem allowing write-only and read-write branches, but how is it used with Knoppix 3.8? Will it be a way of creating space on a hard disk allowing Knoppix to read and write to the disk, while keeping the CD read-only, or am I missing the point? I'm a little confused as you can probably tell

    Thanks,
    Mark

  2. #2
    Member registered user
    Join Date
    Apr 2004
    Posts
    50
    I have a short writeup of what UnionFS means for Knoppix here:

    http://www.oreillynet.com/pub/wlg/6654

    I don't go into it in explicit detail, but you can read the official UnionFS project page for that level of info anyway.

  3. #3
    Member registered user
    Join Date
    Mar 2005
    Posts
    35
    Ok, I think I get it now, just confirm if I'm right if you would:

    <=3.7, you could edit /home and use the Save Configuration utitlity to save the settings and files to a disk, e.g. a USB drive or a hard disk.

    With UNIONFS, Knoppix is completely read/write, meaning you can install new programs on the /ramdisk, then save/restore in the same way you could with /home on <=3.7 (I understand it's slightly mroe complex than that, but I see that as the basics)

    Is that right?

    Thanks,
    Mark

  4. #4
    Member registered user
    Join Date
    Apr 2004
    Posts
    50
    Well in fact, you don't even have to think about the /ramdisk yourself, you just write directly to /usr/ or whatever directory you want, and UnionFS figures it all out for you. Then you run the persistent script so that the changes are saved.

  5. #5
    Junior Member registered user
    Join Date
    Apr 2005
    Posts
    16

    disk space and unionfs

    I am running 3.8 from an iso image on the harddisk and swap on the harddisk however persistent homedir is not enabled.

    According to mount, /UNIONFS is the union of /ramdisk and /KNOPPIX

    According to df, the size of /UNIONFS is 6.1G - but /ramdisk is 391M and /KNOPPIX is 1.9G - so where is the other 4G coming from?
    Code:
    knoppix@1[tmp]$ df -h
    Filesystem            Size  Used Avail Use% Mounted on
    /dev/root             3.4M   23K  3.4M   1% /
    /dev/hda1              28G  4.7G   22G  18% /cdrom2.loop
    /cdrom2.loop/knx38.iso
                          695M  695M     0 100% /cdrom/
    /dev/cloop            1.9G  1.9G     0 100% /KNOPPIX
    /ramdisk              391M  391M     0 100% /ramdisk
    /UNIONFS              6.1G  6.1G     0 100% /UNIONFS
    Also, when I wrote the large file to /ramdisk that filled it completely, there was considerable disk activity. I am wondering what on the harddisk it would be writing to.

  6. #6
    Member registered user
    Join Date
    Mar 2005
    Posts
    35
    How much swap do you have? That could explain the disk activity.

    Mark

Similar Threads

  1. does knoppix, use aufs? or unionfs? ...still says /UNIONFS..
    By starlyptErin_. in forum General Support
    Replies: 0
    Last Post: 08-22-2009, 10:55 PM
  2. Explanation of How Knoppix Boots on any PC.
    By whitesky009 in forum Hardware & Booting
    Replies: 2
    Last Post: 09-22-2008, 06:55 PM
  3. Root file system links to UNIONFS (e.g. bin -> /UNIONFS/b
    By Jim Tonic in forum Customising & Remastering
    Replies: 1
    Last Post: 05-24-2006, 04:14 AM
  4. Cheatcodes explanation
    By pnti in forum General Support
    Replies: 3
    Last Post: 09-25-2003, 12:00 PM
  5. cfdisk-explanation
    By senorian in forum Hdd Install / Debian / Apt
    Replies: 6
    Last Post: 05-20-2003, 03:38 PM

Posting Permissions

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


Kingston 32GB 64GB 128GB 256GB USB 3.0 Flash Drive Thumb Memory Stick Pen lot picture

Kingston 32GB 64GB 128GB 256GB USB 3.0 Flash Drive Thumb Memory Stick Pen lot

$285.90



SK Hynix 32GB 4Rx4 PC4-2133P-LD0-10 HMA84GL7MMR4N-TF TD  DDR4 Server Memory RAM picture

SK Hynix 32GB 4Rx4 PC4-2133P-LD0-10 HMA84GL7MMR4N-TF TD DDR4 Server Memory RAM

$110.00



TF/SD Card Adapter Camera Reader Android Type-c For iPhone17 Pro Max Plusm lot picture

TF/SD Card Adapter Camera Reader Android Type-c For iPhone17 Pro Max Plusm lot

$573.98



Micron MTC40F2046S1RC48BA1 DDR5 64GB (1x64GB) 4800MHz RDIMM ECC Server Memory picture

Micron MTC40F2046S1RC48BA1 DDR5 64GB (1x64GB) 4800MHz RDIMM ECC Server Memory

$2599.99



Lot Of 16 X 16GB ECC DIMM Server Memory SK Hynix HMA42GR7MFR4N-TF PC4-17000 DDR4 picture

Lot Of 16 X 16GB ECC DIMM Server Memory SK Hynix HMA42GR7MFR4N-TF PC4-17000 DDR4

$800.00



LOT OF 5 16GB DDR4 ECC RAM 80GB Hynix Samsung 2133 2400 2666 UDIMM RDIMM picture

LOT OF 5 16GB DDR4 ECC RAM 80GB Hynix Samsung 2133 2400 2666 UDIMM RDIMM

$399.99



Intel Optane NMA1XXD128GPS DDR4 2666 4Rx4 ECC 128GB Server Ram picture

Intel Optane NMA1XXD128GPS DDR4 2666 4Rx4 ECC 128GB Server Ram

$80.00



USB 3.0 Micro SD SDHC TF Card Reader Memory Adapter for PC Laptop Camera lot picture

USB 3.0 Micro SD SDHC TF Card Reader Memory Adapter for PC Laptop Camera lot

$3.75



Lot Of 50 8GB DDR4 RAM PC4-2666V-UA2 DIMM Desktop Memory Mixed Brands TESTED picture

Lot Of 50 8GB DDR4 RAM PC4-2666V-UA2 DIMM Desktop Memory Mixed Brands TESTED

$1750.00



LOT OF 30 8GB 2Rx4 PC3L-10600R-9-11-E2 MT36KSF1G72PZ-1G4M1FF DDR3 Server RAM picture

LOT OF 30 8GB 2Rx4 PC3L-10600R-9-11-E2 MT36KSF1G72PZ-1G4M1FF DDR3 Server RAM

$274.99