-
Senior Member
registered user
/dev/shm == /dev/ram0
Hi,
I am going through the linuxrc on KNOPPIX and want to understand how it works.
I noticed that the ramdisk(thus the root /) is created on /dev/shm but at the end of the script, it transfer the root system to /dev/ram0 through
echo "0x100" > /proc/sys/kernel/real-root-dev
(where 0x100 is the major-minor device id for /dev/ram0). Is this a kernel feature that is builtin to linux ? I failed to find any node under /dev for /dev/shm which I assumed is not needed like other devices say /dev/hda1...
thanks for any help in advance.
========================================
EDIT: Forget the above, I was dead wrong in understanding the code, now I know better after further reading.
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

LENOVO THINKPAD T14s GEN 2a Ryzen 7 PRO 5850U 1.9GHz 16GB 256GB TOUCH - NO OS
$299.95

Lenovo Thinkpad T14 Gen 2 14" 16GB, Thunder Black
$313.00

Lenovo ThinkPad L14 Gen 3 Laptop 14” FHD Core i5 12th 16GB RAM 512GB SSD Win 11
$374.99

Lenovo Thinkpad E15 Gen 2 8GB RAM 256GB SSD Intel Core [email protected] Laptop
$220.36

Lenovo Thinkpad T14 Gen 2i 14" 16GB 512GB, Black
$313.00

Lenovo ThinkPad L14 Gen 1 i5-10210U 16GB 512GB SSD Win 11 Pro Very Good
$229.99

Lenovo LOQ 15 15.6" FHD 144Hz 8-Core i5-12450HX 16GB 512GB SSD GeForce RTX 4050
$760.00

Lenovo ThinkPad L15 Gen 3 15.6" 16GB, Thunder Black
$230.00

Lenovo Thinkpad E15 15.6" Laptop i5/i3 8GB RAM Up to 1TB SSD HDD Tested Working
$136.55

Lenovo ThinkPad L490 14" HD Laptop Intel Core i5 16GB RAM 128GB SSD Windows 11
$214.23