[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Maximal Mount Count



On Wed, Mar 10, 1999 at 02:12:48AM +0000, Paul Puri wrote:
> What is the command that I use to mv /usr to /dev/hda2?  
> 
> I tried 'mv /usr /hda2/usr', but that gave me the error, 'mv:  cannot 
> move '/usr' across filesystems:  Not a regular file.
> 
> Thank you...
> 

Actually, what I did was something more like this:

# mount /dev/hda2 /mnt
# cp -a /usr/* /mnt
# umount /mnt
# rm -r /usr/*
# mount /dev/hda2 /usr

Then edited /etc/fstab to add a line

/dev/hda2   /usr   ext2   defaults   0  2


Mike
-- 
Mike Merten
ironfoot@popaccount.com
ICQ# 28460680


Reply to: