# Cn9130 : about the media used

**URL:** https://community.solid-run.com/t/cn9130-about-the-media-used/562
**Category:** OCTEON CN9130
**Created:** [January 20, 2023, 6:19pm UTC](https://community.solid-run.com/t/cn9130-about-the-media-used/562 "2023-01-20T18:19:48Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![doudootiana](https://avatars.discourse-cdn.com/v4/letter/d/5f8ce5/32.png) [@doudootiana](https://community.solid-run.com/u/doudootiana)
#### Post date: [January 20, 2023, 6:19pm UTC](https://community.solid-run.com/t/cn9130-about-the-media-used/562/1 "2023-01-20T18:19:48Z")

</div>

Hy 🙂

For my porject, i select to boot on SD card or emmc thanks to the u-boot.

But when Linux was loaded, i need to know if i use the SD card or the Emmc.

In the dmesg, i see this :

```auto
[5.212397] Run /init as init process
[5.216077] with arguments:
[5.219087] /init
[5.221407] with environment:
[5.221560] mmc1: new high speed SDHC card at address 0001
[5.224588] HOME=/
[5.230483] mmcblk1: mmc1:0001 00000 29.8 GiB
[5.232483] TERM=linux
[5.238196] mmcblk1: p1 p2 p3
[5.239653] board=pro
[7.280315] random: crng init done

```

Can i recover this information with a command line?

Actually, to know where i am, i do this :

-Create a folderwithe a command line in uboot  
-In bash script : look for this folder in sd card and emmc.

Thanks by advance 🙂

---

<div class="post-metadata">

### Author: ![jnettlet](https://dub1.discourse-cdn.com/flex005/user_avatar/community.solid-run.com/jnettlet/32/62_2.png) [@jnettlet](https://community.solid-run.com/u/jnettlet)
#### Post date: [January 21, 2023, 5:57am UTC](https://community.solid-run.com/t/cn9130-about-the-media-used/562/2 "2023-01-21T05:57:14Z")

</div>

do you need to know which device you booted the bootloader from, or which device your Linux system is booted from? For instance, you can boot the u-boot firmware from uSDHC but still run Linux from the eMMC depending on your settings in u-boot.

If it is the latter then you can use the `lsblock -l` to see what devices are used.
