-
Senior Member
registered user
advanced knoppix questions
If anybody knows the answers, I have a couple questions on the way knoppix works...
1) when running an executable for the first time since bootup, does knoppix store a copy of the executable in the ramdisk so that subsequent calls to that program will not require rereading off cdrom? If so, how long would the executable files be cached before being deleted to make room?
2) I notice that there are symbolic links in /etc that point to files on cdrom, but when edited, the link is broken and there is an edited copy in /etc.
-
1) when running an executable for the first time since bootup, does knoppix store a copy of the executable in the ramdisk so that subsequent calls to that program will not require rereading off cdrom? If so, how long would the executable files be cached before being deleted to make room?
Yes... it depends.
Knoppix, and Linux, as well as all UNIX's, and also Windows, and - now that I think about it - even DOS (in a rudimentary sort of way), have things called disk buffers.
Basically a section of RAM is set aside so that anything read from the hard disk is copied into RAM, so that if it is needed to be read again in the near future it is need not be read off disk again. This applies to anything on the disk, not just programs.
How long it stays in RAM depends on how much other stuff needs to be read. Obviously it can't keep storing everything forever, so when new stuff needs to be read in, the OS will (usually) use a "least recently used" algorithm to start getting rid of the oldest pages in order to make room for the new ones.
-
Senior Member
registered user
ok that makes sense!
Anyways, I had forgotten to complete part 2 of my post. I was just wondering what that type of symbolic link is called (and how its created) where editing the link and saving the file breaks the link and creates a new copy of the target.
Similar Threads
-
By aloy in forum General Support
Replies: 9
Last Post: 08-07-2005, 05:32 PM
-
By quicksilver1024 in forum General Support
Replies: 13
Last Post: 01-18-2005, 09:50 AM
-
By boxoman in forum General Support
Replies: 4
Last Post: 11-07-2004, 04:21 PM
-
By |2yan in forum General Support
Replies: 3
Last Post: 09-03-2004, 07:49 AM
-
By markschmid in forum Hdd Install / Debian / Apt
Replies: 9
Last Post: 04-11-2004, 11:30 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
-
Forum Rules

IBM 4262 SYSTEM x3200 Tower - HDD Wiped, NO OS
$80.00

IBM 7915 AC1 M4 E27R704 Server Intel 2650V2 32GB RAM NO HDD w/ 2x 750w PSU
$200.00

IBM QRadar xx29 2x Xeon E5-2650v4 2x 900W PSU M5120 12x 3.5" Bay Server No RAM
$149.99

IBM X3650 M4 Server System Board 00MX553 00AM209 00Y8499 00Y8457 00D2888 00W2671
$230.00

IBM Power S922 9009-22A Power9 DDR4 10GbE 6X SFF Barebone Server
$999.95

IBM Power S822 POWER8 1x CPU 32GB DDR4 RAM 2U Rack Server No HDD.
$629.99

IBM SYSTEM X3500 M3 SERVER 7380AC1 TOWER Server XEON E5620 8GB RAID SEE NOTES
$107.56

IBM POWER8 8286-42A S824 16-Core 128GB RAM 4.8TB SAS Fedora Linux Server PowerVM
$750.00

IBM System X3650 M3 Server Xeon E5620 2.4 GHz 16 GB Ram Raid M5015 No OS No HDD
$87.96

IBM System x3755 M3 2U Rackmount Server – No Drives or Trays
$150.00