LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (http://www.linuxquestions.org/questions/linux-general-1/)
-   -   Gather all files in one partition/folder (http://www.linuxquestions.org/questions/linux-general-1/gather-all-files-in-one-partition-folder-257619/)

iskrem 11-21-2004 01:38 PM

Gather all files in one partition/folder
 
I would like to gather my two partitions:
/dev/sda6
/dev/sda8

In one partition or gather alle the files from these partitions in one mount point/folder. Would anyone please give me a hint on how to do that?

I could symlink the files, but I suppose that's not the best solution, as that is very static.

Edit: Elaborated on one mount point/folder

damicatz 11-21-2004 01:56 PM

In the root directory of each partition try :

cp -Rv * .* <Destionation>

Make sure there is a space between the * and the .*

The v (verbose) flag is optional but gives you an indication as to what the command is doing.

iskrem 11-21-2004 02:17 PM

I am sorry, but I want a way to mount all files in one folder, not copy. The paritions is to large to temporarily move them to another partition, to make a bigger one.

iskrem 11-22-2004 04:00 PM

I suppose there is no other way than moving these partitions to a new harddrive and copy them to a new and bigger partition.

michaelk 11-22-2004 05:04 PM

You can not mount multiple partitions together unless you use Logical Volume Management (LVM).

iskrem 11-27-2004 07:13 AM

I read at TLDP that I could use (http://www.tldp.org/HOWTO/Partition/partition-5.html#) fdisk to create/remove paritions using fdisk -n and -d, however those switches doesnt appear in my system/manual. What's the subsitute?


All times are GMT -5. The time now is 06:23 PM.