In writing a bash script to mount and synchronize a USB flash drive to my desktop and my netbook, I've run across the following curiosity. Both desktop and netbook run Kubuntu 8.04.3. On the desktop, running
in Konsole returns a complete list of hard drive partitions and the attached USB device. On the netbook, the same command returns nothing. Only
returns the list of partitions. It's not a big deal: I just have to enter my password when running the script on the netbook. But I'd like to know why the same command works without sudo on one machine and not on the other, when they have identical operating systems (kernels are the same, etc.). Could fdisk be hardware dependent? Any ideas?
Code:
fdisk -l
Code:
sudo fdisk -l
Comment