Skip site navigation (1)Skip section navigation (2)
Date:      05 Sep 2000 10:47:08 -0400
From:      Lowell Gilbert <lowell@world.std.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: READ ONLY slice part II
Message-ID:  <44hf7u7v6b.fsf@lowellg.ne.mediaone.net>
In-Reply-To: vedette@iconnect.co.ke's message of "5 Sep 2000 16:29:16 %2B0200"
References:  <20000905172725.A73078@siafu.iconnect.co.ke>

next in thread | previous in thread | raw e-mail | index | archive | help
vedette@iconnect.co.ke (Odhiambo Washington) writes:

> Why is it that when I do make installworld the permission on /var/mail
> changes from 1777 to 775??? When I reboot to multi user mode I have to
> change it back. Someone must know where this comes from.

mtree(8)
The specification file, in this case, is /etc/mtree/BSD.var.dist

> Is this also the same reason I cannot write to my msdos slice even though
> it is mounted rw???

Probably not.  At a guess, I'd say that's due to user permissions.
Remember that there's no user information (or access permissions) in a
DOS partition, so the mount command fakes it by using the mountpoint's
information.  See the man page for mount_msdos(8) for details.

> # Device		Mountpoint	FStype	Options		Dump	Pass#
> /dev/ad0s2b		none		swap	sw		0	0
> /dev/ad0s2a		/		ufs	rw		1	1
> /dev/ad0s2e		/usr		ufs	rw		2	2
> /dev/ad0s2f		/var		ufs	rw		2	2
> /dev/ad0s1		/win		msdos	rw		0	0
> /dev/acd0c		/cdrom	cd9660	ro,noauto	0	0
> proc			/proc		procfs	rw		0	0
> 
> Just to add....here is the output of /sbin/mount
> 
> /dev/ad0s2a on / (ufs, local, soft-updates, writes: sync 5 async 147, reads: sync 233 async 8)
> /dev/ad0s2e on /usr (ufs, local, soft-updates, writes: sync 2 async 383, reads: sync 4980 async 50)
> /dev/ad0s2f on /var (ufs, local, writes: sync 161 async 328, reads: sync 66 async 14)
> /dev/ad0s1 on /win (msdos, local, reads: sync 1 async 0)
> procfs on /proc (procfs, local)
> 
> I think there is a big conflict between what is in fstab and this
> output... I need to correct this.

I don't see any conflict between those; please elaborate if the
earlier advice isn't sufficient.

Good luck.


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?44hf7u7v6b.fsf>