From owner-freebsd-questions@FreeBSD.ORG Sun Apr 29 06:01:44 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id A4B0516A401 for ; Sun, 29 Apr 2007 06:01:44 +0000 (UTC) (envelope-from northg@shaw.ca) Received: from pd3mo1so.prod.shaw.ca (shawidc-mo1.cg.shawcable.net [24.71.223.10]) by mx1.freebsd.org (Postfix) with ESMTP id 8265213C45E for ; Sun, 29 Apr 2007 06:01:44 +0000 (UTC) (envelope-from northg@shaw.ca) Received: from pd2mr6so.prod.shaw.ca (pd2mr6so-qfe3.prod.shaw.ca [10.0.141.9]) by l-daemon (Sun ONE Messaging Server 6.0 HotFix 1.01 (built Mar 15 2004)) with ESMTP id <0JH8002HKWPBOT60@l-daemon> for freebsd-questions@freebsd.org; Sun, 29 Apr 2007 00:00:47 -0600 (MDT) Received: from pn2ml1so.prod.shaw.ca ([10.0.121.145]) by pd2mr6so.prod.shaw.ca (Sun Java System Messaging Server 6.2-7.05 (built Sep 5 2006)) with ESMTP id <0JH80043KWPB6M50@pd2mr6so.prod.shaw.ca> for freebsd-questions@freebsd.org; Sun, 29 Apr 2007 00:00:48 -0600 (MDT) Received: from [192.168.1.101] ([24.81.202.129]) by l-daemon (Sun ONE Messaging Server 6.0 HotFix 1.01 (built Mar 15 2004)) with ESMTP id <0JH8008RBWP93U40@l-daemon> for freebsd-questions@freebsd.org; Sun, 29 Apr 2007 00:00:46 -0600 (MDT) Date: Sat, 28 Apr 2007 23:00:44 -0700 From: Graham North In-reply-to: <20070429021759.GA2862@holestein.holy.cow> To: Jerry McAllister , Graham North , freebsd-questions@freebsd.org Message-id: <4634348C.3000104@shaw.ca> MIME-version: 1.0 References: <463390A0.20508@shaw.ca> <20070429010026.GB9913@gizmo.acns.msu.edu> <20070429021759.GA2862@holestein.holy.cow> User-Agent: Thunderbird 1.5.0.10 (Windows/20070221) Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: Re: normal mount points X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 29 Apr 2007 06:01:44 -0000 Hi Parv: And also thanks to the other people who responded earlier. I did not knowingly set up automounter - is this something I would have had to do? or part of a default install? I am still hoping that somebody can tell me what /net and /host are - inted? samba?? Thanks again. Graham/ btw: My previous send seems to have bounced... It read: Hmmm. My system is 4.11 so that would explain /proc. Could /net and /host be related to running apache or samba? I did not knowingly create these "devices" I haven't been as vigilant as I could have been for security (one of my reasons for an upcoming reinstall), so there is a possibility of the server being hijacked...? But I don't want to assume the worst on false concersns.. illoai@gmail.com wrote: > On 28/04/07, Graham North wrote: >> I ran the df command last night to check slice sizes in anticipation of >> doing some backup and eventual tranfer to a new machine. >> The output gave me not just normal slices that were created at install >> but also three additional (mount points?) >> /proc >> /net >> /host >> >> The machine is a simple web server and print server with little else on >> it. Can some explain to me (or point me to) an explanation of mount >> points? > > > Filesystem 1K-blocks Used Avail Capacity Mounted on > /dev/ad0s1a 1012974 36926 895012 4% / > devfs 1 1 0 100% /dev > /dev/ad2s1d 5616214 716542 4450376 14% /home > /dev/ad0s1e 1012974 22352 909586 2% /tmp > . . . > > Mount points are merely directories where devices > are mounted as part of the filesystem. These can be > automatically mounted by a listing in /etc/fstab or manually > mounted using /sbin/mount. That they show up in df's > listing means that something is in fact mounted on it. > > Typing "mount" at a command prompt will give you a listing > of mounted devices like so: > > /dev/ad0s1a on / (ufs, local) > devfs on /dev (devfs, local) > /dev/ad2s1d on /home (ufs, NFS exported, local, nosuid, soft-updates) > /dev/ad0s1e on /tmp (ufs, local, soft-updates) > . . . > > As none of those above (/proc /net /host) are part of the > standard layout (Well, /proc was on 4.x and earlier) some- > one at some time has added them. > Parv wrote: > in message <20070429010026.GB9913@gizmo.acns.msu.edu>, > wrote Jerry McAllister thusly... > >> On Sat, Apr 28, 2007 at 11:21:20AM -0700, Graham North wrote: >> >> >>> I ran the df command last night to check slice sizes in >>> anticipation of doing some backup and eventual tranfer to a new >>> machine. The output gave me not just normal slices that were >>> created at install but also three additional (mount points?) >>> /proc >>> /net >>> /host >>> >> No problem. /proc is sort of a psuedo file system that enables >> some routines such as top to look at certain pieces of >> information. >> >> Probably /net and /host are also psuedo file systems, but I have >> never seen them before. If they are legit, they are for something >> I do not run. >> > > Could it be that /{ne,hos}t mount points are due to use of > a{manda,utomounter}? > > > - Parv > > -- Graham North Vancouver BC Canada www.soleado.ca Kindness is infectous, try it.