Bug 3158 - fdisk on arm
: fdisk on arm
Status: CLOSED FIXED
: Sisyphus
(All bugs in Sisyphus/util-linux)
: unstable
: all Linux
: P2 normal
Assigned To:
:
:
:
:
:
  Show dependency tree
 
Reported: 2003-10-14 18:12 by
Modified: 2005-09-04 21:49 (History)


Attachments
fdisk on arm fix (468 bytes, patch)
2003-10-14 18:13, Sergey Bolshakov
no flags Details | Diff


Note

You need to log in before you can comment on or make changes to this bug.


Description From 2003-10-14 18:12:06
fdisk -l on arm (armv5l at least) produces wrong output:
[root@iop root]# uname -a
Linux iop.belcaf.minsk.by 2.4.21 #4 Mon Oct 13 21:26:41 EEST 2003 armv5l unknown
unknown GNU/Linux
root@iop root]# fdisk -l /dev/sdb

Disk /dev/sdb: 18.3 GB, 18389272576 bytes
64 heads, 32 sectors/track, 17537 cylinders
Units = cylinders of 2048 * 512 = 1048576 bytes

   Device Boot    Start       End    Blocks   Id  System
/dev/sdb1             1       245    250864   82  Linux swap
/dev/sdb2           246      1223   1001472   83  Linux
/dev/sdb3          1224     17537  16705536   83  Linux
/dev/sdb4             1         1         0    0  Empty
Partition 4 does not end on cylinder boundary

note sdb4 entry, which is fake.
Attached patch seems fix this

Steps to Reproduce:
1. grab somewhere ALT on armv5l :)
2. and run fdisk :)
------- Comment #1 From 2003-10-14 18:13:53 -------
Created an attachment (id=295) [details]
fdisk on arm fix
------- Comment #2 From 2003-10-16 11:40:50 -------
Хотелось бы по подробнее узнать об этом патче.  
Кроме того как я понимаю он архитектурно зависимый и в spec-е должен 
накладываться только для архитертуры arm. Как правильно зовут эту архитектуру? 
------- Comment #3 From 2003-10-20 17:18:27 -------
Патч добавлен