07-18-2001
Im trying to put unix FreeBSD on my computer
i bought my computer from gateway about a year ago. i decided to try using a different OS so i tried partitioning my hard drive . It came with a older partion magic 4.0 and i tried using that but when i tried to install FreeBSD it wouldn't recongnise my drives. I just got lost on how to fix my problem so i took the partition off and now the bootmanager keeps coming up when i start my computer.
i got a new version of partition magic 5.0 and when i got choosing the size it told me that my drive can't be partition.
8 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
My computer's operating system is windows me,now.I want install unix in it while I don't want to kill the windows me.So could u tell me what to do?I'd like you give me detailed information about it.Thank u. (2 Replies)
Discussion started by: David
2 Replies
2. UNIX Desktop Questions & Answers
I want to know if there is any problem that install windows2000 and unix or linux on same computer.I partition my harddisk to 4,
3 of 4 are NTFS, 1 is FAT32, I want to install unix or linux on this partition.how should I do??? (6 Replies)
Discussion started by: sw_water
6 Replies
3. UNIX for Dummies Questions & Answers
Haw Can I install a solaris in my own pc at home
I have try but every time it is just boot to windows
what should I do about it so I can Have it at my home pc
thanks
All The best . . . . . .
om911ar (1 Reply)
Discussion started by: omar911
1 Replies
4. UNIX for Dummies Questions & Answers
:D hey all, how do you scan/mount a network drive or computer/directory? thanks (2 Replies)
Discussion started by: emplate
2 Replies
5. UNIX for Dummies Questions & Answers
Hi Everyone...
I am very interested in the Unix/Linux/Knoppix world and would like to eventually become proficient in the programming aspect of it all. Is it possible to use Knoppix in a partitioned drive on my Windows based computer to learn programming in Unix? Or do I need to partition my... (1 Reply)
Discussion started by: Rev. Enant
1 Replies
6. UNIX for Dummies Questions & Answers
Hi friends
I wanted to know how i can put vim in unix .Actually in unix i m presently working on has vi editor and my another unix server there is vim is working. So i wanted to put vim of another server to my unix server.(I am fresher working on unix so i want help may be i can't explain my... (2 Replies)
Discussion started by: brain_full
2 Replies
7. UNIX for Dummies Questions & Answers
Hello. I'm in the market for a new computer (a laptop, for certain), and I was considering buying a high-end PC (I have a black MacBook right now). I've been wanting to experiment with Unix-based OS's (for developing mainly -- I'm a developer/programmer -- but for other purposes as well). I'd... (6 Replies)
Discussion started by: Tron55555
6 Replies
8. UNIX for Dummies Questions & Answers
I recently installed AT&T UNIX SysV, on an old Pentium computer. I now find that I am unable to transfer files to and from the computer. I previously posted about problems mounting a floppy drive, but that is just bringing up more problems about the filesystem format.
JGT brought to my attention... (27 Replies)
Discussion started by: BrentBANKS
27 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)