12-18-2005
Quote:
Originally Posted by stav
Hi all,
I'm running XPPro and I'm happy about it. I'm hearing many good things about Linux OS and I want to give it a try and install it on my D: drive. XP running on C:\
Here's a tip to help the paradigm shift... linux has no drive letters, it's one big directory tree. No "D:/", just "/". Partitions get grafted onto directories inside the root directory wherever you tell it to instead of appearing at arbitrary drive letters.
9 More Discussions You Might Find Interesting
1. Linux
Hello everybody!I an new linux user,I come from
china!I think you must know!I want to learn linux ,
I know that learn well,english must be well.but my english is very bad!So i hope you don't mind.I hope i can get help from
foreign friends in the future! thank you! (3 Replies)
Discussion started by: aini2003
3 Replies
2. Linux
I am new to Linux. I currently have RedHat version 2.4.9-e.5smp .
The problem I am trying to get past is that when I select (by highlighting)
some text in my command line Konsole, I am not able to paste it in a regular
text area like my yahoo email. Being able to do that would help me share... (0 Replies)
Discussion started by: jxh461
0 Replies
3. Linux
Hi All,
I did a search of the forum on this but I could only find answers for UNIX flavours.
Are there any limits on the amount of users you can have on a linux box?
Have the likes of Red Hat introduced any license limits or is it just constrained by system parameters like ulimit max user... (0 Replies)
Discussion started by: pondlife
0 Replies
4. UNIX for Dummies Questions & Answers
Thanks
AVKlinux (3 Replies)
Discussion started by: avklinux
3 Replies
5. Linux
Hello, everyone
I am new linux user. Yes, what I mean by that is I am totally new, never touch linux before. Only have one year experience of Solaris.
Anyway, I have to learn it because eventually I am going to use it at work.
Here is my question:
can I buy a cheap netbook (like less... (3 Replies)
Discussion started by: uuontario
3 Replies
6. Linux
Hi All,
I have to learn all the user management commend like adduser,useradd,chggrp... etc
I would like to know the syntax or example.
Please give me document or link.
Thanks,
Mani (1 Reply)
Discussion started by: Mani_apr08
1 Replies
7. UNIX for Dummies Questions & Answers
Hi,
I cant seem to get this right.
Lets say I have root privileges and I wanted:
a ) edit the user prompt to show "linux1234$" whenever they log-in.
also
b ) Show a message for users upon logging in.
I know a) has something to do with editing PS1. but how to only apply the change for users?... (1 Reply)
Discussion started by: Azi
1 Replies
8. Linux
Hi I am facing problem of taking backup of file system as username1.
There are some files in system which is having group ownership as nobody.
and username1 is not able to open this file and backup is failing .Even as a root user I can not open this file.
File which is creating problem is ... (1 Reply)
Discussion started by: devesh123
1 Replies
9. UNIX for Advanced & Expert Users
Hello,
i configured rhel linux 6 with AD directory to authorize windows users to connect on the system and it works.
i have accounts with high privileges (oracle for example) if an account is created on the AD server i would to block him.
I looked for how to do, for the moment all the... (3 Replies)
Discussion started by: vincenzo
3 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:
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) will fail
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 3.53 of the Linux man-pages project. A description of the project, and information about reporting bugs, can
be found at http://www.kernel.org/doc/man-pages/.
Linux 2012-05-03 SD(4)