Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I forget whether I have mounted / and /boot to the same partition in my ubuntu 10.04. What command can I use to check it out? Thank you very much!

share|improve this question
add comment

2 Answers 2

up vote 1 down vote accepted

Try df. It will give you the free space per partition and also its mount point.

share|improve this answer
    
Thank you very much! That's what I want! –  gaoshougaoshou Nov 18 '12 at 7:14
add comment

Use the mount command itself. You can pipe through grep to de-clutter if necessary:

me@banshee:~$ mount | egrep 'on /(boot)? '
/dev/mapper/banshee-root on / type ext4 (rw,errors=remount-ro)
/dev/sdc1 on /boot type ext2 (rw)
share|improve this answer
    
Thank you! This also works! –  gaoshougaoshou Nov 18 '12 at 7:17
    
You're welcome - please mark the question as "answered" by accepting whichever of the two answers you preferred. :) –  Jim Salter Nov 18 '12 at 17:48
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.