Friday, November 25

Where has root gone?

You may of noticed you can no longer check which physical drive root is mounted on via "mount"

tim.bowers@localhost ~ $ mount
rootfs on / type rootfs (rw)
/dev/root on / type ext3 (rw,noatime,errors=continue,barrier=0,data=writeback)
proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
Herpa derpa!

So.... how do we now check where / is mounted? We could check fstab....

cat /etc/fstab
 ...some stuff...

/dev/sda3        /        ext3        noatime        0 1
But I'm not sure /etc/fstab is always readable.... another way is :

tim.bowers@localhost ~ $  ls -ilah /dev/root
1744 lrwxrwxrwx 1 root root 4 Oct 21 08:50 /dev/root -> sda3

Enjoy!

Sunday, November 6

Firefox changing h in address bar into w

In one of the most stupid changes ever firefox devs decided that the http:// prefix shouldn't exist, and so you shouldn't be able to type it either.

In firefox 7 if you type a h into the address bar, it presumes you don't understand you don't need the http:// prefix and instead changes your h into a w, as if you were about to type "www".... Now, I'm not even going to go into why this is broken as you need a seperate DNS record (or catch all) for the www. prefix anyway....

To turn it off this stupid behaviour :

about:config
search for 'browser.urlbar.trimURLs'
Change to false.

Done.

Note: You MAY want to see the http prefix, because if its http and not https as you were expecting, this is the first sign something may of gone wrong.

Search This Blog