RC2 and vfs.usermount

Alexandre Sunny Kovalenko Alex.Kovalenko at verizon.net
Thu Dec 25 16:57:22 PST 2003


On Thu, 25 Dec 2003 22:07:34 +0100
Harald Schmalzbauer <h at schmalzbauer.de> wrote:

> It is. It's a nfs mountpoint, but I also tried another one on the local hard 
> disk owned by the user. No difference. It just doesn't work and I have no 
> idea why :(
> 
> -Harry
> 
> >
> >
> > Cheers,
> 

I am sorry if it sounds silly, but is it possible that it is already mounted?
e.g.:

RabbitsDen# ls -l /dev/acd0
crw-rw-r--  1 root  operator    4,  16 Dec 25 09:46 /dev/acd0
RabbitsDen# ls -l / | grep cdrom
drwxr-xr-x   2 sunny  wheel      512 Dec 20 17:46 cdrom
RabbitsDen# sysctl vfs.usermount
vfs.usermount: 1
RabbitsDen# su - sunny
sunny:RabbitsDen>mount /cdrom
sunny:RabbitsDen>mount
/dev/ad0s2a on / (ufs, local)
devfs on /dev (devfs, local)
/dev/ad0s1 on /C (ntfs, local, read-only)
linprocfs on /usr/compat/linux/proc (linprocfs, local)
/dev/acd0 on /cdrom (cd9660, local, nodev, nosuid, read-only, mounted by sunny)
sunny:RabbitsDen>mount /cdrom
cd9660: /dev/acd0: Operation not permitted
sunny:RabbitsDen>

-- 
Alexandre "Sunny" Kovalenko.


More information about the freebsd-current mailing list