-
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

GIGABYTE A520M DS3H AC AMD AM4 Motherboard mATX
$59.99

GIGABYTE H610M S2H V2 Motherboard, Supports 14th/13th/12th Gen Intel Core i5 i7
$69.59

ASRock B550M WiFi Micro-ATX Motherboard, AMD Ryzen 3000-5000 Series Socket AM...
$152.23

Gigabyte B365M AORUS ELITE Motherboard Intel B365 Micro ATX LGA 1151 DDR4 DIMM
$84.99

GIGABYTE B365 HD3 LGA1151 Intel 9th Gen motherboard
$59.99

ASUS H110I-PLUS Motherboard LGA1151 w/ I5-7400 CPU, 8GB, Heatsink & I/O Shield
$60.00

ASRock B550M Phantom Gaming 4 AM4 AMD B550 SATA 6Gb/s Micro ATX AMD Motherboard
$81.99

Intel H81 Motherboard M.2 NVMe LGA 1150 mATX w/ IO Shield (Random Slot Color)
$29.99

ASUS PRIME Z490-V Motherboard Intel Z490 10th gen DDR4 LGA 1200 ATX w/ IO Shield
$84.99

MSI B560M Pro-E LGA 1200 Intel B560 M-ATX Intel Motherboard Intel 10th 11th gen
$69.99