Click to See Complete Forum and Search --> : mounting?


bobby swartz
07-24-2001, 06:31 PM
if ive created a new partion i can use it only if i create a new directory /mnt/xxxx and mount the new partion to /mnt/xxxx, could i create a new directory /newpartion and mnt the new partion to /newpartion?

bdg1983
07-24-2001, 06:35 PM
you can mount it wherever you want to. :)

Sawz
07-24-2001, 09:01 PM
sure, thats an easy one

1st--make the dir name that you want to mount the new partition in...
2nd--if its already mounted in the /mnt/??? dir - then type umount /dev/hd??

then type mount /dev/??? to the dir that you made

so if i made a dir in / called newpartion and my new partition (hda3, we'll call it) is already mounted in /mnt/tempdir - i would type the following...

cd (just to get out of the dir if your in it)
umount /dev/hda3
mount /dev/hda3 /newpartition

done!!!!!!!

bobby swartz
07-24-2001, 09:45 PM
so why do all the documents i have read state that all new partions should be mounted under /mnt/xxxx
?

DMR
07-25-2001, 04:40 AM
Just convention, probably. Having a /mnt directory provides an obvious, central location for all of your "non-core" filesystems.

bdg1983
07-25-2001, 05:32 AM
Are you talking about "non-core" filesystems as DMR posted?

If you are just creating a normal directory within your normal mounted filesystem, then nothing further needs to be done. Just create sub directories if you like, copy files to the new directory etc. etc.