[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

mount(8) man page has wrong example for 'mount -t mfs'



In both OpenBSD 3.4-release (just installed from the CD) and -current
on the web as of just now, the mount(8) man page includes the example

> For example, the mount command:
> 
>    # mount -t mfs -o nosuid,-N,-s=4000 /dev/dk0b /tmp
> 
> causes mount to execute the equivalent of:
> 
>    # /sbin/mount_mfs -o nosuid -N -s 4000 /dev/dk0b /tmp

Assuming the usual OpenBSD conventions, /dev/dk0b will be a swap
partition, in which case, as was just pointed out to me in message
<http://monkey.org/openbsd/archive/tech/0312/msg00184.html>, the syntax
is wrong (and doesn't work any more as of 3.4).  According to that message,
the correct syntax has   swap   instead of    /dev/dk0b   .

Since this is an   mfs   example, would it also be appropriate to add
the   async   mount option?

ciao,

-- 
-- Jonathan Thornburg <jthorn@aei.mpg.de>      
   Max-Planck-Institut fuer Gravitationsphysik (Albert-Einstein-Institut),
   Golm, Germany, "Old Europe"     http://www.aei.mpg.de/~jthorn/home.html      
   "Washing one's hands of the conflict between the powerful and the
    powerless means to side with the powerful, not to be neutral."
                                      -- quote by Freire / poster by Oxfam