filesystem mount problem
    Trond Endrestøl 
    trond.endrestol at ximalas.info
       
    Sun Jul 21 19:22:27 UTC 2019
    
    
  
On Sun, 21 Jul 2019 15:07-0400, AN wrote:
> I don't understand why the /tmp is being mounted.  It is causing problems
> because when I try to run portupgrade it fails for lack of space.  If I
> forcibly unmount it everything breaks.
tmpmfs is set to "AUTO" in /etc/defaults/rc.conf.
Try setting tmpmfs="NO" in /etc/rc.conf, reboot, and see if this 
prohibits the creation of /tmp as a tmpfs.
You can also set PKG_TMPDIR or TMPDIR to point to, say, /var/tmp. 
E.g.:
export PKG_TMPDIR=/var/tmp
or
setenv PKG_TMPDIR /var/tmp
> # umount -v /tmp
> umount: unmount of /tmp failed: Device busy
> [root at FreeBSD_13 ~]# umount -vf /tmp
> tmpfs: unmount from /tmp
> [root at FreeBSD_13 ~]# df -h
> Filesystem     Size    Used   Avail Capacity  Mounted on
> /dev/ada0p3    428G    245G    149G    62%    /
> devfs          1.0K    1.0K      0B   100%    /dev
> linprocfs      4.0K    4.0K      0B   100%    /compat/linux/proc
> tmpfs           47G    4.0K     47G     0%    /compat/linux/dev/shm
> [root at FreeBSD_13 ~]# vinagre
> Unable to init server: Could not connect to 127.0.0.1: Connection refused
> 
> (vinagre:27111): Gtk-WARNING **: 15:04:21.599: cannot open display: :0
This is expected when /tmp/.X11-unix/X0 ceases to exist, among other 
files within /tmp.
-- 
Trond.
    
    
More information about the freebsd-current
mailing list