resize disklabel partitions and ffs filesystems

2013-03-17 Thread John Tate
I had a problem building something in ports ports with a default 2.0gb
/usr. I tried moving ports to /home/usr/ports to /usr/ports but I get...

Fatal: /usr/ports is a symlink. Please set to the real directory

Can I resize disklabel partitions and ffs filesystems?

If I can't I'm going to have to reinstall :-(.

-- 
www.johntate.org



Re: resize disklabel partitions and ffs filesystems

2013-03-17 Thread Brad Smith
On Sun, Mar 17, 2013 at 07:46:34PM +1100, John Tate wrote:
 I had a problem building something in ports ports with a default 2.0gb
 /usr. I tried moving ports to /home/usr/ports to /usr/ports but I get...
 
 Fatal: /usr/ports is a symlink. Please set to the real directory

Don't try to make a symlink. Create /etc/mk.conf and add to that file
`PORTSDIR=/home/usr/ports'.

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



Re: resize disklabel partitions and ffs filesystems

2013-03-17 Thread Marc Espie
On Sun, Mar 17, 2013 at 07:46:34PM +1100, John Tate wrote:
 I had a problem building something in ports ports with a default 2.0gb
 /usr. I tried moving ports to /home/usr/ports to /usr/ports but I get...
 
 Fatal: /usr/ports is a symlink. Please set to the real directory
 
 Can I resize disklabel partitions and ffs filesystems?
 
 If I can't I'm going to have to reinstall :-(.

/etc/mk.conf
PORTSDIR=real location



Re: resize disklabel partitions and ffs filesystems

2013-03-17 Thread Ted Unangst
On Sun, Mar 17, 2013 at 19:46, John Tate wrote:
 I had a problem building something in ports ports with a default 2.0gb
 /usr. I tried moving ports to /home/usr/ports to /usr/ports but I get...
 
 Fatal: /usr/ports is a symlink. Please set to the real directory
 
 Can I resize disklabel partitions and ffs filesystems?
 
 If I can't I'm going to have to reinstall :-(.
 

growfs. If you're lucky you won't screw up and lose everything. 



Re: resize disklabel partitions and ffs filesystems

2013-03-17 Thread Otto Moerbeek
On Sun, Mar 17, 2013 at 06:39:04PM +, Ted Unangst wrote:

 On Sun, Mar 17, 2013 at 19:46, John Tate wrote:
  I had a problem building something in ports ports with a default 2.0gb
  /usr. I tried moving ports to /home/usr/ports to /usr/ports but I get...
  
  Fatal: /usr/ports is a symlink. Please set to the real directory
  
  Can I resize disklabel partitions and ffs filesystems?
  
  If I can't I'm going to have to reinstall :-(.
  
 
 growfs. If you're lucky you won't screw up and lose everything. 

As the name implies, it only grows, you need to have or create
free space at the end of the partition you want to grow.

-Otto