From owner-freebsd-questions Wed Feb 6 14:37: 3 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mobil.cz (diana.mobil.cz [195.39.16.12]) by hub.freebsd.org (Postfix) with ESMTP id 3A2A137B423 for ; Wed, 6 Feb 2002 14:36:42 -0800 (PST) Received: from ester.mobil.cz (ester.mobil.cz [194.213.62.23]) by mobil.cz (8.11.6/8.11.0) with ESMTP id g16Mael24170 for ; Wed, 6 Feb 2002 23:36:41 +0100 Received: from roman.mobil.cz ([10.2.0.89]) by ester.mobil.cz (Lotus Domino Release 5.0.7) with ESMTP id 2002020623333852:1058 ; Wed, 6 Feb 2002 23:33:38 +0100 Received: (from roman@localhost) by roman.mobil.cz (8.11.6/8.11.6) id g16MlxP16642 for freebsd-questions@FreeBSD.ORG; Wed, 6 Feb 2002 23:47:59 +0100 (CET) (envelope-from neuhauser@mobil.cz) X-Authentication-Warning: roman.mobil.cz: roman set sender to neuhauser@mobil.cz using -f Date: Wed, 6 Feb 2002 23:47:58 +0100 From: Roman Neuhauser To: freebsd-questions@FreeBSD.ORG Subject: Re: Addinf to /etc/fstab Message-ID: <20020206224758.GJ99518@roman.mobil.cz> Mail-Followup-To: freebsd-questions@FreeBSD.ORG References: <000001c1af5b$97b300a0$a2238bd8@blah> Mime-Version: 1.0 In-Reply-To: <000001c1af5b$97b300a0$a2238bd8@blah> User-Agent: Mutt/1.3.26i X-MIMETrack: Itemize by SMTP Server on ester/Mobil(Release 5.0.7 |March 21, 2001) at 02/06/2002 11:33:38 PM, Serialize by Router on ester/Mobil(Release 5.0.7 |March 21, 2001) at 02/06/2002 11:33:44 PM, Serialize complete at 02/06/2002 11:33:44 PM Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG > From: "Remington" > To: > Subject: Addinf to /etc/fstab > Date: Wed, 6 Feb 2002 14:13:59 -0800 > > I want to add the NODEV, NOSUID, and NOEXEC flags(or whatever), and > quotas(my kernel is comiled to handle quotas) to a few of my partitions, > how can I do this? man fstab: The fourth field, (fs_mntops), describes the mount options associated with the filesystem. 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 filesystem type. See the options flag (-o) in the mount(8) page and the filesystem specific page, such as mount_nfs(8), for additional options that may be specified. if you want to add those options to, say your floppy mount, you could change /dev/fd0 /floppy ufs rw,noauto 0 0 to /dev/fd0 /floppy ufs rw,noauto,nodev,noexec,nosuid 0 0 -- FreeBSD 4.4-STABLE 11:43PM up 17 days, 6:07, 11 users, load averages: 0.04, 0.06, 0.01 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message