[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#186288: di-utils-partitioner: partitioner fails if disk already in use



On Tue, Mar 25, 2003 at 09:56:52PM +0000, Alastair McKinstry wrote:
> You can't go back and use the partitioner if the disk is already 
> in use in some way: fails to write to disk.

should only happen on ide disks, isn't it?
Did you mean the following error message from fdisk?

	WARNING: Re-reading the partition table failed with error 16: Device or
	resource busy.
	The kernel still uses the old table.
	The new table will be used at the next reboot.
	Syncing disks.


> e.g. if we create and mount swap space, then go back to create/edit
> an unrelated partition, leaving fdisk it fails.
> We need to handle this in some way (just warn / explain to user?)

yes, of course. We need a lot of more user-friendly error messages. But
it's very hard to capture the output from the userland binaries and
print a good and detailed error message (with extactly the happend
problem) to the user.


Thanks
Thorsten

-- 
Thorsten Sauter
<tsauter@gmx.net>

				(Is there life after /sbin/halt -p?)

Attachment: pgp5u0nfBpigK.pgp
Description: PGP signature


Reply to: