If partprobe does not find a partition table, it refuses to act but does not report an error
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
parted (Ubuntu) |
Fix Released
|
Low
|
Unassigned |
Bug Description
I ran shred on a hard drive (/dev/sdd) and then tried to run partprobe to make the device node for its sole partition disappear (/dev/sdd1). It was not mounted at the time. partprobe claimed to succeed, but in fact it did nothing. Running "blockdev --rereadpt /dev/sdd" worked.
$ sudo partprobe
$ ls /dev/sdd*
/dev/sdd /dev/sdd1
$ sudo partprobe /dev/sdd
$ ls /dev/sdd*
/dev/sdd /dev/sdd1
$ sudo blockdev --rereadpt /dev/sdd
$ ls /dev/sdd*
/dev/sdd
$
ProblemType: Bug
DistroRelease: Ubuntu 12.10
Package: parted 2.3-10ubuntu2
ProcVersionSign
Uname: Linux 3.5.0-21-generic x86_64
NonfreeKernelMo
ApportVersion: 2.6.1-0ubuntu9
Architecture: amd64
Date: Thu Jan 24 22:08:03 2013
MarkForUpload: True
ProcEnviron:
TERM=xterm
PATH=(custom, no user)
XDG_RUNTIME_
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: parted
UpgradeStatus: Upgraded to quantal on 2012-10-28 (88 days ago)
Changed in parted (Ubuntu): | |
importance: | Undecided → Low |
status: | New → Triaged |
I am unable to reproduce this. How did you remove the partition from the drive in the first place, and what partition table is it using?