On Sat, 9 Feb 2002, mike ledoux wrote:
>       # tar cBlf - . | (cd /mnt/tmp && tar xBspf -)

  Why not "cp -a"?  Are you just used to old-school Unix, or is there
something wrong with "cp" we should know about?

  Also, if one is well and truly paranoid, one could shutdown and power
off, power back on, and do

        diff -qr /usr /mnt/tmp

to compare the two copies.

> If you're paranoid, you can just mount the new filesystem on /usr without
> first removing the data, but this will (obviously) not reclaim the space.

  He could also rename the existing /usr directory and create a new mount
point, and still have access to the old data.

> While I've used this method many times in the past without any trouble,
> I take no responsibility for any problems or data loss you may experience.

  "Always mount a scratch monkey."

>> I'd also like to be able reclame the gig of space that was my /home
>> partition. Any tips would be appreciated. :)
> 
> You could just make a new filesystem on it and mount it as something else
> (I usually make /scratch or /data partitions with this kind of space).

  Given his initial layout, /tmp or /var would also be good candidates.

> If you want to integrate that space into an existing filesystem, things
> get much trickier.  I've used partition magic to resize ext2 partitions
> like this, but never / or /boot.

  It is possible.  Obviously, you need to boot from alternate media if you
are resizing root.  With Partition Magic, you're doing that anyway.  Be sure
to have a boot floppy with your full kernel (and initrd, if any) handy, as
you will have to re-run LILO if you move or resize the filesystem containing
your kernel.

-- 
Ben Scott <[EMAIL PROTECTED]>
| The opinions expressed in this message are those of the author and do not |
| necessarily represent the views or policy of any other person, entity or  |
| organization.  All information is provided without warranty of any kind.  |




*****************************************************************
To unsubscribe from this list, send mail to [EMAIL PROTECTED]
with the text 'unsubscribe gnhlug' in the message body.
*****************************************************************

Reply via email to