LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Fdisk -l dosen't list partitions (https://www.linuxquestions.org/questions/linux-general-1/fdisk-l-dosent-list-partitions-404565/)

zael 01-17-2006 02:36 PM

Fdisk -l dosen't list partitions
 
When i boot my livecd on a computer using the cciss module. I type fdisk -l at the shell prompt but it doesn't output anything. I thought it would list whatver is in /proc/partitions. If i cat this file the information displays about my disk if i manualy fdisk -l /dev/cciss/c0d0 it will work. Any ideas why fdisk -l doesnt work?

Thanks!

haertig 01-17-2006 02:45 PM

Quote:

Originally Posted by zael
When i boot my livecd on a computer using the cciss module. I type fdisk -l at the shell prompt but it doesn"'t output anything.

You're running the command as root, right? If you're not root "fdisk -l will do exactly what you describe ... nothing.

zael 01-18-2006 07:39 AM

I had to update util-linux package. Then everything worked great.


All times are GMT -5. The time now is 11:31 PM.