Home » Questions » Computers [ Ask a new question ]

start/stop Unix partition

start/stop Unix partition

I would like to know the Unix Command for :

Asked by: Guest | Views: 226
Total answers/comments: 1
Guest [Entry]

"Keeping in mind that in UNIX your devices are shown as files in the /dev/ folder, the best way to view all partitions is action ls /dev/.

For example, on FreeBSD:

$ ls -1 /dev/amrd*
/dev/amrd0
/dev/amrd0s1
/dev/amrd0s1a
/dev/amrd0s1b
/dev/amrd0s1c
/dev/amrd0s1d
/dev/amrd0s1e

On Linux the drives tend to be sd* or hd*, while OSX uses disk*.

Once you have your partition that you want to ""start"":

mount /dev/amrd0s1d /mnt/storage/

And to ""stop"" the partition:

umount /mnt/storage/

Check the man pages for either for more detailed uses."