TCLUG Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [TCLUG:14401] How to GHOST a drive in Linux...
On Mon, Mar 06, 2000 at 10:14:12AM -0600, Troy Johnson wrote:
> I read this and found some errors:
>
> Chewie wrote:
> > 7. Edit your /etc/fsck file to mount the new disk partitions at the
> > appropriate mount points.
>
> The file should be /etc/fstab
Yep. You're right. Mind was wandering.
> > 8. The scary part (needed only if you moved a directory tree that
> > didn't have a partition of its own originally). Delete the
> > files from the original directory trees that you copied over:
> >
> > # rm -rf /home/.*
> > # rm -rf /home/*
> > # rm -rf /var/.*
> > # rm -rf /var/*
>
> You can wait on this. You can mount the file systems on the mount points
> without deleting the files. That way you can get them back if something
> goes wrong, but you won't get to use the space those files take up until
> you delete those files.
Yeah. I was a little worried about how the file system would behave when it
had two sets of directories and files with the same names. If what you say is
correct, and I'm sure it it, the files on the original partition under the
/home tree would effectively be ignored until you unmount the new partition
mounted at /home.
> At least I think they are errors. But I like these instruction list
> things (because I forget a lot of things). Thank you very much, chewie!!
No problem! My roommate, Lion, helped me out with this one, and I found it
VERY useful.
--
^chewie
PGP signature