Re: Repositioning /var | /tmp to avoid disk full condition

From: Lee Harr (missive_at_hotmail.com)
Date: 05/31/03

  • Next message: Kenneth Culver: "Re: Why won't gaim show me online??"
    To: freebsd-questions@freebsd.org
    Date: Sat, 31 May 2003 21:21:29 +0000
    
    

    > cd /var
    > tar cf - . | (cd /usr/var; tar xf - )
    > cd /
    > rm -rf /var
    > ln -s /usr/var /var
    >
    >However the 'rm -rf /var' returned
    >
    > rm: /var: Device busy
    >
    >After trying all known tricks to me to remove /var, I concluded that
    >since it was mounted from the /etc/fstab I should dismount it and remove
    >the directory (link point ?) and create a soft link there as
    >
    >However, on rebooting boot was aborted, was thrown into
    >single users mode.

    Probably all you need to do is remove the line about /var
    from your /etc/fstab (or just comment it out)

    _________________________________________________________________
    Help STOP SPAM with the new MSN 8 and get 2 months FREE*
    http://join.msn.com/?page=features/junkmail

    _______________________________________________
    freebsd-questions@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-questions
    To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"


  • Next message: Kenneth Culver: "Re: Why won't gaim show me online??"

    Relevant Pages

    • Re: Windows partition
      ... it's thrown by the 8kstacks on the end of the name... ... modprobe -f modulename ... The -f will force the loading of the module... ... To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list ...
      (Fedora)
    • Re: postgresql linux-windows
      ... I got two old 486 boxes that had been thrown out by the local primary school out of their bin for nothing. ... I use one for a mail server and the other for a firewall. ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx with a subject of "unsubscribe". ...
      (Debian-User)
    • Re: sendmail update
      ... > to be thrown, and I'm willing to bet that you can make a couple of tweaks ... Olivier ... To unsubscribe, ...
      (freebsd-questions)
    • Re: [PATCH][1/2] [RESEND] kobject: add HOTPLUG_ENV_VAR
      ... I'll reroll my patches. ... I've thrown away your old ones:) ... To unsubscribe from this list: send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)