[Parted-maintainers] Bug#299906: parted: mistakes ext2 for fat

A Mennucc mennucc1@debian.org, 299906@bugs.debian.org
Thu, 17 Mar 2005 10:36:07 +0100


--MGYHOYXEY6WxJCY8
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Package: parted
Version: 1.6.21-1
Severity: important

hi

I have a USB memory stick; I have created one partition on it;
the current layout is=20

# fdisk -l /dev/sda
Disk /dev/sda: 130 MB, 130809856 bytes
5 heads, 50 sectors/track, 1021 cylinders
Units =3D cylinders of 250 * 512 =3D 128000 bytes
   Device Boot      Start         End      Blocks   Id  System
/dev/sda1               1        1021      127600   83  Linux

I wanted to use parted to resize my partition
(to make room for a second crypto partition )=20
But if I try to use parted on it, I get

# parted /dev/sda
GNU Parted 1.6.21 with HFS shrink patch 16
=2E...
Using /dev/sda
(parted) print
Disk geometry for /dev/sda: 0.000-124.750 megabytes
Disk label type: loop
Minor    Start       End     Filesystem  Flags
1          0.000    124.750  fat16
(parted)

This is very dangerous

a.


-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (650, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.8-2-k7
Locale: LANG=3DC, LC_CTYPE=3DC (charmap=3DANSI_X3.4-1968)

Versions of packages parted depends on:
ii  libc6                       2.3.2.ds1-20 GNU C Library: Shared librarie=
s an
ii  libncurses5                 5.4-4        Shared libraries for terminal =
hand
ii  libparted1.6-12             1.6.21-1     The GNU Parted disk partitioni=
ng s
ii  libreadline4                4.3-11       GNU readline and history libra=
ries

-- no debconf information

--=20
Andrea Mennucc
 "E' un mondo difficile. Che vita intensa!" (Tonino Carotone)

--MGYHOYXEY6WxJCY8
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)

iD8DBQFCOU+H9B/tjjP8QKQRAmIXAJ4p7ZVnJhedm4Je4yf/KV9LQ5bQQwCfWYnH
jDxoZzBIDDJwBbREZ5bZtL0=
=DmKX
-----END PGP SIGNATURE-----

--MGYHOYXEY6WxJCY8--