Access to Linux (ext3) & Windows (FAT32) partitions (from Ubuntu 9.04)
Jay Mistry
jaylinux53 at gmail.com
Mon Aug 10 11:50:03 UTC 2009
>
> >> Another problem is that the 'fdisk -l' command returns no result
> >> (either as normal user or root user).
> >>
> > Odd. Does it return a non-zero value to the shell? Check with the
> > command sequence
> > fdisk -l;echo $?
> >
> > (I get a return value of 0, even after fdisk complains about /dev/md*
> > not containing valid partition table, while reporting both physical
> > disks, all the RAID metadevices, and detail of a USB key that is
> > attached to the PC)
>
> Here is what I get:
>
> for: fdisk -l;echo $?
>
> jaymist at LinuxUbuntu:~$ fdisk -l;echo $?
>> 0
>> jaymist at LinuxUbuntu:~$
>
>
> for: fdisk -l (nil output)
>
> jaymist at LinuxUbuntu:~$ fdisk -l
>> jaymist at LinuxUbuntu:~$
>
>
> 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.
> (Pict of the packages w/ fdisk is here:
> http://www.imagebam.com/image/6e9af244912194)
>
> Thanks,
>
> Jay
>
I came across a similar bug at launchpad.net (for Ubuntu Linux) -
https://bugs.launchpad.net/ubuntu/+source/util-linux/+bug/73811. No solution
is mentioned though.
That page mentions
> From the fdisk man page:
>
> " -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."
>
I checked my /proc/partitions and it returns a 0 byte blank file.
Jay
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20090810/8ae991e2/attachment.html>
More information about the ubuntu-users
mailing list