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

Re: Maximal Mount Count



Mike Merten dixit:
> 
> Actually, what I did was something more like this:
> 
> # mount /dev/hda2 /mnt
> # cp -a /usr/* /mnt

right, /usr/* tells to copy everything inside /usr/, but not the /usr
directory name itself.  I think a different way to achieve this is:

# cp -ax /usr

> # umount /mnt
> # rm -r /usr/*
> # mount /dev/hda2 /usr
> 
> Then edited /etc/fstab to add a line
> 
> /dev/hda2   /usr   ext2   defaults   0  2

I believe you then mount /dev/hda2 to be able to edit /etc/fstab and add the
line... ah, I see now, the mount command does exist in /bin.  Instead, I
edited /etc/fstab and added the line first, then I removed the contents
inside /usr... and rebooted.  Many different ways to achieve the same goal.

I just wonder if I /lost+found subdirs created in new ext2 partitions can be
deleted or they have to stay there for any reason... they do take some
space.

Regards,

Horacio

> 
> 
> Mike
> -- 
> Mike Merten
> ironfoot@popaccount.com
> ICQ# 28460680
> 
> 
> -- 
> Unsubscribe?  mail -s unsubscribe debian-user-request@lists.debian.org < /dev/null

-- 
¿clave pgp?					pgp key?
envía un mensaje vacío a			send an empty message to
homega@vlc.servicom.es				homega@vlc.servicom.es
con la línea de "Asunto:"			with the "Subject:" line
enviar clave-pgp				send pgp-key


Reply to: