LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 11-21-2004, 12:38 PM   #1
iskrem
LQ Newbie
 
Registered: Nov 2004
Location: Norway
Distribution: Gentoo
Posts: 25

Rep: Reputation: 15
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

Last edited by iskrem; 11-21-2004 at 01:18 PM.
 
Old 11-21-2004, 12:56 PM   #2
damicatz
Member
 
Registered: May 2004
Distribution: FreeBSD 7, Debian "Squeeze", OpenBSD 4.5
Posts: 167

Rep: Reputation: 30
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.

Last edited by damicatz; 11-21-2004 at 12:57 PM.
 
Old 11-21-2004, 01:17 PM   #3
iskrem
LQ Newbie
 
Registered: Nov 2004
Location: Norway
Distribution: Gentoo
Posts: 25

Original Poster
Rep: Reputation: 15
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.
 
Old 11-22-2004, 03:00 PM   #4
iskrem
LQ Newbie
 
Registered: Nov 2004
Location: Norway
Distribution: Gentoo
Posts: 25

Original Poster
Rep: Reputation: 15
I suppose there is no other way than moving these partitions to a new harddrive and copy them to a new and bigger partition.
 
Old 11-22-2004, 04:04 PM   #5
michaelk
Moderator
 
Registered: Aug 2002
Posts: 11,752

Rep: Reputation: 719Reputation: 719Reputation: 719Reputation: 719Reputation: 719Reputation: 719Reputation: 719
You can not mount multiple partitions together unless you use Logical Volume Management (LVM).
 
Old 11-27-2004, 06:13 AM   #6
iskrem
LQ Newbie
 
Registered: Nov 2004
Location: Norway
Distribution: Gentoo
Posts: 25

Original Poster
Rep: Reputation: 15
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?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
move folder to new partition blizunt7 Fedora 11 10-13-2005 07:16 AM
How can I write to a folder on my Windows partition? wfischer Linux - General 3 06-08-2005 08:37 AM
gather login information gsanand Programming 0 10-21-2004 06:45 PM
IglooFTP-PRO refuses to upload files in folder when I upload folder eBopBob Linux - Software 0 08-27-2004 05:52 AM
Mount a partition to an existing folder groover Linux - Newbie 5 04-04-2004 01:43 AM


All times are GMT -5. The time now is 10:46 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration