LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   how will unformatted disk be shown in cat /proc/partitions ? (https://www.linuxquestions.org/questions/linux-hardware-18/how-will-unformatted-disk-be-shown-in-cat-proc-partitions-719809/)

rolverm 04-17-2009 06:31 AM

how will unformatted disk be shown in cat /proc/partitions ?
 
Hi
Will the unformatted disk be shown in command /proc/partitioned?
I tried putting un-partitioned disk it is shown in the command.
But i have no idea on how will it be shown in case of unformatted disk.

Any pointers toward answer will be of real help and are awaited.
Thanks in advance.

David the H. 04-17-2009 08:43 AM

Chances are the device name will appear, but there won't be any corresponding partition numbers. i.e. sdb will show up, but no sdb1, sdb2, etc. I don't know for sure though, 'cause I've never tried it myself.

You can use fdisk -l to list all of your available devices and partitions in more detail.


All times are GMT -5. The time now is 08:07 AM.