From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 5437 invoked from network); 29 Apr 1998 17:54:05 -0000 Received: from mail11.digital.com (192.208.46.10) by mail2.redhat.com with SMTP; 29 Apr 1998 17:54:05 -0000 Received: from tparch.tay1.dec.com (tparch.tay1.dec.com [16.119.0.10]) by mail11.digital.com (8.8.8/8.8.8/WV1.0d) with SMTP id NAA19266 for ; Wed, 29 Apr 1998 13:53:53 -0400 (EDT) Received: from ives.amt.tay1.dec.com by tparch.tay1.dec.com (5.65/MS-010395) id AA10180; Wed, 29 Apr 1998 14:07:28 -0400 Received: from linux03.amt.tay1.dec.com by ives.amt.tay1.dec.com; (5.65v3.2/1.1.7.2/05Oct95-1258PM) id AA03814; Wed, 29 Apr 1998 13:53:21 -0400 Received: from linux03 (localhost [127.0.0.1]) by linux03.amt.tay1.dec.com (8.8.5/8.8.5) with ESMTP id NAA11910 for ; Wed, 29 Apr 1998 13:54:46 -0400 Message-Id: <199804291754.NAA11910@linux03.amt.tay1.dec.com> X-Mailer: exmh version 1.6.9 05/05/96 To: axp-list@redhat.com From: Jay.Estabrook@digital.com Subject: Re: more questions on fdisk (was minlabel on SRM) In-Reply-To: Your message of Wed, 29 Apr 1998 19:10:20 +0200. Mime-Version: 1.0 Content-Type: text/plain Date: Wed, 29 Apr 1998 13:54:46 +0500 Sender: jestabro@amt.tay1.dec.com >>> "Maciej W. Rozycki" said: > > I am not sure whether `fdisk' in BSD mode calls the 'ioctl' to inform the > kernel that the geometry of partitions changed (it calls it when in PC > mode). If your kernel doesn't output something like: > > Partition check: > sda: sda1 sda2 sda3 > > then `fdisk' does not perform the necessary step. You have to perform it > manually. The simpliest, though an ugly way is just to reboot the > machine. Actually, fdisk *does* make the correct ioctl to update the kernel's version of the partition tables. I found this out when using "minlabel" which does NOT make the correct ioctl call (or perhaps none). After finishing up with minlabel, I simply enter into fdisk's BSD option and tell it to write the label and exit. Works like a charm, for me, anyway... ;-} --Jay++ ------------------------------------------------------------------------------- American Non Sequitur Society: we don't make sense, but we do like pizza... Jay A Estabrook Alpha Migration Tools - LINUX Project Digital Equipment Corp. (978) 506-4202 or (DTN) 226-4202 151 Taylor Street - TAY1-2 enet: Jay.Estabrook@digital.com Littleton, MA 01460-1407 -------------------------------------------------------------------------------