Subject: Reloading partition table?
To: NetBSD Mailing List <port-mac68k@netbsd.org>
From: David A. Gatwood <marsmail@globegate.utm.edu>
List: port-mac68k
Date: 08/14/1998 21:58:53
Is there a convenient ioctl or something under NetBSD (mac68k) to cause it
to reload its notion of the partition table (fake geometry, whatever)? I
just took a look at my pdisk mods and noted that I'd #ifdef'ed out the
code to do that under linuxppc/MkLinux without replacing it with anything
equivalent. Without that, I would expect new partitions not to show
up without a reboot, unless the NetBSD kernel regenerates its fake
disklabel every time the disklabel is read.... (Does it?) Ideas?
Later,
David
David A. Gatwood Visit globegate's internet
dgatwood@globegate.utm.edu talker, Deep Space 36
http://globegate.utm.edu telnet globegate.utm.edu:9624
-----BEGIN GEEK CODE BLOCK-----
Version 3.1
GCS/CC/FA/H/L/MC/M/MU/PA/TW d-@ s:>- a-- C++ ++>$ UBLAS*++ ++>$
P+?>$ L++ +>$ !E--- W++ +>$ N++(++ +)>++ +$ !o? K-? !w--- !O
M++>$ !V-- PS+>$ !PE- Y+>$ PGP+>$ t++ +>$ 5+>++ ++$ !X- !R tv+>$
b++>$ !DI !D- G++(++ +)>$ e>++ ++ h--! r--- !y-
------END GEEK CODE BLOCK------