Results 1 to 4 of 4
I recently installed FreeBSD 6.0-RELEASE, and I have a couple of very basic questions. First, how do I set up the CDROM drive so that it's mountable/unmountable by regular users, ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 01-24-2006 #1
Mounting CDROM, USB Thumb Drive in FreeBSD 6.0 **SOLVED**
I recently installed FreeBSD 6.0-RELEASE, and I have a couple of very basic questions. First, how do I set up the CDROM drive so that it's mountable/unmountable by regular users, or (for extra points) so that it automounts on insertion of a disc? Note that I can mount/umount just fine as root. That's not the issue.
I've looked at my /etc/fstab and the "options" column has ro, noauto. In Linux I simply needed to add users to the end of this column and all was well. In FreeBSD it tells me that "users" is not a valid option.
I also have a 512MB USB Thumb Drive that I would like to mount. I tried this:
mount_msdosfs /dev/da0 /mnt/usbdisk
- 01-26-2006 #2First, how do I set up the CDROM drive so that it's mountable/unmountable by regular users... ?
The first step is to allow users to run the mount command to actually mount a filesystem and to allow them to run the umount command. This is done by adding the following line to your /etc/sysctl.conf file.
vfs.usermount=1... It is important to note that while setting this variable allows ALL users to run the mount/umount commands to mount and unmount filesystems, mounting and unmounting will only be possible if:
I also have a 512MB USB Thumb Drive that I would like to mount.
- The user has read/write permission to the device they wish to mount.
- The user owns the directory they wish to mount the filesystem to.
If you're still having trouble I will have a look at my usb flash drive and how I got it working. I don't remember having to do anything special (other than what was noted in the handbook).
- 01-31-2006 #3
- Join Date
- Jan 2006
Try this and tell me if it worked for you.
I had the same problems you do.
I used this for my memorex drive.
mount_msdosfs /dev/da0s1 /mnt
- 02-06-2006 #4Originally Posted by monx