Misdetects SWAP partition as FAT partition and mounts it rw

Bug #14769 reported by Lionel Elie Mamane on 2005-03-31
Affects Status Importance Assigned to Milestone
ubuntu-meta (Ubuntu)
Matt Zimmerman

Bug Description

Warty LiveCD, i386:

warty@ubuntu:~ $ sudo fdisk -l /dev/sda
This disk has both DOS and BSD magic.
Give the 'b' command to go to BSD mode.

Disk /dev/sda: 1080 MB, 1080735744 bytes
255 heads, 63 sectors/track, 131 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot Start End Blocks Id System
/dev/sda1 * 1 131 1052226 82 Linux swap
warty@ubuntu:~ $ grep -A1 -B1 sda /etc/fstab
/dev/sda1 /mnt/sda1 vfat noauto,users,exec,umask=000,uid=warty 0 0
/dev/sda1 /mnt/sda1 auto noauto,users,exec,umask=000,uid=warty 0 0

(The first occurrence is preceded by a comment "Added by Morphix", the second not.)

The only reason this would not lead to data loss is that the partition is swap
and not ext3/xfs/whatever. If it happens with another partition type, severity
should be critical.

Matt Zimmerman (mdz) wrote :

The Hoary live CD doesn't attempt to automatically mount partitions, so this is
no longer a problem.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.