From owner-freebsd-stable@FreeBSD.ORG Tue May 10 04:41:29 2005 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7699C16A4EE for ; Tue, 10 May 2005 04:41:29 +0000 (GMT) Received: from smtp804.mail.sc5.yahoo.com (smtp804.mail.sc5.yahoo.com [66.163.168.183]) by mx1.FreeBSD.org (Postfix) with SMTP id 14DC543D49 for ; Tue, 10 May 2005 04:41:29 +0000 (GMT) (envelope-from noackjr@alumni.rice.edu) Received: from unknown (HELO optimator.noacks.org) (noacks@swbell.net@70.240.205.64 with login) by smtp804.mail.sc5.yahoo.com with SMTP; 10 May 2005 04:41:28 -0000 Received: from localhost (localhost [127.0.0.1]) by optimator.noacks.org (Postfix) with ESMTP id 171786113; Mon, 9 May 2005 23:41:23 -0500 (CDT) Received: from optimator.noacks.org ([127.0.0.1]) by localhost (optimator.noacks.org [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 07847-16; Mon, 9 May 2005 23:41:20 -0500 (CDT) Received: from compgeek.noacks.org (compgeek [192.168.1.10]) by optimator.noacks.org (Postfix) with ESMTP id 9E43C610A; Mon, 9 May 2005 23:41:20 -0500 (CDT) Received: from [127.0.0.1] (localhost [127.0.0.1]) by compgeek.noacks.org (8.13.3/8.13.3) with ESMTP id j4A4fFfQ001922; Mon, 9 May 2005 23:41:16 -0500 (CDT) (envelope-from noackjr@alumni.rice.edu) Message-ID: <42803B66.3070200@alumni.rice.edu> Date: Mon, 09 May 2005 23:41:10 -0500 From: Jonathan Noack User-Agent: Mozilla Thunderbird 1.0.2 (X11/20050428) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Billy Newsom References: <4280353B.8050306@leadhill.net> In-Reply-To: <4280353B.8050306@leadhill.net> X-Enigmail-Version: 0.91.0.0 OpenPGP: id=991D8195; url=http://www.noacks.org/cert/noackjr.asc Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enigBAD9812C7A95DF908B60D6AB" X-Virus-Scanned: amavisd-new at noacks.org cc: freebsd-stable@freebsd.org Subject: Re: nfs bug & df: Can I lock up my kernel and overflow this buffer? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: noackjr@alumni.rice.edu List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 May 2005 04:41:29 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigBAD9812C7A95DF908B60D6AB Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit On 05/09/05 23:14, Billy Newsom wrote: > > > Details: > * FreeBSD 5.3. Updated and compiled in mid-February. I froze it there > and may soon upgrade to 5.4, but I don't count on this fixing this issue. > > * I needed to make sure I had an nfs drive mounted properly, even after > a reboot, but didn't want to (couldn't?) put it in fstab. So cron has > this particular line(s). > > 44 10 * * * /sbin/mount_nfs -s -x 2 -T dell:/nfs /dellbak From the fstab(5) man page: "The fourth field, (fs_mntops), describes the mount options associated with the file system. It is formatted as a comma separated list of options. It contains at least the type of mount (see fs_type below) plus any additional options appropriate to the file system type. See the options flag (-o) in the mount(8) page and the file system specific page, such as mount_nfs(8), for additional options that may be specified." What trouble did you have with fstab? You can specify as many options as you want as long as you separate them with commas (I think putting a '=' between an option and its value is also necessary, although I don't know for sure). For you it should look like this (assuming you want read/write): dell:/nfs /dellbak nfs rw,-s,-x=2,-T 0 0 -- Jonathan Noack | noackjr@alumni.rice.edu | OpenPGP: 0x991D8195 --------------enigBAD9812C7A95DF908B60D6AB Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (FreeBSD) iD8DBQFCgDtrUFz01pkdgZURAv8ZAKDmltcmPEHDbqynzkBef8r+TKoecACgvr4S fO/W3m+RDM2p+sHJJsIh3a0= =GInO -----END PGP SIGNATURE----- --------------enigBAD9812C7A95DF908B60D6AB--