Date: Tue, 15 Aug 2006 17:33:42 +0100 From: Daniel Bye <freebsd-questions@slightlystrange.org> To: freebsd-questions@freebsd.org Subject: Re: Stupid question about mountpoints and fstab Message-ID: <20060815163341.GA92647@catflap.slightlystrange.org> In-Reply-To: <20060815154143.GN69670@ns2.wananchi.com> References: <20060815154143.GN69670@ns2.wananchi.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--BOKacYhQ+x31HxR3 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Aug 15, 2006 at 06:41:43PM +0300, Odhiambo Washington wrote: > Hello people, >=20 > I have never figured out something like this can be done, but today I=20 > see it. We have purchased s co-lo server. They have installed it and > given me access to "do whatever you want with the box", but their > fstab has left me thirsty, wanting to know what's going on ... >=20 >=20 > sp2817a# less /etc/fstab > # Device Mountpoint FStype Options Dump P= ass# > /dev/ad0s1b none swap sw 0 0 > /dev/ad0s1a / ufs rw 1 1 > /dev/ad0s1g /home ufs rw 2 2 > /dev/ad0s1e /tmp ufs rw 2 2 > /dev/ad0s1f /usr ufs rw 2 2 > /dev/ad0s1d /var ufs rw 2 2 > /dev/ad0s2 /home ufs rw 2 2 > /dev/acd0 /cdrom cd9660 ro,noauto 0 0 >=20 > sp2817a# df -h > Filesystem Size Used Avail Capacity Mounted on > /dev/ad0s1a 2.9G 54M 2.6G 2% / > devfs 1.0K 1.0K 0B 100% /dev > /dev/ad0s1g 15G 22K 13G 0% /home > /dev/ad0s1e 248M 8.0K 228M 0% /tmp > /dev/ad0s1f 9.7G 1.9G 7.0G 22% /usr > /dev/ad0s1d 6.8G 46M 6.2G 1% /var > /dev/ad0s2 72G 22K 66G 0% /home >=20 >=20 > Now, if someone can explain to me what the hell is being done with > /home in this server... ;) Erm, isn't it where your home directory will go? ;-p It looks to me like it might be some species of typo, or possibly a a lesser spotted oversight. You can easily enough create a new=20 mountpoint and edit /etc/fstab accordingly, as you have been given=20 carte blanche to do what you will... As it stands, I think ad0s2=20 will get mounted on top of ad0s1g, rendering it invisible and=20 inaccessible. Dan --=20 Daniel Bye PGP Key: http://www.slightlystrange.org/pgpkey-dan.asc PGP Key fingerprint: D349 B109 0EB8 2554 4D75 B79A 8B17 F97C 1622 166A _ ASCII ribbon campaign ( ) - against HTML, vCards and X - proprietary attachments in e-mail / \ --BOKacYhQ+x31HxR3 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (FreeBSD) iD8DBQFE4fdlixf5fBYiFmoRAhSQAKCBkuGh2uCHowRRA8rXKHOHE3vGXgCgyqda 8rGXsa8NLvsiL48mEsLzt48= =JJLF -----END PGP SIGNATURE----- --BOKacYhQ+x31HxR3--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060815163341.GA92647>