The programs fdisk and sfdisk need to be run by root. If you want to see the partition info as a regular user, try the command:
Code:
cat /proc/partitions
In Redhat/Fedora, you can see a lot of useful hardware information from the command:
Code:
cat /etc/sysconfig/hwconf
Also, Redhat/Fedora earlier versions have a utility called:
/sbin/ide_info .
That doesn't seem to exist in later versions and you may get somewhere with hdparm but, be careful with that command.
And finally, there are bucket loads of information to be had from the commands
Code:
dmidecode ## http://www.nongnu.org/dmidecode/
scanpci
lspci
lsmod ## list installed modules
cat /proc/interrupts
dmesg