Comment 19 for bug 499237

Revision history for this message
Orson Jones (orson-launchpad) wrote :

$ mount
/dev/sdb1 on / type ext4 (rw,errors=remount-ro)
proc on /proc type proc (rw,noexec,nosuid,nodev)
none on /sys type sysfs (rw,noexec,nosuid,nodev)
none on /sys/fs/fuse/connections type fusectl (rw)
none on /sys/kernel/debug type debugfs (rw)
none on /sys/kernel/security type securityfs (rw)
none on /dev type devtmpfs (rw,mode=0755)
none on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=0620)
none on /dev/shm type tmpfs (rw,nosuid,nodev)
none on /var/run type tmpfs (rw,nosuid,mode=0755)
none on /var/lock type tmpfs (rw,noexec,nosuid,nodev)
none on /lib/init/rw type tmpfs (rw,nosuid,mode=0755)
binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,noexec,nosuid,nodev)
gvfs-fuse-daemon on /home/orson/.gvfs type fuse.gvfs-fuse-daemon (rw,nosuid,nodev,user=orson)
$ cat /sys/block/sdb/queue/rotational
0

It looks like it doesn't work when using usb. I tried it on a regular internal drive and I can force it to do either ssd or spinning style boot using the pre-start script.

Also, how would you do debugging during the pre-start script? I tried echoing some stuff to a temp file, but it caused ureadahead to not start.