From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,1f1cfb0f60f113ba,start X-Google-Attributes: gid1164f8,public From: lpa@netcom.com (Pierre Asselin) Subject: Digital Unix: newfs, disktab, logical storage manager Date: 1997/12/30 Message-ID: #1/1 X-Deja-AN: 311454180 Sender: lpa@netcom16.netcom.com Organization: Netcom On-Line Services Newsgroups: comp.sys.dec The Digital Unix FAQ says: > newfs is smart enough to get the geometry of the disk from the drive, > although this feature is not documented for all versions. Use > newfs /dev/rrz#x /dev/rrz#x > to do this. > For most uses, you don't need a disktab entry on Digital UNIX. The disklabel > command can get the default partition table and geometry from the disk > driver and will put that in the label. When the label is present, newfs > doesn't need a disktab entry either. However, this doesn't work with logical disks created by the LSM. # volassist -U fsgen make testdsk 100m # ls -l /dev/rvol/testdsk crw------- 1 root system 40, 13 Dec 30 16:00 /dev/rvol/testdsk # newfs /dev/rvol/testdsk newfs: /dev/rvol/testdsk : only 0 partitions # newfs /dev/rvol/testdsk /dev/rvol/testdsk newfs: /dev/rvol/testdsk : only 0 partitions # newfs /dev/rvol/testdsk rzxx newfs: /dev/rvol/testdsk : only 0 partitions # newfs /dev/rvol/testdsk rzXX newfs: /dev/rvol/testdsk : only 0 partitions The only way I can get around the silly `0 partitions' message is by giving a bogus disk_type argument, like this: # newfs /dev/rvol/testdsk rz28 Is there a better way? -- --Pierre Asselin, Westminster, Colorado lpa@netcom.com pa@verano.sba.ca.us