java
Posts: 226
Joined: Mon Jul 21, 2014 9:41 am

USB Memory Stick - /dev/ vs uuid

Thu Mar 31, 2016 11:40 am

Running Wheezy on a RPi B, with a 2 amp power supply, 2x 32 Gig. USB SANDISK memory sticks.

Running headless:

The first memory stick ( /dev/sda1 ) is mounted using UUID, system boots quickly. Add second identical memory stick, ( /dev/sdb1 ), mounted this stick using /dev/sdb1 in fstab and have very little difference in boot time. Changing /dev/sdb1 to the UUID of this device easily adds 40 seconds to the boot time. This is not critical, but I am curious, why the difference?

User avatar
topguy
Posts: 6642
Joined: Tue Oct 09, 2012 11:46 am
Location: Trondheim, Norway

Re: USB Memory Stick - /dev/ vs uuid

Thu Mar 31, 2016 11:46 am

Compare output of "dmesg" (and/or "/var/log/messages" "/var/log/syslog") after boot of both methods, you might be able to see where the time goes.

java
Posts: 226
Joined: Mon Jul 21, 2014 9:41 am

Re: USB Memory Stick - /dev/ vs uuid

Thu Mar 31, 2016 3:02 pm

Thanks, will do that, tho I do not expect any suprises.

Return to “Beginners”