Results 1 to 4 of 4

Thread: what is this? echo "0x100" > /proc/sys/kernel/r

  1. #1
    Junior Member
    Join Date
    Nov 2003
    Posts
    29

    what is this? echo "0x100" > /proc/sys/kernel/r

    While trying to speed up booting time, I came to these lines in linuxrc:

    # Change root device from /dev/fd0 to /dev/ram0
    echo "0x100" > /proc/sys/kernel/real-root-dev

  2. #2
    Senior Member registered user
    Join Date
    Nov 2002
    Location
    USA, IL
    Posts
    1,041

    Re: what is this? echo "0x100" > /proc/sys/kern

    --Don't worry about it, anything with a 0x in front of it is Hexadecimal notation. I suck at math; but if my experiment with ' bc ' is correct, 0x100 == 256 Decimal.

    --I wouldn't touch that line IIWY.

    Quote Originally Posted by tealeaf
    While trying to speed up booting time, I came to these lines in linuxrc:

    # Change root device from /dev/fd0 to /dev/ram0
    echo "0x100" > /proc/sys/kernel/real-root-dev

  3. #3
    Member registered user
    Join Date
    Sep 2003
    Posts
    67
    You are correct about your hexadecimal conversion.

    To learn more look at: http://vwop.port5.com/beginner/bhextut.html

  4. #4
    Junior Member registered user
    Join Date
    Apr 2003
    Posts
    22

    Re: what is this? echo "0x100" > /proc/sys/kern

    Quote Originally Posted by tealeaf
    While trying to speed up booting time, I came to these lines in linuxrc:

    # Change root device from /dev/fd0 to /dev/ram0
    echo "0x100" > /proc/sys/kernel/real-root-dev
    I think it does exactly what the comment says it does. It changes the root-device from /dev/fd0 (which is the first floppy drive, booting from cdrom also emulates a floppy) to /dev/ram0.

    normally this is done with pivot_root (see "man pivot_root") but I guess they didn't have space to include that on the floppy image.

    That guys above was right when he said you should leave this line alone

Similar Threads

  1. "/usr/bin/find: /proc/1/fd: Permission Denied"
    By marksalot in forum Customising & Remastering
    Replies: 0
    Last Post: 05-13-2005, 07:49 AM
  2. "Freeing unused kernel memory..."
    By bmoore in forum Hdd Install / Debian / Apt
    Replies: 0
    Last Post: 03-26-2005, 04:00 PM
  3. "enter your correct kernel source tree"????
    By Probert31 in forum Hardware & Booting
    Replies: 0
    Last Post: 03-24-2005, 05:08 AM
  4. Problem with "root=" kernel command-line argument
    By LukeyBoy in forum General Support
    Replies: 3
    Last Post: 03-24-2004, 02:35 PM
  5. knoppix 3.2 " unknown bus type 2" at kernel boot,
    By deverbone in forum Hardware & Booting
    Replies: 2
    Last Post: 08-19-2003, 02:03 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
  •  


OPNsense pfSense 8-Core Atom C3758 2.2GHz 8GB DDR4 64GB SSD 8x NIC QAT AES VPN picture

OPNsense pfSense 8-Core Atom C3758 2.2GHz 8GB DDR4 64GB SSD 8x NIC QAT AES VPN

$155.00



pfSense Firewall 16-Core Atom C3958 8GB DDR4 RAM 64GB SSD 8x 1Gbe QAT AES-NI VPN picture

pfSense Firewall 16-Core Atom C3958 8GB DDR4 RAM 64GB SSD 8x 1Gbe QAT AES-NI VPN

$184.99



OPNsense pfSense 16-Core Atom C3958 16GB ECC RAM 512GB SSD 8-Port QAT AES-NI VPN picture

OPNsense pfSense 16-Core Atom C3958 16GB ECC RAM 512GB SSD 8-Port QAT AES-NI VPN

$298.00



SonicWall TZ280 Firewall 03-SSC-6933 Advanced Edition 3YR NEW SEALED picture

SonicWall TZ280 Firewall 03-SSC-6933 Advanced Edition 3YR NEW SEALED

$999.99



OPNsense Firewall VPN QAT 8-Core Atom C3758 2.20GHz 16GB DDR4 128GB SSD 8xNIC picture

OPNsense Firewall VPN QAT 8-Core Atom C3758 2.20GHz 16GB DDR4 128GB SSD 8xNIC

$175.00



Fortinet FortiGate 60F FG-60F UTM UTP License Until 2027 Network Security FW VPN picture

Fortinet FortiGate 60F FG-60F UTM UTP License Until 2027 Network Security FW VPN

$229.99



Fortinet FortiGate 60F FG-60F P24286-03-13 Network Firewall Security Appliance picture

Fortinet FortiGate 60F FG-60F P24286-03-13 Network Firewall Security Appliance

$155.75



Fortinet FortiGate 80E 12 Ports Firewall Appliance picture

Fortinet FortiGate 80E 12 Ports Firewall Appliance

$20.25



Fortinet FortiGate FG-40F Network Security Firewall NO RACK EARS picture

Fortinet FortiGate FG-40F Network Security Firewall NO RACK EARS

$49.99



Check Point 1590 Firewall & w builtin WiFI and builtin LTE sim slot picture

Check Point 1590 Firewall & w builtin WiFI and builtin LTE sim slot

$95.99