<div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="im">>> Another problem is that the 'fdisk -l' command returns no result<br>
>> (either as normal user or root user).<br>>><br>> Odd. Does it return a non-zero value to the shell? Check with the<br>
> command sequence<br>> fdisk -l;echo $?<br>><br>> (I get a return value of 0, even after fdisk complains about /dev/md*<br>> not containing valid partition table, while reporting both physical<br>> disks, all the RAID metadevices, and detail of a USB key that is<br>
> attached to the PC)<br><br></div>Here is what I get:<br><br>for: fdisk -l;echo $?<br><br><blockquote style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;" class="gmail_quote">
jaymist@LinuxUbuntu:~$ fdisk -l;echo $?<br>
0<br>jaymist@LinuxUbuntu:~$ </blockquote><div><br>for: fdisk -l (nil output)<br><br><blockquote style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;" class="gmail_quote">jaymist@LinuxUbuntu:~$ fdisk -l<br>
jaymist@LinuxUbuntu:~$ </blockquote><div><br>AFAIK 'fdisk' should be part of the default bash shell commands. I alos tried looking into the Package Manager for fdisk related packages & installed them. But this also doesnt work. <br>
(Pict of the packages w/ fdisk is here: <a href="http://www.imagebam.com/image/6e9af244912194" target="_blank">http://www.imagebam.com/image/6e9af244912194</a>)<br><br>Thanks,<br><br>Jay</div></div></blockquote><div><br>
I came across a similar bug at <a href="http://launchpad.net">launchpad.net</a> (for Ubuntu Linux) - <a href="https://bugs.launchpad.net/ubuntu/+source/util-linux/+bug/73811">https://bugs.launchpad.net/ubuntu/+source/util-linux/+bug/73811</a>. No solution is mentioned though.<br>
That page mentions<br><blockquote style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;" class="gmail_quote"><p>From the fdisk man page:</p><p>" -l List the partition tables for the specified devices and then
exit. If no devices are given, those mentioned in /proc/partitions (if
that exists) are used."</p></blockquote>
I checked my /proc/partitions and it returns a 0 byte blank file.<br><br>Jay<br></div></div><br>