how to get the size of a disk partition from user space? | |
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] | |
possibly slightly off-topic, but i've been handed (not at hand at
the moment, though) an embedded system running 2.4.26, which has a
bunch of flash-based partitions corresponding to the device files
/dev/scsi/host-?/bus0/target0/lun0/part-?.
what i want is a quick way to determine the size in bytes of those
partitions. will there be entries for them in /proc/partitions? is
there a better way? they won't necessarily be mounted; in fact, they
probably won't be. thoughts? thanks.
rday
--
========================================================================
Robert P. J. Day
Linux Consulting, Training and Annoying Kernel Pedantry:
Have classroom, will lecture.
http://crashcourse.ca Waterloo, Ontario, CANADA
========================================================================
--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ
[Newbies FAQ] [Kernel List] [Site Home] [IETF Annouce] [Git] [Networking] [Security] [Bugtraq] [Rubini] [Photo] [Yosemite] [MIPS Linux] [ARM Linux] [Linux Security] [Linux Networking] [Linux RAID] [Linux SCSI] [Linux ACPI] [DDR & Rambus] [UNIX Filesystems] [Linux Resources]
![]() |
![]() |