-
Caution! The size of '/tmp' is limited to 2 GB. I have had trouble with my script to remaster Knoppix. When I did CD remaster, all went well. But it takes a while to find the error when I did DVD remaster using '/tmp'-
-
Senior Member
registered user
Thanks for the warning, Werner.
I was expecting the limit was 4 Gb, but I seem to remember there IS some
uncertainty as to whether 2 Gb or 4 Gb is the limit. You've apparently
'been there, done that'. If I understand you correctly, if I have a
KNOPPIXn that is compressed to 2 Gb or more it will cause trouble
expanding it on /tmp. Is that any different than expanding it to /?
I'm assuming 2.5:1 compression here.
I would have expected I might be able to
conjure up a KNOPPIX-DATA of about 10 Gb and store that as 4 Gb cloop
compressed on /mnt-system and sometime or other expand it again to
10 Gb on /. All this assuming no file in KNOPPIX-DATA ever exceeds 4 Gb.
Since my overlays are always incremental, small additions, I don't think
this is a problem if I am limited to 5 Gb in reiser terms and compressed
to 2 Gb on Fat32 on /mnt-system, but I can see this would be a problem
for re-mastering.
My understanding is that the limit is not a Fat32 limit per se, but
rather a limit of iso9660 filesize ON fat32 filesystems.
-
"df -h" shows the size of tmpfs mounted at '/tmp' is 2 GB. I've had the trouble while building new ISO of DVD at the point
Code:
genisoimage ... | create_compressed_fs .... -f /tmp ...
The uncompressed size of Knoppix CD is about 1.9 GB and compressed about 0.8 GB and it fits within '/tmp'. The uncompressed size of DVD is about 9 GB and compressed it exceeds for me the size of 4 GB and that didn't work. Now I use the option "-f /opt/knx/knoppix_tmp".
The other problem while remaster Knoppix DVD: If I don't purge many big packages within DVD, I also cannot remaster a DVD, because the size limit for the new '/KNOPPIX/KNOPPIX' is 4 GB.
Last edited by Werner P. Schulz; 03-29-2013 at 10:59 AM.
-
Senior Member
registered user
![Quote](images/misc/quote_icon.png)
Originally Posted by
Werner P. Schulz
If I don't purge many big packages within DVD, I also cannot remaster a DVD, because the size limit for the new '/KNOPPIX/KNOPPIX' is 4 GB.
Can't you break up the re-master into 4 Gb chunks?
Isn't that how the Knoppix DVD is constructed?
Doesn't it have KNOPPIX and KNOPPIX1 in /mnt-system/KNOPPIX/ ?
And can't you add KNOPPIX2, KNOPPIX3, etc ?
Also thanks for the clarification. I thought the KNOPPIX, KNOPPIX1, etc were
limited to 4 Gb not 2 Gb, and didn't know where the 2 Gb limit came in.
For my purposes, I don't need to play games with anything larger than 2 Gb on /tmp.
I only use that to test out the syntax of some of my small backup programs.
-
Senior Member
registered user
Using ramdisk
![Quote](images/misc/quote_icon.png)
Originally Posted by
Blacksimon
I had already set up by default to move cromium cache, ~/.thumbnails, proxy cache to ramdisk.
This also interesting.
I had been establishing or re-establishing a reiserfs r/w persistence.
An alternative might be to use the ramdisk as a temporary r/w (in ram) for
some functions like *[Cc]ache* files.
I assume if I use the cheatcode noimage and forget my reiserfs that sets this up.
Not sure how to go about the re-routing of caches, however.
-
Member
To move cromium cache in ramdisk you have to use
Code:
/usr/bin/chromium %U --disk-cache-dir="/ramdisk"
right click on Menu/Internet/Browser web Chromium to change property or modify the Exec line in /home/knoppix/.local/share/application/Browser web Chromium.desktop file
To move ~/.thumbnails in ramdisk you have to add in /etc/init.d/knoppix-autoconfig at line 739 (function start_fs) this code
Code:
[ -d /home/knoppix/.thumbnails ] || mkdir /home/knoppix/.thumbnails
mount -t tmpfs -o rw,size=200M,suid,dev tmpfs /home/knoppix/.thumbnails
I think you can use even other directory
-
Senior Member
registered user
puzzled why the cache re-location effort here:
![Quote](images/misc/quote_icon.png)
Originally Posted by
Blacksimon
To move cromium cache in ramdisk you have to use...
The chromium cache is already in ramdisk, operating without persistence. See
Code:
updatedb; locate *[Cc]ache* | grep chromium
after booting with noimage and no prior re-arrangement of the cache.
This cache's current contents are probably lost on re-boot of course.
Last edited by utu; 03-30-2013 at 03:58 PM.
-
Member
sure with noimage code and KNOPPIX1 always is in ramdisk
post #16 was intended for normal r/w persistence which motivated the exclusion of cache in mkisofs in post #9
-
Senior Member
registered user
@Blacksimon
My concern is that you _may_ have allotted chromium cache space in two places in ramdisk.
If your intention is to end up with one chromium cache, I don't think you need to go through
the extra effort you have provided. I think the cache just moves from r/w to ramdisk with no extra effort
on your part. The exclude is still useful to minimize the what's in KNOPPIX1.
Last edited by utu; 03-30-2013 at 08:06 PM.
-
Senior Member
registered user
![Quote](images/misc/quote_icon.png)
Originally Posted by
Werner P. Schulz
All my self-created mount points can be deleted when not in use. And nothing seems to be mounted on my .gvfs, still there is no way to modify it using the ordinary file system commands. So .gvfs is something else, to me seemingly introducing new system features in userspace.
Maybe no wonder Miguel de Icaza is now a dedicated Mac user...?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
![Apple MacBook Pro 13” Dual Core i5 16GB RAM | 1TB HD | OS Catalina | WARRANTY picture](/store/img/g/ZpYAAOSwo1Ze7qSF/s-l225/Apple-MacBook-Pro-13-Dual-Core-i5-16GB-RAM-1TB-HD-.jpg)
Apple MacBook Pro 13” Dual Core i5 16GB RAM | 1TB HD | OS Catalina | WARRANTY
$229.00
![WF12F DELL 1TB 7.2K 6GBPS SATA 2.5'' HDD HARD DRIVE ST91000640NS 0WF12F picture](/store/img/g/BjAAAOSwG7xgGOlB/s-l225/WF12F-DELL-1TB-7-2K-6GBPS-SATA-2-5-HDD-HARD-DRIVE-.jpg)
WF12F DELL 1TB 7.2K 6GBPS SATA 2.5'' HDD HARD DRIVE ST91000640NS 0WF12F
$25.00
![~DAILY DEALZ ~ Apple Mac Pro: Intel Xeon 32GB RAM 1TB SSD 1 Year Warranty picture](/store/img/g/juoAAOSwa2plZN4L/s-l225/-DAILY-DEALZ-Apple-Mac-Pro-Intel-Xeon-32GB-RAM-1TB.jpg)
~DAILY DEALZ ~ Apple Mac Pro: Intel Xeon 32GB RAM 1TB SSD 1 Year Warranty
$289.99
![Lot of 4 - Dell 1TB 7.2k 6G SATA 3.5in HDD HUS722T1TALA600 - 0HNWHH picture](/store/img/g/9pcAAOSwP0hl9IFz/s-l225/Lot-of-4-Dell-1TB-7-2k-6G-SATA-3-5in-HDD-HUS722T1T.jpg)
Lot of 4 - Dell 1TB 7.2k 6G SATA 3.5in HDD HUS722T1TALA600 - 0HNWHH
$79.99
![Netac 1TB 2TB 512GB Internal SSD 2.5'' SATA III 6Gb/s Solid State Drive lot picture](/store/img/g/pJUAAOSwFaRkhuj-/s-l225/Netac-1TB-2TB-512GB-Internal-SSD-2-5-SATA-III-6Gb-.jpg)
Netac 1TB 2TB 512GB Internal SSD 2.5'' SATA III 6Gb/s Solid State Drive lot
$23.99
![Patriot P210 128GB 256GB 512GB 1TB 2TB 2.5](/store/img/g/RzIAAOSwSZNlN-zB/s-l225/Patriot-P210-128GB-256GB-512GB-1TB-2TB-2-5-SATA-3-.jpg)
Patriot P210 128GB 256GB 512GB 1TB 2TB 2.5" SATA 3 6GB/s Internal SSD PC/MAC Lot
$14.99
![Crucial - P3 Plus 1TB Internal SSD PCIe Gen 4 x4 NVMe picture](/store/img/g/-JwAAOSwICpjGL7y/s-l225/Crucial-P3-Plus-1TB-Internal-SSD-PCIe-Gen-4-x4-NVM.jpg)
Crucial - P3 Plus 1TB Internal SSD PCIe Gen 4 x4 NVMe
$69.99
![1TB HDD/SSD 2.5](/store/img/g/B~4AAOSw7uBkQoQ~/s-l225/1TB-HDD-SSD-2-5-SATA-Hard-Drive-for-Laptop-with-Wi.jpg)
1TB HDD/SSD 2.5" SATA Hard Drive for Laptop with Win 10/Win 11 Pro Pre-installed
$29.95
![1TB/2TB USB 3.0 Flash Drive Thumb U Disk Memory Stick Pen PC Laptop Storage US picture](/store/img/g/6IgAAOSwMkJl~ne5/s-l225/1TB-2TB-USB-3-0-Flash-Drive-Thumb-U-Disk-Memory-St.jpg)
1TB/2TB USB 3.0 Flash Drive Thumb U Disk Memory Stick Pen PC Laptop Storage US
$26.29
![Fanxiang 4TB 2TB 1TB SSD 550MB/s 2.5'' SATA III Internal Solid State Drive lot picture](/store/img/g/pB0AAOSwrbRkIWhk/s-l225/Fanxiang-4TB-2TB-1TB-SSD-550MB-s-2-5-SATA-III-Inte.jpg)
Fanxiang 4TB 2TB 1TB SSD 550MB/s 2.5'' SATA III Internal Solid State Drive lot
$198.99