> MK> Well for /usr I have created a seperarate partition.
> MK> I now want to mount that partition, and remove the old data.
>> I take it you mean "unmount", i.e. you have a new /usr mounted over
> your old one, whose contents you wish to delete.
To clarify what I had was just a single filesystem where /usr was just a
normal directory. I then mounted the new partition on top of this.
And wanted to erase all the data in the original folder while leaving the
data on the new partition intact.
> No need to use a boot disk; just make sure everyone is logged off,
> take the box to single user mode with "init 1" as root, and work your
> magic. Use "init N" when you're done, where N is your default
> runlevel. "grep initdefault /etc/inittab" will tell you if you are
> not sure.
I didn't think of that my brain isn't in gear today.
I used the boot disk in the end.
MARk
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!