I would like to know the Unix Command for :
- To see the Unix Box partitions.
- how to start/stop Unix partition.
migrated from stackoverflow.com Aug 11 '09 at 13:48
This question came from our site for professional and enthusiast programmers.
Making guesses at what you mean, I suggest:
1) To list all mounted drives:
To find out how much space you have on each drive, and for a clearer display of which device corresponds to which directory, type:
2) To un-mount (remove) a drive:
To mount (add/start) a drive:
(where /dev/hda is the device you'd like to unmount)
To edit your partitions, try:
To find out more about these commands type:
It's not entirely clear what you're asking but here's some pointers about partitions in Unix.
Post a comment if you want more help on using any of those commands.
Keeping in mind that in UNIX your devices are shown as files in the
For example, on FreeBSD:
On Linux the drives tend to be
Once you have your partition that you want to "start":
And to "stop" the partition: