l-m-c should umount partitions before making filesystems
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Linaro Image Tools |
Fix Released
|
High
|
Guilherme Salgado |
Bug Description
Cleaning up ...Done
Checking that no-one is using this disk right now ...
OK
Disk /dev/sdh: 1022 cylinders, 255 heads, 63 sectors/track
Old situation:
Units = cylinders of 8225280 bytes, blocks of 1024 bytes, counting from 0
Device Boot Start End #cyls #blocks Id System
/dev/sdh1 0 - 0 0 0 Empty
/dev/sdh2 0 - 0 0 0 Empty
/dev/sdh3 0 - 0 0 0 Empty
/dev/sdh4 0 - 0 0 0 Empty
New situation:
Units = cylinders of 8225280 bytes, blocks of 1024 bytes, counting from 0
Device Boot Start End #cyls #blocks Id System
/dev/sdh1 * 0+ 8 9- 72261 c W95 FAT32 (LBA)
/dev/sdh2 9 492 484 3887730 83 Linux
/dev/sdh3 0 - 0 0 0 Empty
/dev/sdh4 0 - 0 0 0 Empty
Successfully wrote the new partition table
Re-reading the partition table ...
If you created or changed a DOS partition, /dev/foo7, say, then use dd(1)
to zero the first 512 bytes: dd if=/dev/zero of=/dev/foo7 bs=512 count=1
(See fdisk(8).)
waiting for partitioning to settle ...done.
Formating Boot Partition
mkfs.vfat 3.0.9 (31 Jan 2010)
Formating ext4 Partition
mke2fs 1.41.12 (17-May-2010)
/dev/sdh2 is mounted; will not make a filesystem here!
./linaro-
Performing cleanup...
Umounting Partitions
And nothing gets done cause automounter kicked in and mounted /dev/sdh2 in meantime...
Related branches
- James Westby (community): Needs Information
-
Diff: 161 lines (+62/-13)2 files modifiedmedia_create/partitions.py (+34/-7)
media_create/tests/test_media_create.py (+28/-6)
Changed in linaro-image-tools: | |
status: | New → Triaged |
importance: | Undecided → Medium |
Changed in linaro-image-tools: | |
assignee: | nobody → Guilherme Salgado (salgado) |
importance: | Medium → High |
Changed in linaro-image-tools: | |
status: | Triaged → In Progress |
Changed in linaro-image-tools: | |
status: | In Progress → Fix Released |