-
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
***NEW*** BCM RX67Q Gaming Motherboard | Intel Q67 2nd/3rd Gen. | LGA1155 | DDR3
$29.77
ASUS H110M-R Motherboard Intel 6th/7th Gen LGA1151 DDR4 Micro-ATX i/o shield
$42.00
Micro ATX Desktop Motherboard ASUS H110M-C LGA 1151
$31.95
MSI A320M-A PRO AM4 AMD A320 USB3.2 Gen1 Micro-ATX Motherboard
$46.99
Gigabyte GA-B75M-HD3 Intel LGA1155 DDR3 Desktop Motherboard MicroATX USB 3.0
$26.99
Gigabyte AMD B550 UD AC Gaming Motherboard - AMD B550 Chipset - AM4 Socket - AMD
$89.99
ASUS Prime Q270M-C LGA1151 DP HDMI VGA SATA 6GB/s USB 3.0 MicroATX Motherboard
$37.99
MSI B450M PRO-VDH MAX AM4 AMD B450 USB3.2 Micro-ATX Motherboard
$67.99
BTC-S37 Mining Motherboard Kit /w SSD & Ram Preinstalled
$59.99
MSI B550M PRO-VDH WIFI Socket AM4 AMD Motherboard
$80.00