Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 03 Oct 2002 09:59:24 -0700
From:      Lars Eggert <larse@ISI.EDU>
To:        current <current@FreeBSD.ORG>
Subject:   usermount with devfs
Message-ID:  <3D9C776C.1000409@isi.edu>

index | next in thread | raw e-mail

[-- Attachment #1 --]
Hi,

I'm trying to get all users in wheel to be able to mount floppied and 
CD-ROMs. I've set vfs.usermount=1, and found the devfs man page to add a 
rule (devfs rule add path acd0\* mode 664 group wheel).

Now, the device entries look like:

[root@nik: /etc] ll /dev/acd0*
crw-rw-r--  1 root  wheel  117,   0 Oct  2 15:57 /dev/acd0
lrwxr-xr-x  1 root  wheel         5 Oct  2 08:57 /dev/acd0a@ -> acd0
lrwxr-xr-x  1 root  wheel         5 Oct  2 08:57 /dev/acd0c@ -> acd0
crw-rw-r--  1 root  wheel  117, 0x00010000 Oct  2 15:57 /dev/acd0t01

Users still can't mount. I figured that maybe the permissions of the 
symlinks (when and where are those created anyway?) were the problem, so 
I removed /dev/acd0c and tried to recreate it with group write set:

[root@nik: /etc] rm /dev/acd0c
[root@nik: /etc] umask 0007 && ln -s /dev/acd0c /dev/acd0
ln: /dev/acd0: File exists

Which is really a strange error, since /dev/acd0c is gone:

[root@nik: /etc] ll /dev/acd0*
crw-rw-r--  1 root  wheel  117,   0 Oct  2 15:57 /dev/acd0
lrwxr-xr-x  1 root  wheel         5 Oct  2 08:57 /dev/acd0a@ -> acd0
crw-rw-r--  1 root  wheel  117, 0x00010000 Oct  2 15:57 /dev/acd0t01

Any clues?

Thanks,
Lars
-- 
Lars Eggert <larse@isi.edu>           USC Information Sciences Institute

[-- Attachment #2 --]
0	*H
010	+0	*H
	080fErtcvE.0
	*H
010	UZA10UWestern Cape10U	Cape Town10U
Thawte Consulting1(0&UCertification Services Division1$0"UThawte Personal Freemail CA1+0)	*H
	personal-freemail@thawte.com0
000830000000Z
040827235959Z010	UZA10UWestern Cape10U	Cape Town10
U
Thawte10UCertificate Services1(0&UPersonal Freemail RSA 2000.8.3000
	*H
032c	%E>nx'gڈD)c5*mp<ܮto034qmOe
KaU5u'rװ|CBPQ<9TIf-	kiN0L0)U"0 010UPrivateLabel1-2970U00U0
	*H
1KG]qSl]y=&b""I'{9$
*8PUl
LGlX1B	li+@]jy.%݊
Z<D&iHΥbb090%A0
	*H
010	UZA10UWestern Cape10U	Cape Town10
U
Thawte10UCertificate Services1(0&UPersonal Freemail RSA 2000.8.300
020824185339Z
030824185339Z0T10
UEggert1
0U*Lars10ULars Eggert10	*H
	
larse@isi.edu0"0
	*H
0
6Fxΰ7aED&0+Dj)ֽXCUcnleijmz~S0JjWV~	1^({IݛLjӖ
ao:bP}WLVܱ욗cDɖ_Kv.A(W49;Z8-uXE
6b
@_0%#d`Rto5 L0R`w@7
r	Hcc	U3%7N_oV0T0*+e!000L2uMyffBNUbNJJcdZ2s0U0
larse@isi.edu0U00
	*H
]Ȕ,fK<cjRZeLan@Z6,=
fK?yO#8+	Ni*LSfpQg<(aӒ$kTx_AL1>ގ|S090%A0
	*H
010	UZA10UWestern Cape10U	Cape Town10
U
Thawte10UCertificate Services1(0&UPersonal Freemail RSA 2000.8.300
020824185339Z
030824185339Z0T10
UEggert1
0U*Lars10ULars Eggert10	*H
	
larse@isi.edu0"0
	*H
0
6Fxΰ7aED&0+Dj)ֽXCUcnleijmz~S0JjWV~	1^({IݛLjӖ
ao:bP}WLVܱ욗cDɖ_Kv.A(W49;Z8-uXE
6b
@_0%#d`Rto5 L0R`w@7
r	Hcc	U3%7N_oV0T0*+e!000L2uMyffBNUbNJJcdZ2s0U0
larse@isi.edu0U00
	*H
]Ȕ,fK<cjRZeLan@Z6,=
fK?yO#8+	Ni*LSfpQg<(aӒ$kTx_AL1>ގ|S1'0#0010	UZA10UWestern Cape10U	Cape Town10
U
Thawte10UCertificate Services1(0&UPersonal Freemail RSA 2000.8.30%A0	+a0	*H
	1	*H
0	*H
	1
021003165925Z0#	*H
	1VӮ4,J(n[0R	*H
	1E0C0
*H
0*H
0
*H
@0+0
*H
(0*H
	1010	UZA10UWestern Cape10U	Cape Town10
U
Thawte10UCertificate Services1(0&UPersonal Freemail RSA 2000.8.30%A0
	*H
c}.`o DCᬦA7BeZfa8Ƃ?``ZAyqLK\\-`+vj7@C5aCZ֑RХ-+ٴm:/3zun1)'a3Q漧\Ai<W#"X,E<䮴=Y"Pq(Mkkۉ5-eSɑ>
U&|'X;#67̩͗;h:T
help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3D9C776C.1000409>