Pandu Poluan wrote:


On Sep 16, 2011 9:11 AM, "Dale" <rdalek1...@gmail.com <mailto:rdalek1...@gmail.com>> wrote:
>

> Now usually when I boot into a dual OS, I go to a console and type in mount and make certain of what drive / is mounted too. Example for this, if mounted to sda* then it is my main OS and if mounted to sdb* then it is my test install. How does one decipher that up there? Heck, root could be mounted on anything right now. I'm not going to remove any partitions right now. I could be running off sdb and not even know it. o_O
>

Try 'realname /dev/root'. Or realpath, I forgot which exactly.

Heck, just do 'ls -la /dev/root' :-)

It's a symlink to the actual dev

Rgds,


Dead on the mark:

root@fireball / # realpath /dev/root
/dev/sda3
root@fireball / # ls -la /dev/root
lrwxrwxrwx 1 root root 4 Sep  2 09:11 /dev/root -> sda3
root@fireball / #

Thanks.  It is sda.  Whew !!

Dale

:-)  :-)

Reply via email to