From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,ddceafdecd063dcf X-Google-Attributes: gidfee84,public From: zbs@softec.sk (Zoltan Basti) Subject: Re: 2-4Gb hard drives under OSF 3.2 Date: 1995/12/22 Message-ID: #1/1 X-Deja-AN: 122585043 references: <4b4etu$gkk@freelunch.freenet.kiev.ua> <4b926h$251@news.belwue.de> <4b9e11$ja7@lll-winken.llnl.gov> <4bcc1q$auk@nntpd2.cxo.dec.com> organization: Softec s.r.o. newsgroups: comp.unix.osf.osf1 It was a dark and stormy night when Alan Rollow had this to say: : > : >I don't know why this functionality is missing in dUnix, but nevertheless : >I think disktab entries are not that important. : Why do you think it is missing in Digital UNIX. The disklabel command I thought because there is no man entry for creatediskbyname. It is true, however, that the man page for disklabel(8) has some info on this subject. It turns out that you can tell disklabel(8) to get the geometry from the driver/disk. Mea culpa, but the documantation could be/should be clearer on this. : will either use creatediskbyname(3) or the DEVGETGEOM I/O control : directly to get the geometry of a disk from the driver. The driver : in turn gets it from the device. So, label the disk before hand and : newfs will get the information from the label. Newfs might have some : of the code to do it itself, but I've never tried. -- Zoltan Basti