Re: Problem moving /usr to new partition

2000-05-08 Thread Anthony Campbell
On 08 May 2000, John Pearson wrote: > On Mon, May 08, 2000 at 05:03:16PM +0800, Lindsay Allen wrote > > > > > > No. If I make a file ee and eee is a hardlink to it, I get this: > > > > elm:$ cp -la ee* /tmp > > cp: cannot create link `/tmp/ee': Invalid cross-device link > > cp: cannot create li

Re: Problem moving /usr to new partition

2000-05-08 Thread Nathan E Norman
On Mon, May 08, 2000 at 05:03:16PM +0800, Lindsay Allen wrote: > > > No. If I make a file ee and eee is a hardlink to it, I get this: > > elm:$ cp -la ee* /tmp > cp: cannot create link `/tmp/ee': Invalid cross-device link > cp: cannot create link `/tmp/eee': Invalid cross-device link > elm:$ ll

Re: Problem moving /usr to new partition

2000-05-08 Thread John Pearson
On Mon, May 08, 2000 at 05:03:16PM +0800, Lindsay Allen wrote > > > No. If I make a file ee and eee is a hardlink to it, I get this: > > elm:$ cp -la ee* /tmp > cp: cannot create link `/tmp/ee': Invalid cross-device link > cp: cannot create link `/tmp/eee': Invalid cross-device link > elm:$ ll

Re: Problem moving /usr to new partition

2000-05-08 Thread David Wright
Quoting Larry Elmore ([EMAIL PROTECTED]): > I've got potato installed on a 1.5GB partition, and have another hard drive > with an available 2GB partition (type 82 Linux, formatted ext2fs) on to > which I want to move /usr. I copied the contents of /usr on to the new > partition, then edited /etc/fs

Re: Problem moving /usr to new partition

2000-05-08 Thread Lindsay Allen
No. If I make a file ee and eee is a hardlink to it, I get this: elm:$ cp -la ee* /tmp cp: cannot create link `/tmp/ee': Invalid cross-device link cp: cannot create link `/tmp/eee': Invalid cross-device link elm:$ ll ee* -rw-rw-r--2 allenallen 902 Mar 23 19:49 ee -rw-rw-r- If I

Re: Problem moving /usr to new partition

2000-05-08 Thread ktb
I just took another look at the manpage. Maybe you need to use the -l option -- -l, --link Make hard links instead of copies of non-directo­ ries. hth, kent Lindsay Allen wrote: > > For me "cp -a" does not handle hard links correctly. It creates two > distinct f

Re: Problem moving /usr to new partition

2000-05-08 Thread ktb
The experience I've had with copying large amounts of info with 'cp -a' is limited to copying a "personal disto" I built from source code. I didn't make any hard links, all soft, so I really can't say. I will post this to the user's group. Maybe someone will pick up on it. kent Lindsay Alle

Re: Problem moving /usr to new partition

2000-05-08 Thread ktb
Just being nit picky:) 'cp -a' is sufficient -a contains -R from the man page -- -a, --archive Preserve as much as possible of the structure and attributes of the original files in the copy. The same as -dpR. hth, kent Taupter wrote: > > > My qu

Re: Problem moving /usr to new partition

2000-05-08 Thread Taupter
> My question is: what else do I need to do to move /usr onto a new partition > and have Linux boot properly? I re-read the HOWTOs and can't find any > mention of anything other than what I tried. Help! cp -Ra /usr /your/target It would help. I dit it some days to update some of my disks (Debian

Re: Problem moving /usr to new partition

2000-05-07 Thread Mark Brown
On Sun, May 07, 2000 at 09:33:47AM -0600, Larry Elmore wrote: > My question is: what else do I need to do to move /usr onto a new partition > and have Linux boot properly? I re-read the HOWTOs and can't find any > mention of anything other than what I tried. Help! You need to copy things in a man

Problem moving /usr to new partition

2000-05-07 Thread Larry Elmore
I've got potato installed on a 1.5GB partition, and have another hard drive with an available 2GB partition (type 82 Linux, formatted ext2fs) on to which I want to move /usr. I copied the contents of /usr on to the new partition, then edited /etc/fstab, moved the original /usr to /usr-old and creat