Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

hp(4) [v7 man page]

HP(4)							     Kernel Interfaces Manual							     HP(4)

NAME
hp - RH-11/RP04, RP05, RP06 moving-head disk DESCRIPTION
The octal representation of the minor device number is encoded idp, where i is an interleave flag, d is a physical drive number, and p is a pseudodrive (subsection) within a physical unit. If i is 0, the origins and sizes of the pseudodisks on each drive, counted in cylinders of 418 512-byte blocks, are: disk start length 0 0 23 1 23 21 2 0 0 3 0 0 4 44 386 5 430 385 6 44 367 7 44 771 If i is 1, the minor device consists of the specified pseudodisk on drives numbered 0 through the designated drive number. Successively numbered blocks are distributed across the drives in rotation. Systems distributed for these devices use disk 0 for the root, disk 1 for swapping, and disk 4 (RP04/5) or disk 7 (RP06) for a mounted user file system. The block files access the disk via the system's normal buffering mechanism and may be read and written without regard to physical disk records. A `raw' interface provides for direct transmission between the disk and the user's read or write buffer. A single read or write call results in exactly one I/O operation and therefore raw I/O is considerably more efficient when many words are transmitted. The names of the raw files conventionally begin with an extra `r.' In raw I/O the buffer must begin on a word boundary, and raw I/O to an interleaved device is likely to have disappointing results. FILES
/dev/rp?, /dev/rrp? SEE ALSO
rp(4) BUGS
In raw I/O read and write(2) truncate file offsets to 512-byte block boundaries, and write scribbles on the tail of incomplete blocks. Thus, in programs that are likely to access raw devices, read, write and lseek(2) should always deal in 512-byte multiples. Raw device drivers don't work on interleaved devices. HP(4)

Check Out this Related Man Page

RK(4)							     Kernel Interfaces Manual							     RK(4)

NAME
rk - RK-11/RK03 or RK05 disk DESCRIPTION
Rk? refers to an entire disk as a single sequentially-addressed file. Its 256-word blocks are numbered 0 to 4871. Minor device numbers are drive numbers on one controller. The rk files discussed above access the disk via the system's normal buffering mechanism and may be read and written without regard to physical disk records. There is also a `raw' interface which provides for direct transmission between the disk and the user's read or write buffer. A single read or write call results in exactly one I/O operation and therefore raw I/O is considerably more efficient when many words are transmitted. The names of the raw RK files begin with rrk and end with a number which selects the same disk as the corre- sponding rk file. In raw I/O the buffer must begin on a word boundary, and counts should be a multiple of 512 bytes (a disk block). Likewise seek calls should specify a multiple of 512 bytes. FILES
/dev/rk?, /dev/rrk? BUGS
In raw I/O read and write(2) truncate file offsets to 512-byte block boundaries, and write scribbles on the tail of incomplete blocks. Thus, in programs that are likely to access raw devices, read, write and lseek(2) should always deal in 512-byte multiples. RK(4)
Man Page

15 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Unix with Windows 2000

Hey! I have just acquired a Unisys SMP6400 server. It has Unix already installed. It has 2 disk drives: 1 is 2 gig with Unix setup on it. The 2nd drive is 8 gig with apps. Both drives are under Mylex DAC960 raid control. Here is my question, can I install Windows 2000 Pro on this machine either... (11 Replies)
Discussion started by: mastermold
11 Replies

2. UNIX for Dummies Questions & Answers

mirroring problem

My company had purchased a Pro Model hard disk duplicator a couple of years ago and has used it successfully until our disk drive vendor stopped production of the currently used drives and offered us what they considder to be a direct replacement drive. On these new drives everything matches the... (3 Replies)
Discussion started by: crazykelso
3 Replies

3. Programming

direct transmission of files via TCP/IP

Hi, is it possible to write files via write() to a socket and read it on the other side via read(), without going through buffers? Iif not via write() and read() are there other possibilities? thanks darkspace (5 Replies)
Discussion started by: darkspace
5 Replies

