cvs commit: src/sbin/mdconfig mdconfig.8 mdconfig.c
Nick Hibma
n_hibma at FreeBSD.org
Tue Feb 27 09:04:57 UTC 2007
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
More information about the cvs-src
mailing list