06-11-2001
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
OK, well i got it now, but im having alil but of trouble.....Im running mandrake and Im loving it, te little tux racer game...heh heh, but to the point here, Im trying to access my CD-ROM drive from the KDE desktop, and an error prompt shows up and says, "you do not have access rights to this..."... (2 Replies)
Discussion started by: LolapaloL
2 Replies
2. UNIX for Dummies Questions & Answers
I use Unix at work, and thought that I should finally install it on my computer, just as a play around. Plus I am into programming C and various other languages. I have never used Mandrake linux, and to be honest it was just a freebie that I found that I thought I would give a quick try. I have... (3 Replies)
Discussion started by: SiE
3 Replies
3. Linux
Im running WinXp and just recently installed VMware workstation v4 to emulate Linux Mandrake 9.1. It succesfully installed..
Situation:
My xp home edition is static on a linksys router it is my host computer..
Linux is running on Vmware as guest operation system..
Im not sure how to configure... (2 Replies)
Discussion started by: NewINLinux
2 Replies
4. UNIX Desktop Questions & Answers
okay...
I want to learn linux, i have some books, but im one of those types who would rather get my hands dirty then read a textbook. dont get me wrong, i will spend some time reading.
I really want to install mandrake first, but because i have no experience with Linux or unix, i think im... (2 Replies)
Discussion started by: jestra
2 Replies
5. Linux
I downloaded ISO file fourth CD of mandrake linux 10. But I don't have MD5 checksum. Anybody can help me! show me the MD5 checksum of it.
Thanks (2 Replies)
Discussion started by: littleghost
2 Replies
6. Linux
Is there a way to patch aol for large business onto linux 9.2? Send replies to email address removed ! OR e-mail em and tell em if you want to chat with me at the chat room at no advertising (must be amember. Create a profile if you don't have one!):) :( :o :D ;) :p :cool: :rolleyes: :
... (1 Reply)
Discussion started by: computek
1 Replies
7. UNIX for Dummies Questions & Answers
Im somewhat new to *nix and i am wanting to make a basic shell server. I have mandrake 10.1 and the shell in it is not a typical unix shell. How can I make a typical unix shell server? any help would be appreciated. (1 Reply)
Discussion started by: daniel17
1 Replies
8. Filesystems, Disks and Memory
Hi all
I have an NCR UNIX hard disk I need to mount it on a Linux box
The FS Type in fdisk on linux is '63' for the partition
How can i mount on my linux box ?
what is kernel module i needed ? (6 Replies)
Discussion started by: yasser202
6 Replies
9. UNIX for Dummies Questions & Answers
I am currently trying to open a .doc file in my workstation via terminal. This is my code:
root@ojt:/home/ojt/Desktop# cat arts_life.doc
and it gave me a bunch of unknown characters together with the contents of the doc file. What I actually want to happen is that it will open the... (2 Replies)
Discussion started by: chams
2 Replies
10. Web Development
I am currently trying to open a .doc file in my workstation via terminal. This is my code:
root@ojt:/home/ojt/Desktop# cat arts_life.doc
and it gave me a bunch of unknown characters together with the contents of the doc file. What I actually want to happen is that it will open the... (4 Replies)
Discussion started by: chams
4 Replies
SD(4) Linux Programmer's Manual SD(4)
NAME
sd - driver for SCSI disk drives
SYNOPSIS
#include <linux/hdreg.h> /* for HDIO_GETGEO */
#include <linux/fs.h> /* for BLKGETSIZE and BLKRRPART */
CONFIGURATION
The block device name has the following form: sdlp, where l is a letter denoting the physical drive, and p is a number denoting the parti-
tion on that physical drive. Often, the partition number, p, will be left off when the device corresponds to the whole drive.
SCSI disks have a major device number of 8, and a minor device number of the form (16 * drive_number) + partition_number, where drive_num-
ber is the number of the physical drive in order of detection, and partition_number is as follows:
+3 partition 0 is the whole drive
partitions 1-4 are the DOS "primary" partitions
partitions 5-8 are the DOS "extended" (or "logical") partitions
For example, /dev/sda will have major 8, minor 0, and will refer to all of the first SCSI drive in the system; and /dev/sdb3 will have
major 8, minor 19, and will refer to the third DOS "primary" partition on the second SCSI drive in the system.
At this time, only block devices are provided. Raw devices have not yet been implemented.
DESCRIPTION
The following ioctls are provided:
HDIO_GETGEO
Returns the BIOS disk parameters in the following structure:
struct hd_geometry {
unsigned char heads;
unsigned char sectors;
unsigned short cylinders;
unsigned long start;
};
A pointer to this structure is passed as the ioctl(2) parameter.
The information returned in the parameter is the disk geometry of the drive as understood by DOS! This geometry is not the physical
geometry of the drive. It is used when constructing the drive's partition table, however, and is needed for convenient operation of
fdisk(1), efdisk(1), and lilo(1). If the geometry information is not available, zero will be returned for all of the parameters.
BLKGETSIZE
Returns the device size in sectors. The ioctl(2) parameter should be a pointer to a long.
BLKRRPART
Forces a reread of the SCSI disk partition tables. No parameter is needed.
The SCSI ioctl(2) operations are also supported. If the ioctl(2) parameter is required, and it is NULL, then ioctl(2) fails with
the error EINVAL.
FILES
/dev/sd[a-h]
the whole device
/dev/sd[a-h][0-8]
individual block partitions
COLOPHON
This page is part of release 4.15 of the Linux man-pages project. A description of the project, information about reporting bugs, and the
latest version of this page, can be found at https://www.kernel.org/doc/man-pages/.
Linux 2017-09-15 SD(4)