Bug 3158 - fdisk on arm
Summary: fdisk on arm
Status: CLOSED FIXED
Alias: None
Product: Sisyphus
Classification: Development
Component: util-linux (show other bugs)
Version: unstable
Hardware: all Linux
: P2 normal
Assignee: inger@altlinux.org
QA Contact: qa-sisyphus
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-10-14 18:12 MSD by Sergey Bolshakov
Modified: 2005-09-04 21:49 MSD (History)
5 users (show)

See Also:


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

Note You need to log in before you can comment on or make changes to this bug.
Description Sergey Bolshakov 2003-10-14 18:12:06 MSD
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 Sergey Bolshakov 2003-10-14 18:13:53 MSD
Created attachment 295 [details]
fdisk on arm fix
Comment 2 inger@altlinux.org 2003-10-16 11:40:50 MSD
Хотелось бы по подробнее узнать об этом патче.  
Кроме того как я понимаю он архитектурно зависимый и в spec-е должен 
накладываться только для архитертуры arm. Как правильно зовут эту архитектуру? 
 
Comment 3 inger@altlinux.org 2003-10-20 17:18:27 MSD
Патч добавлен