D&C Lug - Home Page
Devon & Cornwall Linux Users' Group

[ Date Index ][ Thread Index ]
[ <= Previous by date / thread ] [ Next by date / thread => ]

Re: [LUG] partitions, mount and /usr/share



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Neil Williams wrote:
|
| cp -r /oldvar/* /var

cp has some extra options to ensure you preserve more in a copy - I
usually use "-rp" as a minimum of this sort of thing. Not sure how much
it helps, just one of those habits which I probably thought about the
first time I did it.

| When I edit /etc/fstab to mount, say, /dev/hdb6 as /usr/share, I'm
presuming
| that GNU/Linux is sensible enough to work out that /usr is on /
(/dev/hda5)
| and /usr/share is on /dev/hdb6. Directories in /usr/share will then be
| created in the top level folder of /dev/hdb6. All that's happened with
/var/
| is that /var/lost+found/ has appeared, as expected.

Order can matter, and mount point directories exist on the old file
system only (it is just "/" on the mounted filesystem), but I think you
are fine.

Traditionally *nix lets you hide files under system mount points (that
is a very obscure way to lose disk space), I think some Linux distro's
protect users from this now.

You are mounting a filesystem onto the root filesystem so order is not
normally a big issue (hint try it without mounting "/" first ;) )

| (It's late, I just wanted confirmation so that I can do this tomorrow,
maybe.)

It looks not unreasonable to me - but backup first.

-----BEGIN PGP SIGNATURE-----
Comment: Using GnuPG with Debian - http://enigmail.mozdev.org

iD8DBQFA2hKbGFXfHI9FVgYRAguPAKCcQ5OR4GHkm2sSBjmA5WZKZQT44gCfUKU9
Tg/3CcE3glUjQh/UP9kKyO0=
=0SnI
-----END PGP SIGNATURE-----

--
The Mailing List for the Devon & Cornwall LUG
Mail majordomo@xxxxxxxxxxxx with "unsubscribe list" in the
message body to unsubscribe.



Lynx friendly