-
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

SFP TO RJ45 TRANSCEIVER SFP MODULE COPPER SFP OPTICAL PORT TO RJ45 ETHERNET PORT
$7.99

Finisar Copper SFP 1Gbps Transceiver Module FCLF8522P2BTL (34 total)
$680.00

Cisco SFP-10G-SR= 10Gbps SFP+ Optical LC Transceiver Module P/N 10-2415-03
$20.00

Cisco Meraki MA-SFP-1GB-SX Network Tranceiver Module
$89.00

Genuine Cisco SFP-10G-SR 0-2415-03 10 Gigabit Transceiver
$5.40

Dell Intel X710-DA2 5N7Y5 Dual-Port 10GbE SFP+ PCIe 3.0 x8 Network Adapter
$27.50

NEW Sealed Cisco SFP-10G-LR 10GBASE-LR SFP+ 1310nm 10km *US Shipping*
$24.00

HP 560SFP+ 10GB 2-port PCIe NIC Ethernet ADAPTER 669279-001 w/ (2) 10GB SFP+
$16.99

Netgear ProSafe AGM732F 1000BASE-LX SFP 1310nm GBIC Module NEW SEALED
$80.00

HPE 560SFP 2x 10Gb SFP+ PCIe Both Profile Network Card 669279-001 665247-001
$14.90