Greg Hewgill (ghewgill) wrote,
Greg Hewgill
ghewgill

unix tip of the day

FreeBSD allows you to extend the available swap space while the system is up using the mdconfig and swapon commands. mdconfig creates a memory device (/dev/mdn) backed by a physical file on disk. swapctl adds new devices to the set of devices used for system swap space.

If one were to forget that one had already extended swap space by doing this, and set it up again using the same physical swap file on disk, then the house of cards that is your operating system memory management comes violently crashing down. Do not do this.
Subscribe

  • 2013 in review

    2013 is the year when everything changed. The biggest event was the birth of our daughter Lily. She was born prematurely in Shanghai while we…

  • 2012 in review

    2012 has been fairly quiet. Maybe it just seems that way because I haven't actually written anything new in this blog since last year's annual…

  • new photo galleries

    I've been busy processing photo galleries from the last year (or two) and putting them online for your perusal. Vancouver 2010 Northland…

  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

  • 0 comments