Share your knowledge at the LQ Wiki.
Go Back > Forums > Other *NIX Forums > Solaris / OpenSolaris
User Name
Solaris / OpenSolaris This forum is for the discussion of Solaris and OpenSolaris.
General Sun, SunOS and Sparc related questions also go here.


  Search this Thread
Old 12-19-2005, 10:35 PM   #1
Registered: Jun 2005
Posts: 542

Rep: Reputation: 34
size of block devices

is there any ioctl() similar to Linux's BLKGETSIZE to get the size of a block device or anything not a regular file?
Old 12-20-2005, 01:17 PM   #2
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris10, Solaris 11, Mint, OL
Posts: 9,571

Rep: Reputation: 374Reputation: 374Reputation: 374Reputation: 374
See OpenSolaris Grub port for the way to do it with disks on Solaris (DKIOCG_PHYGEOM):


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
block size ust Linux - Software 1 11-25-2005 12:45 AM
On a SCSI system, is there a different place to look for USB block devices? vonst Linux - Hardware 5 05-29-2004 11:10 AM
mount block devices with sysfs? thehundredthone Linux - Software 0 02-17-2004 06:15 AM
How to add block devices in the /dev path dvs Linux - Hardware 2 01-21-2004 05:23 PM
names of all block devices, web links if possible. oldstinkyfish Linux - Hardware 0 11-11-2003 09:30 PM

All times are GMT -5. The time now is 06:53 PM.

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