Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 24 Aug 1999 12:14:41 -0400
From:      Dutch Collins <dutch@charm.net>
To:        jkoshy@FreeBSD.ORG
Cc:        freebsd-doc@FreeBSD.ORG
Subject:   Re: New FAQ entry
Message-ID:  <37C2C4F1.B95AFE48@charm.net>
References:  <199908240911.CAA76582@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
jkoshy@FreeBSD.ORG wrote:
> 
> Comments solicited on the following FAQ entry:
> 
> ----------------------------------------------------------------
> Q: Can ordinary users mount floppies and other removable media?
> 
> A: Yes, they can, but this feature is not enabled by default in FreeBSD.
>    Here is how to allow non-root users to mount devices:
> 
>    1.   As `root' assign the appropriate permissions to the block
>         device associated with the removable media.  For example,
>         for floppies:
> 
>         # chmod 777 /dev/fd0
> 
>    2.   As 'root' set the sysctl variable 'vfs.usermount' to '1'.
> 
>         # sysctl -w vfs.usermount=1
> 
>    Users can now mount '/dev/fd0' onto any directory that they own:
> 
>    3.   $ mkdir ~/my-mount-point
>         $ mount -t msdos /dev/fd0 ~/my-mount-point
> 
>    Unmounting the device is simple:
> 
>    4.   $ umount ~/my-mount-point
> 
> ----------------------------------------------------------------
> 
> Regards,
> Koshy
> <jkoshy@freebsd.org>
> 
Comment on;

I use use the following. Not that I am too lazy but, I haven't
had time to try the FAQ yet. Ok, I will open another konsole.

     # mount_msdos /dev/fd0 /floppy

to unmount

     # umount /floppy

-d

----


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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?37C2C4F1.B95AFE48>