Date: Tue, 19 Jun 2001 17:30:39 -0700 From: Dima Dorfman <dima@unixfreak.org> To: Mikhail Teterin <mi@aldan.algebra.com> Cc: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sbin/mdmfs Makefile mdmfs.8 mdmfs.c pathnames.h Message-ID: <20010620003039.844293E33@bazooka.unixfreak.org> In-Reply-To: <200106191211.f5JCBS617696@aldan.algebra.com>; from mi@aldan.algebra.com on "Tue, 19 Jun 2001 08:11:27 -0400 (EDT)"
next in thread | previous in thread | raw e-mail | index | archive | help
Mikhail Teterin <mi@aldan.algebra.com> writes: > On 18 Jun, Dima Dorfman wrote: > > dd 2001/06/18 16:46:58 PDT > > > > Added files: > > sbin/mdmfs Makefile mdmfs.8 mdmfs.c pathnames.h > > Log: > > Introduce mdmfs(8), a wrapper around mdconfig(8), disklabel(8), > > newfs(8), and mount(8) that mimics the command line option set of the > > deprecated mount_mfs(8). > > > > Approved by: jkh, phk, -hackers > > So, will > > /dev/da0b /tmp mfs rw,async > > Just Work (TM) now? Besides the fact that mdmfs(8) isn't installed as /sbin/mount_mfs, there are two things wrong (from mdmfs's point of view) with that line: * /dev/da0b -- this should either be "/dev/md" for autounit, or "/dev/mdX" where X is the desired unit number. This small incompatibility is intentional: I don't think it's a good idea for users to blindly assume that md(4) is mfs; at least if they have to change that, they'll know that something might be different. * There's no size specification. The only way I've seen MFS used is with an -s argument in the options field; e.g., "rw,async,-s<size>". If your example works without -s (i.e., mount_mfs assumes a default size), mdmfs should be fixed to do that too; although I don't know what the default size should be. If you find any [other] differences in behavior in mdmfs vs. the old mount_mfs, please let me know. I used the mount_mfs(8) man page as the reference, not the code, so there may well be some. Thanks, Dima Dorfman dima@unixfreak.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010620003039.844293E33>