> Dallas Clement wrote: > > 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.
why? On 21.06.07 13:07, Felipe Sateler wrote: > 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) actually it will say something like root=302, which means that is was device with major 3 and minot 2 (/dev/hda2). But it's not the boot device... -- Matus UHLAR - fantomas, [EMAIL PROTECTED] ; http://www.fantomas.sk/ Warning: I wish NOT to receive e-mail advertising to this address. Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu. Honk if you love peace and quiet. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]