*BSD News Article 57357


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.mel.connect.com.au!munnari.OZ.AU!spool.mu.edu!howland.reston.ans.net!plug.news.pipex.net!pipex!dish.news.pipex.net!pipex!handbag.tecc.co.uk!parody.tecc.co.uk!not-for-mail
From: james@parody.tecc.co.uk (James Raynard)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: chmod'ing msdos fs and mount problems
Date: 10 Dec 1995 00:41:33 -0000
Organization: A FreeBSD box
Lines: 23
Message-ID: <4adabt$2j1@parody.tecc.co.uk>
References: <4acqam$2m8@ccshst05.cs.uoguelph.ca>
NNTP-Posting-Host: localhost

In article <4acqam$2m8@ccshst05.cs.uoguelph.ca>,
The YossMan <yossman@osiris.cs.uoguelph.ca> wrote:
>I am mounting two msdos filesystems, /dos and /dos2, at bootup.  I want 
>to change the permissions so that no one but root will be able to even 
>look at the filessystems.

According to the mount_msdos man page, the -m flag to mount specifies the 
maximum file system permissions when mounting a DOS fs and the -u and -g
flags specify the ownership. For example,

mount -t msdos -m 700 -u 0 -g 0 /dev/wd0s1 /dos

>which leads me to me second question.  When i load /dos2, which is an IDE 
>1.03GIG drive (second physical drive), I get "mountmsdosfs(): root 
>directory is not a multiple of the clustersize in length".  I don't 
>really know what this means or what to expect when using the filesystem, 
>so I have disabled loading it for now.  Any ideas?

Sorry, don't know.

James
-- 
Segmentation fault (core dumped): cannot find file '.signature'