From owner-freebsd-libh Tue Oct 9 23:47:59 2001 Delivered-To: freebsd-libh@freebsd.org Received: from tomts16-srv.bellnexxia.net (tomts16.bellnexxia.net [209.226.175.4]) by hub.freebsd.org (Postfix) with ESMTP id D65A637B405 for ; Tue, 9 Oct 2001 23:47:54 -0700 (PDT) Received: from khan.anarcat.dyndns.org ([65.94.128.156]) by tomts16-srv.bellnexxia.net (InterMail vM.4.01.03.16 201-229-121-116-20010115) with ESMTP id <20011010064753.IZXL8090.tomts16-srv.bellnexxia.net@khan.anarcat.dyndns.org> for ; Wed, 10 Oct 2001 02:47:53 -0400 Received: from shall.anarcat.dyndns.org (shall.anarcat.dyndns.org [192.168.0.1]) by khan.anarcat.dyndns.org (Postfix) with ESMTP id CADCB1A07 for ; Wed, 10 Oct 2001 02:47:49 -0400 (EDT) Received: by shall.anarcat.dyndns.org (Postfix, from userid 1000) id 83C2420C07; Wed, 10 Oct 2001 02:48:00 -0400 (EDT) Date: Wed, 10 Oct 2001 02:47:59 -0400 From: The Anarcat To: Libh Subject: should label editor look current mnt fs? Message-ID: <20011010024759.B1253@shall.anarcat.dyndns.org> Mail-Followup-To: The Anarcat , Libh Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="CUfgB8w4ZwR/yMy5" Content-Disposition: inline User-Agent: Mutt/1.3.22.1i Sender: owner-freebsd-libh@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --CUfgB8w4ZwR/yMy5 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi I've run into problems when using our current sysinstall to update mountpoints or create new partitions or disks destinated to other machines. What I did is that I created the disk, labeled it and *assigned mount points*. Funny thing, mounting another partition over /. Anyways, I wondered why sysinstall let me do such a stupid thing. I think the label editor should not let this happen. :) And in doing, it should tell the user where its disks are mounted, if they are. So instead of having: #x ad0s2e : 7884688 8089487 FFS x## you would have: #x ad0s2e : 7884688 8089487 FFS /tmp x## I would like that. :) I think this would involve connecting getmntinfo(3) to the libh API.=20 Does this belong to libhdisk? for those who care, here is sample tv output of labeledit: #x Available partitio x########## #x ad1s1f : 424647 666599 N ffs x########## #x ad0 : 63/60030432 free x########## #x - : 0 62 - unused x########## #x ad0s1 : 63 7167887 - fat32 x########## #x ad0s2 : 7167888 60030431 - fbsd (complete) x########## #x ad0s2a : 7167888 7372687 N ffs x########## #x ad0s2b : 7372688 7884687 - swap swap x########## Yes, the word "partitions" is truncated, I ignore why. A. --CUfgB8w4ZwR/yMy5 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (FreeBSD) Comment: For info see http://www.gnupg.org iEYEARECAAYFAjvD7x4ACgkQttcWHAnWiGdiqgCfTtYzfgUGJ9AJeByoFH5VYk33 /OgAn0ELT5VmO0nkXrspeK8WCDwMWc9g =kouM -----END PGP SIGNATURE----- --CUfgB8w4ZwR/yMy5-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-libh" in the body of the message