Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Other *NIX Forums > Solaris / OpenSolaris
User Name
Solaris / OpenSolaris This forum is for the discussion of Solaris, OpenSolaris, OpenIndiana, and illumos.
General Sun, SunOS and Sparc related questions also go here. Any Solaris fork or distribution is welcome.


  Search this Thread
Old 12-19-2005, 09: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, 12:17 PM   #2
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.3, Oracle Linux, Mint
Posts: 9,703

Rep: Reputation: 412Reputation: 412Reputation: 412Reputation: 412Reputation: 412
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-24-2005 11:45 PM
On a SCSI system, is there a different place to look for USB block devices? vonst Linux - Hardware 5 05-29-2004 10:10 AM
mount block devices with sysfs? thehundredthone Linux - Software 0 02-17-2004 05:15 AM
How to add block devices in the /dev path dvs Linux - Hardware 2 01-21-2004 04:23 PM
names of all block devices, web links if possible. oldstinkyfish Linux - Hardware 0 11-11-2003 08:30 PM > Forums > Other *NIX Forums > Solaris / OpenSolaris

All times are GMT -5. The time now is 03:17 AM.

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