New IT forum
12 August 2022, 03:58:42 pm *
Welcome, %1$s. Please login or register.

: GertDuino now in stock.
 
Pages: [1]

Author Topic: Device names  (Read 7828 times)

NewIT_Marcus

  • Hero Member
  • *****
  • Posts: 960
Device names
« on: 02 June 2010, 11:05:18 pm »

OK, belatedly, some quite basic stuff:

The eSATA slot is /dev/sda

The mini-SD card device is /dev/sdc

When there are no USB devices connected to the Guruplug, the first device connected (in either slot) becomes /dev/sdd. A second USB device becomes /dev/sde.

I haven't tested all possible combinations of having devices dis/connected, but this should be a start. On the Sheevaplug the (full size) SD card is /dev/mmcblk0 (and partitions are /dev/mmcblk0p1 and /dev/mmcblk0p2; on the Guruplug it's more conventional.
Logged

rmentjens

  • Newbie
  • *
  • Posts: 29
Re: Device names
« Reply #1 on: 05 June 2010, 06:45:47 pm »

Hey Markus.

Im not trying to be a wiseguy. (in fact i am very confused)

but df -h tells me:

sheevaplug-debian:~# df -h
Filesystem            Size  Used Avail Use% Mounted on
tmpfs                 251M     0  251M   0% /lib/init/rw
udev                   10M  724K  9.3M   8% /dev
tmpfs                 251M  4.0K  251M   1% /dev/shm
rootfs                463M  205M  258M  45% /
tmpfs                 251M     0  251M   0% /var/cache/apt
/dev/sdb1             7.5G   32K  7.5G   1% /media/usb0
sheevaplug-debian:~#


where my uSD card is /dev/sdb1
Logged

NewIT_Marcus

  • Hero Member
  • *****
  • Posts: 960
Re: Device names
« Reply #2 on: 05 June 2010, 07:45:19 pm »

Thanks for the info. Only time will tell what is predictable and stable with regard to device assignments.
Logged

varkey

  • Newbie
  • *
  • Posts: 15
Re: Device names
« Reply #3 on: 12 June 2010, 05:02:57 pm »

I noticed that if I connect my eSata disk after the Guruplug has booted, the disk is assigned /dev/sdc whereas if I connect the disk before switching on the device its assigned /dev/sda
Logged

punaniac

  • Newbie
  • *
  • Posts: 7
Re: Device names
« Reply #4 on: 30 June 2010, 11:06:19 am »

I have recently upgraded to kernel 2.6.34.

Now the µSD card always comes up as /dev/sdb, while the eSATA drive always gets assigned /dev/sdc. It doesn't matter if the eSATA drive is connected on boot or hot-plugged. I'm not using an initrd, though, which could probably change this behaviour.

best regards,
Andreas
Logged

mola

  • Newbie
  • *
  • Posts: 33
Re: Device names
« Reply #5 on: 25 July 2010, 07:02:56 pm »

I have recently upgraded to kernel 2.6.34.

Now the µSD card always comes up as /dev/sdb, while the eSATA drive always gets assigned /dev/sdc. It doesn't matter if the eSATA drive is connected on boot or hot-plugged. I'm not using an initrd, though, which could probably change this behaviour.

Hi,

same here with Kernel 2.6.33.2. Behaviour changed when I started to boot from a uSDHC card.
Booting from NAND: eSata=sda / uSDHC=sdc
Booting from uSDHC: eSata=sdc / uSDHC=sdb

Have not changed anything else, i.e. still running the same system, have just copied things to the uSDHC card and changed environment to boot from there.

Best
mola
Logged
Pages: [1]
 
 

Powered by MySQL Powered by PHP SMF 2.0.10 | SMF © 2015, Simple Machines Valid XHTML 1.0! Valid CSS!