* Re: more questions on fdisk (was minlabel on SRM)
1998-04-29 17:10 ` Maciej W. Rozycki
@ 1998-04-29 8:54 ` Jay.Estabrook
0 siblings, 0 replies; 5+ messages in thread
From: Jay.Estabrook @ 1998-04-29 8:54 UTC (permalink / raw)
To: axp-list
>>> "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
-------------------------------------------------------------------------------
^ permalink raw reply [flat|nested] 5+ messages in thread
* 2.5" SCSI drives found
@ 1998-04-29 10:03 David Gilbert
1998-04-29 10:52 ` Paul Wouters
0 siblings, 1 reply; 5+ messages in thread
From: David Gilbert @ 1998-04-29 10:03 UTC (permalink / raw)
To: axp-list
Hi,
I received a catalogue this morning from CPC Plc here
in the UK; I thought any UDB owners might be interested
in the 2.5" 120MB IBM SCSI drives they have (while stocks last) for
#29.99 (UK pounds) - UK phone number is 01772 654455
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: 2.5" SCSI drives found
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
0 siblings, 1 reply; 5+ messages in thread
From: Paul Wouters @ 1998-04-29 10:52 UTC (permalink / raw)
To: axp-list
On Wed, 29 Apr 1998, David Gilbert wrote:
> I received a catalogue this morning from CPC Plc here
> in the UK; I thought any UDB owners might be interested
> in the 2.5" 120MB IBM SCSI drives they have (while stocks last) for
> #29.99 (UK pounds) - UK phone number is 01772 654455
for a fairly limitd working redhat install including X I need about
325MB (not selecting things I want cause my disk is only 350MB).
so, I don't think 120MB disks are interesting for udb people.
Paul
Ps. don't feel sorry for me, I do have a SCSI cabinet connected to the UDB
with plently of space, but I like those disks to be optionally mounted
so I can bring along my udb to other places and still boot it.
^ permalink raw reply [flat|nested] 5+ messages in thread
* more questions on fdisk (was minlabel on SRM)
1998-04-29 10:52 ` Paul Wouters
@ 1998-04-29 11:52 ` Dan Roscigno
1998-04-29 17:10 ` Maciej W. Rozycki
0 siblings, 1 reply; 5+ messages in thread
From: Dan Roscigno @ 1998-04-29 11:52 UTC (permalink / raw)
To: axp-list
Thanks for your help with using fdisk and the "b" command to
edit the BSD label. Now that I have my partition setup I
need to run mkfs. If I don't specify the number of 512K
blocks only one block is used on the partition. This is an
18 gig drive, with 35million 512 byte sectors. To get 512K
blocks do I take that number and divide by 1024?
Thanks! I will summarize this info later and hopefully it
will make it into the man page for fdisk.
Dan
---------------------------------------------------------
Dan Roscigno ddr@phys.ufl.edu (352)392-4028
Physics Dept. University of Florida 2122 New Physics Building
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: more questions on fdisk (was minlabel on SRM)
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
0 siblings, 1 reply; 5+ messages in thread
From: Maciej W. Rozycki @ 1998-04-29 17:10 UTC (permalink / raw)
To: axp-list
On Wed, 29 Apr 1998, Dan Roscigno wrote:
> Thanks for your help with using fdisk and the "b" command to
> edit the BSD label. Now that I have my partition setup I
> need to run mkfs. If I don't specify the number of 512K
> blocks only one block is used on the partition. This is an
> 18 gig drive, with 35million 512 byte sectors. To get 512K
> blocks do I take that number and divide by 1024?
I used to run `mke2fs' directly without running the `mkfs' wrapper and it
always got the partition size via an appropriate 'ioctl' from the kernel.
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.
--
+ Maciej W. Rozycki, Technical University of Gdansk, Poland +
+--------------------------------------------------------------+
+ e-mail: macro@ds2.pg.gda.pl, PGP key available +
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~1998-04-29 17:54 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox