New IT forum Follow us on Twitter
04 February 2012, 03:26:35 pm *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: EFIKA MX reviewed in Linux User & Developer issue 104
 
   Home   SHOP Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Device names  (Read 1600 times)
NewIT_Marcus
Administrator
Hero Member
*****
Posts: 960


« 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: 23


« 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
Administrator
Hero Member
*****
Posts: 960


« 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


« 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


« 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


« 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]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!