DaemonForums  

Go Back   DaemonForums > Miscellaneous > Programming

Programming C, bash, Python, Perl, PHP, Java, you name it.

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1   (View Single Post)  
Old 11th July 2008
PeterSteele PeterSteele is offline
Port Guard
 
Join Date: Jul 2008
Posts: 43
Default How to get a list of volumes?

I can use the system call getmntinfo on a FreeBSD system to get a list of all mounted volumes, but how can I get a list that contains *all* volumes, even those that are not mounted? I cannot seem to find an equivalent to getmntinfo for this, but I assume there must be a system call to retrieve this information. Any pointers would be appreciated.
Reply With Quote
 

Thread Tools
Display Modes

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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Buy/Sell/Free Hardware List DrJ Off-Topic 30 21st October 2023 12:59 PM
PHP~MYSQL - Get list of all the fields within a table cksraj Programming 2 22nd April 2009 05:57 AM
List of users connected by sftp. amscotti OpenBSD General 7 1st April 2009 07:26 PM
Command to list all installed ports? windependence FreeBSD Ports and Packages 2 13th May 2008 11:10 AM


All times are GMT. The time now is 09:55 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick