Date: Tue, 27 Feb 2007 09:04:56 +0000 (UTC) From: Nick Hibma <n_hibma@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sbin/mdconfig mdconfig.8 mdconfig.c Message-ID: <200702270904.l1R94ueb066373@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
n_hibma 2007-02-27 09:04:56 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) sbin/mdconfig mdconfig.8 mdconfig.c Log: MFC rev. 1.34-1.36 mdconfig.8 rev. 1.52-1.54 mdconfig.c Make attach the default for -f and assume '-a' and '-t malloc' flags for '-s <size>' (malloc ramdisk) if not specified. To mount an image: MD=`mdconfig -f image` mount $MD /mnt To create and mount a RAM disk (gosh, last I used those was on an Atari 1040ST: 256kb just to piss off the 640kb PC loosers) MD=`mdconfig -s 5mb` newfs /dev/$MD mount /dev/$MD /mnt Et voila! Much easier to remember. Revision Changes Path 1.33.2.1 +16 -4 src/sbin/mdconfig/mdconfig.8 1.43.2.3 +17 -2 src/sbin/mdconfig/mdconfig.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200702270904.l1R94ueb066373>