On Tue, 2 Mar 1999, Sangohn Christian wrote:
>/dev/sdb9 /var ext2 defaults
> 0 2
>/dev/sdb10 /tmp ext2 defaults
> 0 2
>
>Is it possible to concatenate partitions sdb9 and sdb10 to one partition without
>affecting the other partitions?
Yes, if you're careful.
The simplest way is to tar up sdb9 [/var] (don't bother with sdb10 as /tmp is
expendible) into another partition (not sdb9 or sdb10), delete sdb10, adjust
the end of sdb9 so that it's where the end of the former sdb10 was, reformat
sdb9 as ext2, untar /var back into the bigger sdb9, create a symbolic link in
your root partition from /tmp to /var/tmp (which already exists), and, finally,
update /etc/fstab as all partitions beyond sdb10 will now have been renumbered
downward by 1. N.B.: Be sure that you're in single user mode, with nothing else
running, when you do this.
If you have PartitionMagic, and if it supports SCSI disks (I'm not sure, as I
only have IDE disks), then the job is quite a bit easier as it understands the
ext2 file system. Start PartitionMagic, and: delete sdb10, expand sdb9. Then
exit partitionMagic, and: create the /tmp->/var/tmp symbolic link, fix
/etc/fstab.
I have been running for a long time with /tmp symbolically linked to /var/tmp,
and find that such a setup works great.
--
Dave Mielke | 856 Grenon Avenue | I believe that the Bible is the
Phone: 1-613-726-0014 | Ottawa, Ontario | Word of God. Please contact me
EMail: [EMAIL PROTECTED] | Canada K2B 6G3 | if you're concerned about Hell.