4. UNIX for Dummies Questions & Answers

available disk space on disk device???

Hello, Can someone please tell me which command to use to determine the available disk space on a given disk device? I have to write a shell script that compresses files and stores them in a specific location but I am not sure how "conservative" I should be? Thanks in advance! Al. (4 Replies)
Discussion started by: alan
4 Replies

5. HP-UX

alt_boot disk

On hp im trying to figure out if we have alt_boot setup, basically if the root disk(physical disk) goes bad, I can bring up an alt physical disk with the same filesystems as the root disk that went bad, i dont think this is the same as mirroring, as the alt_disk would be inactive unless the root... (11 Replies)
Discussion started by: csaunders
11 Replies

6. AIX

Raw I/o

Is there any system call available in AIX to read the size of raw disk? If I use the command "lspv -L",it only gives size of PVs on which file system is there. I need to extract the size raw disk i.e. file system is not there on the disk. Thanks, Megha (6 Replies)
Discussion started by: MeghaV
6 Replies

7. Red Hat

Search Device Status in GNU Linux

I have an old PC with mirrored disk arrays. One of the hot swapable disk drives is bad and needs to be replaced, I know this because the drives' light has turned amber. This server has Linux installed. I am not familiar with Linux, but I need this servers because it is running Postfix and is a... (3 Replies)
Discussion started by: Tirmazi
3 Replies

8. AIX

Diagnose high disk write IO

Hi, say for example if there is high disk write IO in one disk (detected from NMON), how to we identify what processes is writing on that particular disk? (3 Replies)
Discussion started by: ngaisteve1
3 Replies

9. UNIX for Advanced & Expert Users

Need help for getting hard-disk traces

When we write a programme,we declare variables and compiler allocates memory to them.I want to get access to the physical block number of hard-disk where actually the data is stored by the programme " Some one help me out... (3 Replies)
Discussion started by: nagraz007
3 Replies

10. Ubuntu

where to find the message "Your disk drives are being checked for errors"

Hi, During start up I got the message "Your disk drives are being checked for errors". But it went so fast that I could read following messages. Once logged I though I could find it in "dmesg" but nothing... May someone know where I can find plese ? :) (3 Replies)
Discussion started by: xib.be
3 Replies

11. Solaris

Read/Write Data on CD/RW Disk

Would simply like to write data (no audio) to a CD/RW disk. The disk drive states CD/RW on the front but don't know for sure if the software is configured to recognize it as a writable disk. I can read/move data from the disk to the hard drive with no issue from the disk. Any help in this... (4 Replies)
Discussion started by: jes1trish
4 Replies

12. UNIX for Dummies Questions & Answers

Unix machine as disk drive

Hello, This is my first post :) I wondered if it would be possible to connect a unix machine via USB as a disk drive in the same way as Android devices connects to the computers. The idea is to connect my debian machine to the television, that is compatible with USB pendrives. Then, the... (3 Replies)
Discussion started by: Strife
3 Replies

13. Programming

Program to search for a file on disk using c++

Hey guy, Is it possible to write a program in c++ to search for file in a particular drive? If so please provide the logic or the code Thanks :) (4 Replies)
Discussion started by: asamgosi
4 Replies

14. Shell Programming and Scripting

Small fast question

just to confirm du from sh show sizes as multiples of 512 byte right? (4 Replies)
Discussion started by: Nick1097
4 Replies

15. HP-UX

Need Hardware help on a RP4440 that lost the RTC and does not see both hard drives

Since the lost of the rtc all the settings became default. Does anyone remember what needs to be reset to discover both Hard drives? It sees the DVD and the scsi disk (intscsib.0) in 0/1/1/1.0 (disk 1 slot) but not 0/1/1/0.1 (intscsia.1)(disk 0 slot). Right now, from the service menu, scsi shows... (3 Replies)
Discussion started by: mrmurdock
3 Replies