Re: 2.11BSD Device Names
On Fri, Sep 16, 2016 at 2:52 PM, Glen Slickwrote: > On Thu, Sep 15, 2016 at 1:13 PM, Ethan Dicks wrote: >>> My question is, what is the device name in /dev for the first drive on the >>> second controller? >> >> Isn't it rb? > > [ra8a - ra8h] block, major numer 5 > [rra8a - rra8h] character/raw, major number 14 I must be used to some DECism in Ultrix, then. Wouldn't surprise me if they did something different from real BSD (that or I'm misremembering something else from 30 years ago). -ethan
Re: 2.11BSD Device Names
On Thu, Sep 15, 2016 at 1:13 PM, Ethan Dickswrote: >> My question is, what is the device name in /dev for the first drive on the >> second controller? > > Isn't it rb? > > -ethan [ra8a - ra8h] block, major numer 5 [rra8a - rra8h] character/raw, major number 14 The low 6 bits of the minor number are the drive and partition. The minor numbers for the drives and partitions on the second controller are in the range 64-127. # ls -l *ra8* brw-r- 1 root 5, 64 Aug 1 1995 ra8a brw-r- 1 root 5, 65 Dec 16 1991 ra8b brw-r- 1 root 5, 66 Dec 16 1991 ra8c brw-r- 1 root 5, 67 Dec 16 1991 ra8d brw-r- 1 root 5, 68 Dec 16 1991 ra8e brw-r- 1 root 5, 69 Dec 16 1991 ra8f brw-r- 1 root 5, 70 Dec 16 1991 ra8g brw-r- 1 root 5, 71 Dec 16 1991 ra8h crw-r- 1 root 14, 64 Dec 31 1997 rra8a crw-r- 1 root 14, 65 Dec 16 1991 rra8b crw-r- 1 root 14, 66 Nov 7 1995 rra8c crw-r- 1 root 14, 67 Dec 25 1991 rra8d crw-r- 1 root 14, 68 Dec 25 1991 rra8e crw-r- 1 root 14, 69 Dec 20 1991 rra8f crw-r- 1 root 14, 70 Jan 19 1997 rra8g crw-r- 1 root 14, 71 Dec 16 1991 rra8h
Re: 2.11BSD Device Names
On Thu, Sep 15, 2016 at 1:08 PM, David Coolbearwrote: > For 2.11BSD on the PDP-11, in the stand alone utilities that are found on > the installation tape, the storage devices are named: > > dn(x,y,z) where dn is the mnemonic for the driver, x is the controller > number, y is the unit number and z is the partition on the unit. So the > first partition on the first drive on the first MSCP controller is > ra(0,0,0). It's fairly easy form the install tape to disklabel and mkfs a > drive on a second controller. > > Once UNIX is running, things change. The devices in /dev are named ra0 for > the first unit on the first controller, ra1 for the second unit on the > first controller and etc. I don't see a way in the naming convention to > identify other controllers. > > My question is, what is the device name in /dev for the first drive on the > second controller? man ra major device number(s): raw: 14 block: 5 minor device encoding: bits 0007 specify partition of RA drive bits 0070 specify RA drive bits 0300 specify RA controller ra{0-7}{a-h} would be the 8 partitions on the 8 drives on the first controller ra{8-15}{a-h} would be the 8 partitions on the 8 drives on the second controller ra{16-23}{a-h} would be the 8 partitions on the 8 drives on the third controller ra{24-31}{a-h} would be the 8 partitions on the 8 drives on the fourth controller. ls -l /dev/*ra* If you don't see the device you need than you can use /dev/MAKEDEV to create it with the appropriate major and minor device numbers.
Re: 2.11BSD Device Names
On Thu, Sep 15, 2016 at 4:08 PM, David Coolbearwrote: > For 2.11BSD on the PDP-11, in the stand alone utilities that are found on > the installation tape, the storage devices are named: > > dn(x,y,z) where dn is the mnemonic for the driver, x is the controller > number, y is the unit number and z is the partition on the unit. So the > first partition on the first drive on the first MSCP controller is > ra(0,0,0). It's fairly easy form the install tape to disklabel and mkfs a > drive on a second controller. Sure... driver name, then a vector of controller, unit, and partition... > Once UNIX is running, things change. The devices in /dev are named ra0 for > the first unit on the first controller, ra1 for the second unit on the > first controller and etc. I don't see a way in the naming convention to > identify other controllers. > > My question is, what is the device name in /dev for the first drive on the > second controller? Isn't it rb? -ethan