Sorry to hear you're running a broken OS.  :)

Mark Post 

-----Original Message-----
From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of
John Summerfied
Sent: Wednesday, May 24, 2006 7:46 PM
To: [email protected]
Subject: Re: numerical form of root file system?

Post, Mark K wrote:
> 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.
>


[EMAIL PROTECTED] ~]$ ls /dev/hda?
brw-rw----  1 root 3, 1 Mar  9 04:04 /dev/hda1
brw-rw----  1 root 3, 2 Mar  9 04:04 /dev/hda2
brw-rw----  1 root 3, 3 Mar  9 04:04 /dev/hda3
brw-rw----  1 root 3, 4 Mar  9 04:04 /dev/hda4
brw-rw----  1 root 3, 5 Mar  9 04:04 /dev/hda5
[EMAIL PROTECTED] ~]$ cat /proc/sys/kernel/real-root-dev
0
[EMAIL PROTECTED] ~]$

/dev/hda is my sole physical drive, hda3 contains my root filesystem.

--

Cheers
John

----------------------------------------------------------------------
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

Reply via email to