lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Tue, 15 Jan 2008 17:43:05 +0100 (CET)
From:	Jan Engelhardt <jengelh@...putergmbh.de>
To:	"Robert P. J. Day" <rpjday@...shcourse.ca>
cc:	Dagfinn Ilmari Mannsåker <ilmari@...ari.org>,
	Gene Heskett <gene.heskett@...il.com>,
	linux-kernel@...r.kernel.org
Subject: Re: Possibly silly Q?


On Jan 14 2008 15:53, Robert P. J. Day wrote:
>>
>> fdisk or similar should have issued an ioctl to reread the partition
>> table after writing the new one, but you can do it manually with
>> 'blockdev --rereadpt <device>'.
>
>i remember bringing up this very issue quite some time ago and, IIRC,
>the consensus was that *primary* partition changes would be re-read by
>the kernel, but not *logical* partition changes.  or something sort of
>like that.

Nah, it dumps the whole partition structure.
Note in fs/partition/check.c:rescan_partitions:

	for (p = 1; p < disk->minors; p++)
		delete_partition(disk, p);
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