>I have received excellent help from you gurus in the past, and I'm
>dipping into the well once more...
>I have a 775M drive. Total.
>/dev/hda1 is FAT -- 250M
>/dev/hda2 is Swap -- 32M
>/dev/hda3 is ext2 -- the rest.
>So I'm running low on ext2 space.
>I know I can convert /hda1 to ext2 with mkfs, and I am ready to do that.
>(There's nothing on it I want to keep, BTW.)
>BUT...
>I would like to attach /hda1 as /usr/local, which already exists as a
>subdirectory of /hda3.
>IF I have room (and I do)
>CAN I: copy the contents of /usr/local to /hda1 (currently mounted at a
>/dos mount point), delete the contents of /usr/local, and then set
>/dev/hda1 to mount at the /usr/local mount point?
>What think you folks?
>Will this work?
>thanx--
>james carpenter
>Sent via Deja.com http://www.deja.com/
>Share what you know. Learn what you don't.
1) You make your FAT partition into ext2 partition Before copying files over.
2) Copy the files over and make sure that you can mount and use /usr/local
Before you delete the old one.
3) Use the correct cp. Read the man page. I think 'cp -a' will give you what
you want.