Busybox fdisk problems
Denys Vlasenko
vda.linux at googlemail.com
Wed Apr 16 23:47:49 UTC 2008
On Wednesday 16 April 2008 18:53, Neeraj Vaidya wrote:
> Attached is the config file (I've renamed it to busybox_config)
Built busybox with it. Works for me:
# ./busybox fdisk -l
Disk /dev/sda: 300.0 GB, 300069052416 bytes
255 heads, 63 sectors/track, 36481 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sda1 1 851 6835626 b Win95 FAT32
/dev/sda2 * 852 36481 286197975 5 Extended
/dev/sda5 852 973 979933+ 83 Linux
/dev/sda6 974 2918 15623181 83 Linux
/dev/sda7 2919 15076 97659103+ 83 Linux
/dev/sda8 15077 36481 171935631 83 Linux
strace shows:
open("/proc/partitions", O_RDONLY|O_LARGEFILE) = 3
ioctl(3, SNDCTL_TMR_TIMEBASE or TCGETS, 0xffed1cf4) = -1 ENOTTY (Inappropriate ioctl for device)
brk(0x80ff000) = 0x80ff000
read(3, "major minor #blocks name\n\n 1"..., 1024) = 654
open("/dev/sda", O_RDONLY|O_LARGEFILE) = 5
Does it work for you on the desktop machine?
Can you post the result of "cat /proc/partitions"?
--
vda
More information about the busybox
mailing list