Date: Tue, 5 Sep 2000 18:38:09 +0300 From: Odhiambo Washington <vedette@iconnect.co.ke> To: freebsd-questions@freebsd.org Subject: Re: READ ONLY slice part II Message-ID: <20000905183809.A89363@siafu.iconnect.co.ke> In-Reply-To: <44hf7u7v6b.fsf@lowellg.ne.mediaone.net>; from Lowell Gilbert on Tue, Sep 05, 2000 at 10:47:08AM -0400 References: <20000905172725.A73078@siafu.iconnect.co.ke> <44hf7u7v6b.fsf@lowellg.ne.mediaone.net>
next in thread | previous in thread | raw e-mail | index | archive | help
Quoting Lowell Gilbert <lowell@world.std.com>: [000905 17:46]: Lowell Gilbert>vedette@iconnect.co.ke (Odhiambo Washington) writes: Lowell Gilbert> Lowell Gilbert>> Why is it that when I do make installworld the permission on /var/mail Lowell Gilbert>> changes from 1777 to 775??? When I reboot to multi user mode I have to Lowell Gilbert>> change it back. Someone must know where this comes from. Lowell Gilbert> Lowell Gilbert>mtree(8) Lowell Gilbert>The specification file, in this case, is /etc/mtree/BSD.var.dist Lowell Gilbert> Lowell Gilbert>> Is this also the same reason I cannot write to my msdos slice even though Lowell Gilbert>> it is mounted rw??? Lowell Gilbert> Lowell Gilbert>Probably not. At a guess, I'd say that's due to user permissions. Lowell Gilbert>Remember that there's no user information (or access permissions) in a Lowell Gilbert>DOS partition, so the mount command fakes it by using the mountpoint's Lowell Gilbert>information. See the man page for mount_msdos(8) for details. Lowell Gilbert> Lowell Gilbert>> # Device Mountpoint FStype Options Dump Pass# Lowell Gilbert>> /dev/ad0s2b none swap sw 0 0 Lowell Gilbert>> /dev/ad0s2a / ufs rw 1 1 Lowell Gilbert>> /dev/ad0s2e /usr ufs rw 2 2 Lowell Gilbert>> /dev/ad0s2f /var ufs rw 2 2 Lowell Gilbert>> /dev/ad0s1 /win msdos rw 0 0 Lowell Gilbert>> /dev/acd0c /cdrom cd9660 ro,noauto 0 0 Lowell Gilbert>> proc /proc procfs rw 0 0 Lowell Gilbert>> Lowell Gilbert>> Just to add....here is the output of /sbin/mount Lowell Gilbert>> Lowell Gilbert>> /dev/ad0s2a on / (ufs, local, soft-updates, writes: sync 5 async 147, reads: sync 233 async 8) Lowell Gilbert>> /dev/ad0s2e on /usr (ufs, local, soft-updates, writes: sync 2 async 383, reads: sync 4980 async 50) Lowell Gilbert>> /dev/ad0s2f on /var (ufs, local, writes: sync 161 async 328, reads: sync 66 async 14) Lowell Gilbert>> /dev/ad0s1 on /win (msdos, local, reads: sync 1 async 0) Lowell Gilbert>> procfs on /proc (procfs, local) Lowell Gilbert>> Lowell Gilbert>> I think there is a big conflict between what is in fstab and this Lowell Gilbert>> output... I need to correct this. Lowell Gilbert> Lowell Gilbert>I don't see any conflict between those; please elaborate if the Lowell Gilbert>earlier advice isn't sufficient. What I meant is that the fstab shows that /win should be mounted rw while the output of the real mount is actually 'reads' !! -Wash -- Absence and death are the same -- only that in death there is no suffering. -Walter Savage Landor 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?20000905183809.A89363>