Dallas Clement wrote:

> Hello all,
> 
> I'm trying to determine which device I booted Linux from at run-time.
> I'd like to obtain the boot device's major/minor numbers or at least
> it's name while executing an init script from initramfs.

I don't know if that is available at initramfs, but there is /proc/cmdline,
which should tell you what device was used (root=/dev/blah)

-- 

  Felipe Sateler


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to