# Making dirs in a partition

**URL:** <https://community.unix.com/t/making-dirs-in-a-partition/154228>\
**Category:** UNIX for Dummies Questions & Answers\
**Created:** [June 22, 2005, 12:11pm UTC](https://community.unix.com/t/making-dirs-in-a-partition/154228 "2005-06-22T12:11:18Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![smo59](https://community.unix.com/letter_avatar/smo59/32/5_5575768a8748004e209b776fc1b2916d.png) [@smo59](https://community.unix.com/u/smo59)\
**Post date:** [June 22, 2005, 12:11pm UTC](https://community.unix.com/t/making-dirs-in-a-partition/154228/1 "2005-06-22T12:11:18Z")

</div>

I am setting up a design tools server on a machine running Solaris9.

I want to setup a partition that contains a number of design tools.  
If I go to / and type mkdir "tools" then I am on the root partition.

How do I get "/tools" to be on a separate partition?

(I also have the same problem in that I want to create /export on the server for home dirs etc but again do not want this on the root partition.)

Any ideas or am I doing something foolish?

Thanks,

Stephen.

---

<div class="post-metadata">

**Author:** ![Just\_Ice](https://community.unix.com/user_avatar/community.unix.com/just_ice/32/165_2.png) [@Just\_Ice](https://community.unix.com/u/Just_Ice)\
**Post date:** [June 22, 2005, 12:42pm UTC](https://community.unix.com/t/making-dirs-in-a-partition/154228/2 "2005-06-22T12:42:34Z")

</div>

create /tools directory under / and then mount a filesystem on it ... see "man newfs", "man mkfs", "man format", "man mount" and "man vfstab" ... same process throughout ...

quickly ...

1. create disk slice --- use format
2. create filesystem --- use newfs
3. mkdir /dir
4. mount filesystem on /dir --- use mount
5. edit /etc/vfstab to make mounts permanent

---

<div class="post-metadata">

**Author:** ![smo59](https://community.unix.com/letter_avatar/smo59/32/5_5575768a8748004e209b776fc1b2916d.png) [@smo59](https://community.unix.com/u/smo59)\
**Post date:** [June 22, 2005, 12:58pm UTC](https://community.unix.com/t/making-dirs-in-a-partition/154228/3 "2005-06-22T12:58:30Z")

</div>

Of course, this makes perfect sense now.

Easy when you know how.

Thanks muchly (again) JustIce.
