Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 28 Apr 2007 13:32:54 -0700
From:      Graham North <northg@shaw.ca>
To:        "illoai@gmail.com" <illoai@gmail.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: normal mount points
Message-ID:  <4633AF76.4010408@shaw.ca>
In-Reply-To: <d7195cff0704281255n3c4e4585sce1d49851ffb8452@mail.gmail.com>
References:  <463390A0.20508@shaw.ca> <d7195cff0704281255n3c4e4585sce1d49851ffb8452@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <northg@shaw.ca> 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.
>

-- 

Graham North
Vancouver BC
Canada

www.soleado.ca

Kindness is infectous, try it.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4633AF76.4010408>