Please move this thread to the PH Linux Newbie forum, as that is where it
belongs. I am cross-posting this so that this transfer may be effected as
soon as possible.

On Sat, 9 Jun 2001 at 05:56, Rebecca wrote:
> i want to allocate my /export to my /var, i mean re-assign the
> partition to /var and just let /export to share with / how do i do
> that?

Hmm, the statement of the problem is a little jumbled up, and so I'm not
quite sure how to give you a recommended solution. It's normally easier to
think of your filesystem as two parts: the physical and the virtual. The
physical side would be represented by the partitions and the /dev entries
pointing to these. The virtual side would be the mount points.

I'm presuming you have some partition, say /dev/hda5, mounted as your root
(/). /dev/hda6 -> /var. /dev/hda7 -> /export. You want /export to be a
subdirectory of / including its files, therefore occupying space on
/dev/hda5. And then you want /dev/hda7 to contribute its space to /var.

You have two ways of attacking this:

1. You can move all the contents of /var and /export to / (/dev/hda5), and
then delete /dev/hda6 and /dev/hda7 and creating a single /dev/hda6 with
the cumulative size. Make a filesystem on this and mount this as /var-new.
Transfer all the files from /var to /var-new, unmount /var-new and mount
/dev/hda6 on /var.

2. You can select a part of your current /var tree that you will transfer
to /dev/hda7. Mount /dev/hda7 on some temp directory (with its contents
moved to /export already), move the contents of that /var sub-tree to your
temp directory, remount /dev/hda7 to the correct place and there you go.
:)

 --> Jijo

--
Linux, MS-DOS, and Windows NT ...
... also known as the Good, the Bad, and the Ugly

_
Philippine Linux Users Group. Web site and archives at http://plug.linux.org.ph
To leave: send "unsubscribe" in the body to [EMAIL PROTECTED]

To subscribe to the Linux Newbies' List: send "subscribe" in the body to 
[EMAIL PROTECTED]

Reply via email to