[H-GEN] altering disk partitions

Mark Suter suter at zwitterion.humbug.org.au
Tue Mar 18 06:47:19 EST 2003


[ Humbug *General* list - semi-serious discussions about Humbug and     ]
[ Unix-related topics. Posts from non-subscribed addresses will vanish. ]

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

Dale,

I suggested "try the symlink solution" but I didn't give any
details.  So, here's an example of moving /usr/share over to
/home/usr_share and leaving a symlink in its place.

    # shutdown now	# Goto single-user mode

    # mkdir /home/usr_share
    # chown root:root /home/usr_share
    # chmod u=rwx,og=rx /home/usr_share

    # cd /usr/share
    # tar cpsSf - . | ( cd /home/usr_share ; tar xpsSf - )
    # cd /usr
    # mv share share.old && ln -s /home/usr_share share

    # telinit 2		# Return to the default from /etc/inittab

Once you've confirmed all is well, you can delete all of
/usr/share.old and get the free space you desire.

Yours sincerely,

- -- Mark John Suter  | I know that you  believe  you understand
suter at humbug.org.au | what you think I said, but I am not sure
gpg key id 2C71D63D | you realise that what you  heard  is not
mobile 0411 262 316 | what I meant.        Robert J. McCloskey
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
Comment: Check Keyservers or http://zwitterion.org/keys/

iD8DBQE+dwdHRYso2ixx1j0RApKsAJ9JLCJ6s9byrZuS7GsZtaS/sF+uGwCfZ7VI
756HN7li9Bz5ScUUOeBWEBc=
=vpBF
-----END PGP SIGNATURE-----

--
* This is list (humbug) general handled by majordomo at lists.humbug.org.au .
* Postings to this list are only accepted from subscribed addresses of
* lists 'general' or 'general-post'.  See http://www.humbug.org.au/



More information about the General mailing list