LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 08-03-2005, 01:03 PM   #1
Gins
Senior Member
 
Registered: Jul 2004
Location: Germany
Distribution: open SUSE 11.0, Fedora 7 and Mandriva 2007
Posts: 1,662

Rep: Reputation: 47
The Linux name


In Windows you find partitions.

In Solaris you find slices.

What would be the Linux equivalent?

Both partitions and slices are logical stuff.

c0t0d0s0 --> The general pattern of a Solaris slice.
 
Old 08-03-2005, 01:23 PM   #2
geeman2.0
Member
 
Registered: Feb 2005
Location: Ontario, Canada
Distribution: Gentoo, Slackware
Posts: 345

Rep: Reputation: 30
If you're talking about disk drive divisions, then in linux we use the word partition, just like they do in windows.
 
Old 08-03-2005, 01:52 PM   #3
Gins
Senior Member
 
Registered: Jul 2004
Location: Germany
Distribution: open SUSE 11.0, Fedora 7 and Mandriva 2007
Posts: 1,662

Original Poster
Rep: Reputation: 47
Thanks Geeman

c0t0d0s0 --> Did you know the above in Solaris systems?

Is this unique to Solaris?

Do you find this in any other platform apart from Solaris?

I have Mandrake Linux. I don't find such things.
 
Old 08-03-2005, 02:04 PM   #4
liquidtenmilion
Member
 
Registered: May 2004
Location: South Carolina
Distribution: Slackware 11.0
Posts: 606

Rep: Reputation: 32
partition

/dev/hda1 - /dev/hda4 would be the four primary partitions on your hard disc in the order they appear physically

/dev/hda5 and higher would be any logical partitions in the order they appear.

for example. the 2nd logical partition would be
/dev/hda6

the 3rd primary partition would be

/dev/hda3.

now /dev/hdX would be the hard drive, with X being a-z depending on which hard drive.

Primary master =a
Primary slave =b(i think)
Secondary master=c
Secondary slave=d and so on and so on.
 
Old 08-03-2005, 02:12 PM   #5
Gins
Senior Member
 
Registered: Jul 2004
Location: Germany
Distribution: open SUSE 11.0, Fedora 7 and Mandriva 2007
Posts: 1,662

Original Poster
Rep: Reputation: 47
Thanks for the answer, liquidtenmillion

There is a command to find out all the drives on your system. I have forgotten it. Could you please tell me the command?
 
Old 08-03-2005, 02:25 PM   #6
liquidtenmilion
Member
 
Registered: May 2004
Location: South Carolina
Distribution: Slackware 11.0
Posts: 606

Rep: Reputation: 32
i _think_ this may do the job

sfdisk -l | grep -v Empty | grep -v Extended
 
Old 08-03-2005, 04:38 PM   #7
Gins
Senior Member
 
Registered: Jul 2004
Location: Germany
Distribution: open SUSE 11.0, Fedora 7 and Mandriva 2007
Posts: 1,662

Original Poster
Rep: Reputation: 47
liquidtenmillion, I got the following output:

[ka@c83-250-94-108 ka]$ sfdisk -l | grep -v Empty | grep -v Extended


bash: sfdisk: command not found
[ka@c83-250-94-108 ka]$


What is the problem?
 
Old 08-03-2005, 05:01 PM   #8
liquidtenmilion
Member
 
Registered: May 2004
Location: South Carolina
Distribution: Slackware 11.0
Posts: 606

Rep: Reputation: 32
did you do it as root?(you need to be root)

maybe your distro does not come with sfdisk, in which case

fdisk -l | grep -v Extended

should work.
 
Old 08-03-2005, 06:48 PM   #9
damicatz
Member
 
Registered: May 2004
Distribution: FreeBSD 7, Debian "Squeeze", OpenBSD 4.5
Posts: 167

Rep: Reputation: 30
Quote:
Originally posted by Gins
Thanks Geeman

c0t0d0s0 --> Did you know the above in Solaris systems?

Is this unique to Solaris?

Do you find this in any other platform apart from Solaris?

I have Mandrake Linux. I don't find such things.
The slice naming style you posted (c0t0d0s0) is unique to Solaris although the BSD Operating Systems use the term slice as well to refer to a logicial disk division. Slices in BSD can be further divided into partitions (sub-partitions if you will). A typical BSD slice would be something like ad0s1 and a partition would be ad0s1a, ad0s1b etc.

Last edited by damicatz; 08-03-2005 at 06:50 PM.
 
Old 08-04-2005, 03:52 AM   #10
Gins
Senior Member
 
Registered: Jul 2004
Location: Germany
Distribution: open SUSE 11.0, Fedora 7 and Mandriva 2007
Posts: 1,662

Original Poster
Rep: Reputation: 47
I thank liquidtenmillion and damicatz for the replies.

It worked as a root user.
 
Old 08-04-2005, 04:21 AM   #11
npaladin2000
Member
 
Registered: Aug 2005
Location: Poughkeepsie, NY
Distribution: Ubuntu Hoary, Fedora 4, Novell OES, Debian Sarge
Posts: 30

Rep: Reputation: 15
Quote:
Originally posted by damicatz
The slice naming style you posted (c0t0d0s0) is unique to Solaris although the BSD Operating Systems use the term slice as well to refer to a logicial disk division. Slices in BSD can be further divided into partitions (sub-partitions if you will). A typical BSD slice would be something like ad0s1 and a partition would be ad0s1a, ad0s1b etc.
Linux (Enterprise) is pretty close. On a Compaq SmartArray they come out as c0d0p1...."p"artition instead of "s"lice.
I guess the "c" is for controller or channel and the "d" is for logical disk. Dunno what that "t" is for in the Solaris name.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
link dies intermittently-seemingly at random- between win<->linux not linux<->linux?? takahaya Linux - Networking 10 03-09-2007 10:37 PM
triple boot linux/linux/linux No Windows involved toastermaker Linux - Newbie 12 03-02-2006 10:40 PM
Redhat (rhel v2.1) bootup problem with linux (linux vs linux-up) namgor Linux - Software 2 06-24-2004 02:49 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 11:52 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration