It's not an inode value. Inodes are found in file systems, they're not device-related. The number you see is the decimal value of a two-byte hexadecimal number. The hexadecimal number is the major and minor numbers on the device in /dev. For example, on one of my systems, /proc/sys/kernel/real-root-dev give me a value of 24065. Converting that to hex, gives me 5E01. So, device number 94, 01 in /dev is my real root device. That just happens to be /dev/dasda1.
Mark Post -----Original Message----- From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of Dave Hansen Sent: Wednesday, May 24, 2006 4:16 PM To: [email protected] Subject: numerical form of root file system? Hi, I am a bit puzzled on a trivial issue. If I cat "/proc/sys/kernel/real-root-dev" I receive "the value of the real root file system in numerical form". When I display the file systems "df -i" I receive the INODE of the root file system. They don't match. What should correlate to the value from /proc/sys/kernel/real-root-device? We are running SLES 9 on s/390. Thank you, Dave H. ---------------------------------------------------------------------- For LINUX-390 subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390 ---------------------------------------------------------------------- For LINUX-390 subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390
