partition table rereading

Lenart Gabor (lgb@oxygene.terra.vein.hu)
Fri, 2 Apr 1999 12:23:34 +0200


Hi !

Nowdays I must move,delete,add etc some of my partitions.
Using fdisk with Linux gives for 'w' command :

Command (m for help): w
The partition table has been altered!

Calling ioctl() to re-read partition table.
Syncing disks.
Re-read table failed with error 16: Device or resource busy.
Reboot your system to ensure the partition table is updated.

ANd because of the 'device or resource busy' Linux don't see any of
my new and modified partitions because it could not reread the partition
table. (I can mount my partition which was deleted with fdisk etc)
This is ugly because I must reboot my Linux server four times to
do my job ;-( Why can't Linux reread partition table if modified partitions
was not mounted ?

As far as I remember I hadn't problem with older 2.2.x kernels, but
with 2.2.5 I must reboot every time :(

Thanks : Gabor,

-- 

---[ LGB/DC ]------------[ University Of Veszprém ]------[ Lénárt Gábor ]--- "The truth is out there" "We're l{ea,i}ving together" "The future is dark." ---[ 88/422022(4602) ]---[ http://lgb.hal.vein.hu ]---------[ 87/477074 ]---

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/