From: Jay.Estabrook@digital.com
To: axp-list@redhat.com
Subject: Re: more questions on fdisk (was minlabel on SRM)
Date: Wed, 29 Apr 1998 13:54:46 +0500 [thread overview]
Message-ID: <199804291754.NAA11910@linux03.amt.tay1.dec.com> (raw)
In-Reply-To: Your message of Wed, 29 Apr 1998 19:10:20 +0200. <Pine.GSO.3.96.980429185820.14016A-100000@delta.ds2.pg.gda.pl>
>>> "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
-------------------------------------------------------------------------------
prev parent reply other threads:[~1998-04-29 17:54 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
1998-04-29 10:03 2.5" SCSI drives found David Gilbert
1998-04-29 10:52 ` Paul Wouters
1998-04-29 11:52 ` more questions on fdisk (was minlabel on SRM) Dan Roscigno
1998-04-29 17:10 ` Maciej W. Rozycki
1998-04-29 8:54 ` Jay.Estabrook [this message]
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox