View Single Post
debernardis's Avatar
Posts: 2,142 | Thanked: 2,054 times | Joined on Dec 2006 @ Sicily
#224
While MohammadAG perfects his hostmode gui, the command fdisk might be useful to see the available devices to mount (at present, only /dev/sda1 gets mounted by the gui). Since fdisk is not part of any maemo5 package, I copied the easy debian one from /sbin/fdisk of the debian partition to /sbin/fdisk of the maemo rootfs. It seems to work as expected:
Code:
BusyBox v1.10.2 (Debian 3:1.10.2.legal-1osso30+0m5) built-in shell (ash)
Enter 'help' for a list of built-in commands.

~ $ sudo fdisk -l

Disk /dev/mmcblk1: 16.0 GB, 16039018496 bytes
255 heads, 63 sectors/track, 1949 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x000b276e

        Device Boot      Start         End      Blocks   Id  System
/dev/mmcblk1p1               1        1950    15663072+   c  W95 FAT32 (LBA)

Disk /dev/mmcblk0: 32.0 GB, 32015122432 bytes
4 heads, 16 sectors/track, 977024 cylinders
Units = cylinders of 64 * 512 = 32768 bytes
Disk identifier: 0x00000000

        Device Boot      Start         End      Blocks   Id  System
/dev/mmcblk0p1               2      884865    28315648    c  W95 FAT32 (LBA)
/dev/mmcblk0p2          884866      950401     2097152   83  Linux
/dev/mmcblk0p3          950402      974977      786432   82  Linux swap / Solaris
Seems I were wrong?? Is fdisk already part of maemo?

Last edited by debernardis; 2010-11-11 at 08:18.
 

The Following User Says Thank You to debernardis For This Useful Post: