10 More Discussions You Might Find Interesting
1. UNIX for Beginners Questions & Answers
I have heard that UNIX disk storage is costlier than Windows Disk storage. Is that true? If not why we have limited storage on UNIX systems? Windows disk storage is so cheap nowadays. Is it not true for UNIX disks? (8 Replies)
Discussion started by: Soham
8 Replies
2. HP-UX
how to check overall hard disk utilization in unix?
we use bdf command to find the utilized space for the particular path
bdf filepath
how can i find overall hard disk utilization? (4 Replies)
Discussion started by: ashwanthfrq
4 Replies
3. Windows & DOS: Issues & Discussions
Respected Members,
I am using compaq CQ41, with factory install windows 7, there is three drives namely (local Disk( c: ) 158 GB free of 281 GB), (RECOVERY( D: ) 2.69 GB free of 16.7GB) and (HP_TOOLS( E: ) 92.7 MB free of 99.3 MB).
i don't want to lost it,but... (2 Replies)
Discussion started by: Vijay Tyagi
2 Replies
4. Linux
Hi all,
I'm kind of new to programming in Linux & c/c++. I'm currently writing a FileManager using Ubuntu Linux(10.10) for Learning Purposes. I've got started on this project by creating a loopback device to be used as my virtual hard disk. After creating the loop back hard disk and mounting it... (23 Replies)
Discussion started by: shen747
23 Replies
5. SCO
hi
I've a fresh installation of SCO 5.0.7 on the IDE hard disk.
For SCSI hard disk I can declare, for example blc disk driver using:
# mkdev hd 0 SCSI-0 0 blc 0but it works for IDE hard disk? (3 Replies)
Discussion started by: ccc
3 Replies
6. UNIX for Advanced & Expert Users
Hello,
How is it possible to copy the partition of hard drive that have unix on it (it's a scsi hard drive of an Irix (SGI)), under windows xp - what I did till now is to connect the drive to the my pc (windows xp installed) with a scsi adapter and the program partition magic can't recognize the... (2 Replies)
Discussion started by: moyalt
2 Replies
7. UNIX for Advanced & Expert Users
Can a hard drive be formatted from unix server to windows 2000 professional? (4 Replies)
Discussion started by: howarddtp
4 Replies
8. Shell Programming and Scripting
Hi Engg. ! :mad:
I have a harddisk on which SCO UNIX Open Server was installed. There was some data (in .dbf format) on it. Present condition of HDD is that it is not booting. Now I want to mount this HDD through other HDD on which SCO UNIX Open Server is installed by attaching... (0 Replies)
Discussion started by: Niraj Gopal Sha
0 Replies
9. UNIX for Dummies Questions & Answers
Hello,
To run UNIX, can the hard disk be partitioned so I could use that part for UNIX and the other for my existing Windows '98? At the moment there are hard drives C: & D:. Also, where can I obtain the UNIX software?.....Your response is appreciated. (2 Replies)
Discussion started by: hpin
2 Replies
10. UNIX for Dummies Questions & Answers
thanks for your help, i didnt realise you could download the operating system from sun.com:D
Ive just had a new hard drive installed 20 GIG for unix and x windows. How can i connect this hard drive for unix and x windows only? and are there any helpful tutorials for starters??
Many thanks (4 Replies)
Discussion started by: jeffersno1
4 Replies
hdio(7I) Ioctl Requests hdio(7I)
NAME
hdio - SMD and IPI disk control operations
SYNOPSIS
#include <sys/hdio.h>
DESCRIPTION
Note - The SMC and IPI drivers have been discontinued. dkio(7I) is now the preferred method for retrieving disk information.
The SMD and IPI disk drivers supplied with this release support a set of ioctl(2) requests for diagnostics and bad sector information.
Basic to these ioctl() requests are the definitions in <sys/hdio.h>.
IOCTLS
HDKIOCGTYPE The argument is a pointer to a hdk_type structure (described below). This ioctl() gets specific information from the hard
disk.
HDKIOCSTYPE The argument is a pointer to a hdk_type structure (described below). This ioctl() sets specific information about the hard
disk.
/*
* Used for drive info
*/
struct hdk_type {
ushort_t hdkt_hsect; /* hard sector count (read only) */
ushort_t hdkt_promrev; /* prom revision (read only) */
uchar_t hdkt_drtype; /* drive type (ctlr specific) */
uchar_t hdkt_drstat; /* drive status (ctlr specific, ro) */
};
HDKIOCGBAD The argument is a pointer to a hdk_badmap structure (described below). This ioctl() is used to get the bad sector map from
the disk.
HDKIOCSBAD The argument is a pointer to a hdk_badmap structure (described below). This ioctl() is used to set the bad sector map on
the disk.
/*
* Used for bad sector map
*/
struct hdk_badmap {
caddr_t hdkb_bufaddr; /* address of user's map buffer */
};
HDKIOCGDIAG The argument is a pointer to a hdk_diag structure (described below). This ioctl() gets the most recent command that failed
along with the sector and error number from the hard disk.
/*
* Used for disk diagnostics
*/
struct hdk_diag {
ushort_t hdkd_errcmd; /* most recent command in error */
daddr_t hdkd_errsect; /* most recent sector in error */
uchar_t hdkd_errno; /* most recent error number */
uchar_t hdkd_severe; /* severity of most recent error */
};
SEE ALSO
ioctl(2), dkio(7I)
SunOS 5.10 13 Aug 2002 hdio(7I)