Steps 2 and 3: Removing the source filesystem and editing vfstab
Once you have copied the filesystem to its new location,
you can remove it from its original location.
The safe way to do this is:
An alternative is to remove
both your files and directories simultaneously.
Remove the files by entering
find src_path -mount ! -type d -print | xargs rm -f
Remove the directories by entering
find src_path -mount -depth -type d -print | xargs rmdir
Complete the procedure by editing the
(with an editor such as
so the moved filesystem refers
to the new location (the new slice).
Make sure that none of the subdirectories below src_path is a mounted
filesystem (since rm crosses mount points and might therefore remove more than you intended).
rm -rf src_path
© 2004 The SCO Group, Inc. All rights reserved.
UnixWare 7 Release 7.1.4 - 22 April 2004