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

  • oh well

    I got home today to a cheerful phone message from Tiffany at informalclasses.org informing me that the Japanese Beginning II class that was set to…

  • photos, books, and customer service

    My Canadian passport has expired, and in fact it has been expired so long that if I had renewed it when it first expired, the new one would have…

  • japanese

    A while ago I signed up for an introductory Japanese language course through informalclasses.org, and it starts tomorrow (well today, since it's now…

  • 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