[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Which device did I boot from?



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.

Does anyone know how this can be done?

Thanks!



Reply to: