Re: mount_nfs/df bug?
Thus spake Kevin Day ([EMAIL PROTECTED]): > This is probably similar to this: > http://www.freebsd.org/cgi/query-pr.cgi?pr=6187 Not sure. I don't think so. Alex -- cat: /home/alex/.sig: No such file or directory To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
Re: mount_nfs/df bug?
On Wed, Jun 21, 2000 at 09:50:57PM +0200, Cyrille Lefevre wrote: > well, what about exporting a directory w/o exporting a filesystem ? > which is usefull somethimes. possible too ? Add the directory to exports and HUP mountd. (I think that in the kernel the exports are at a filesystem level, so while you can export any directory a naughty client can do "cd ../../../.." and find their way back up to the top of the exported filesystem. Most people's NFS clients won't allow you to do this, but you could write your own client to do it). David. To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
Re: mount_nfs/df bug?
> > Hello! > > Today I wanted to add a new NFS to my /etc/fstab, but forgot to add it > to /etc/exports on the server. > However, I did mount -a several times and always got a "Permission > denied" for the last one. > > Now look what I have here: > > Filesystem 1K-blocks UsedAvail Capacity Mounted on > /dev/ad2a 396895 2919047324080%/ > /dev/ad2e 5257421 4626154 21067496%/usr > procfs 440 100%/proc > /dev/ad0s1 4224828 3755464 46936489%/dos > neutron:/usr/ports 496367 3634489321080%/usr/ports > neutron:/usr/ports-distfiles 2482878 1191660 109258852% >/usr/ports-distfiles > neutron:/usr/home/ncvs 992439 9606843175597%/usr/home/ncvs > neutron:/usr/src928695 482371 37202956%/usr/src > neutron:/usr/home/mp3 9591515 9298876 29263997%/usr/home/mp3 > neutron:/usr/home/brenn 695311 5948384484993%/usr/home/brenn > neutron:/www/docs 297423 168669 10496162%/www > neutron:/usr/doc 2482878 1191660 109258852%/usr/doc > neutron:/usr/home/ncvs 992439 9606843175597%/usr/home/ncvs > neutron:/usr/home/mp3 9591515 9298876 29263997%/usr/home/mp3 > neutron:/usr/home/brenn 695311 5948384484993%/usr/home/brenn > neutron:/usr/home/ncvs 992439 9606843175597%/usr/home/ncvs > neutron:/usr/home/mp3 9591515 9298876 29263997%/usr/home/mp3 > neutron:/usr/home/brenn 695311 5948384484993%/usr/home/brenn > neutron:/usr/home/ncvs 992439 9606843175597%/usr/home/ncvs > neutron:/usr/home/mp3 9591515 9298876 29263997%/usr/home/mp3 > neutron:/usr/home/brenn 695311 5948384484993%/usr/home/brenn > neutron:/usr/home/ncvs 992439 9606843175597%/usr/home/ncvs > neutron:/usr/home/mp3 9591515 9298876 29263997%/usr/home/mp3 > neutron:/usr/home/brenn 695311 5948384484993%/usr/home/brenn > > Cute, isn't it? > > Not yet discovered why. > > Alex > -- > cat: /home/alex/.sig: No such file or directory > > > To Unsubscribe: send mail to [EMAIL PROTECTED] > with "unsubscribe freebsd-current" in the body of the message > This is probably similar to this: http://www.freebsd.org/cgi/query-pr.cgi?pr=6187 -- Kevin To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
Re: mount_nfs/df bug?
David Malone <[EMAIL PROTECTED]> writes: > On Wed, Jun 21, 2000 at 02:35:51AM +0200, Cyrille Lefevre wrote: > > > why there isn't an exportfs command as most unices have ? > > "killall -HUP mountd" or "mount -u /" both work. This is mentioned > in the mountd man page, but should probably also be mentioned in > the exports man page. well, what about exporting a directory w/o exporting a filesystem ? which is usefull somethimes. possible too ? Cyrille. -- home:mailto:[EMAIL PROTECTED] Supprimer "no-spam." pour me repondre. work:mailto:[EMAIL PROTECTED] Remove "no-spam." to answer me back. To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
Re: mount_nfs/df bug?
Alexander Langer wrote: >> You probably have a symlink in the client path somewhere. Is /usr/home >> a symlink to /home or something? > > drwxr-xr-x 7 root wheel 512 6 Mär 14:45 /usr/home/ > lrwxrwxrwx 1 root wheel 9 27 Feb 20:33 /home@ -> /usr/home ok, that's not it, the /home symlink shouldn't matter... Or are any of the affected directories (brenn, mp3, ncvs) symlinks? Or maybe your /etc/fstab lists /home/foo instead of /usr/home/foo? > However, that is not the point. Well, if symlinks are involved I think this is a known bug. Would you care to fix it? :-) Whether it's a bug in the mount(8) program, the mount(2) syscall, or somewhere deeper, I don't know. -- Ben Smithurst / [EMAIL PROTECTED] / PGP: 0x99392F7D PGP signature
Re: mount_nfs/df bug?
On Wed, Jun 21, 2000 at 02:35:51AM +0200, Cyrille Lefevre wrote: > why there isn't an exportfs command as most unices have ? "killall -HUP mountd" or "mount -u /" both work. This is mentioned in the mountd man page, but should probably also be mentioned in the exports man page. David. To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
Re: mount_nfs/df bug?
Thus spake Ben Smithurst ([EMAIL PROTECTED]): > > neutron:/usr/home/ncvs 992439 9606843175597%/usr/home/ncvs > > neutron:/usr/home/mp3 9591515 9298876 29263997%/usr/home/mp3 > > neutron:/usr/home/brenn 695311 5948384484993%/usr/home/brenn > > neutron:/usr/home/ncvs 992439 9606843175597%/usr/home/ncvs > > neutron:/usr/home/mp3 9591515 9298876 29263997%/usr/home/mp3 > > neutron:/usr/home/brenn 695311 5948384484993%/usr/home/brenn > > neutron:/usr/home/ncvs 992439 9606843175597%/usr/home/ncvs > > neutron:/usr/home/mp3 9591515 9298876 29263997%/usr/home/mp3 > > neutron:/usr/home/brenn 695311 5948384484993%/usr/home/brenn > > neutron:/usr/home/ncvs 992439 9606843175597%/usr/home/ncvs > > neutron:/usr/home/mp3 9591515 9298876 29263997%/usr/home/mp3 > > neutron:/usr/home/brenn 695311 5948384484993%/usr/home/brenn > > You probably have a symlink in the client path somewhere. Is /usr/home > a symlink to /home or something? drwxr-xr-x 7 root wheel 512 6 Mär 14:45 /usr/home/ lrwxrwxrwx 1 root wheel 9 27 Feb 20:33 /home@ -> /usr/home However, that is not the point. After having rebootet: Filesystem 1K-blocks UsedAvail Capacity Mounted on /dev/ad2a 396895 2896187552679%/ /dev/ad2e 5257421 4632631 20419796%/usr procfs 440 100%/proc /dev/ad0s1 4224828 3755464 46936489%/dos neutron:/usr/ports 496367 183788 27287040%/usr/ports neutron:/usr/ports-distfiles 2482878 1191972 109227652%/usr/ports-distfiles neutron:/usr/home/ncvs 992439 9615493089097%/usr/home/ncvs neutron:/usr/src928695 482050 37235056%/usr/src neutron:/usr/home/mp3 9591515 9298876 29263997%/usr/home/mp3 neutron:/usr/home/brenn 695311 5948384484993%/usr/home/brenn neutron:/www/docs 297423 168669 10496162%/www neutron:/usr/doc 2482878 1191972 109227652%/usr/doc And now, some mount -a later: root:~ $ mount -a nfs: can't access /var: Permission denied root:~ $ mount -a nfs: can't access /var: Permission denied root:~ $ mount -a nfs: can't access /var: Permission denied Filesystem 1K-blocks UsedAvail Capacity Mounted on /dev/ad2a 396895 2896187552679%/ /dev/ad2e 5257421 4632631 20419796%/usr procfs 440 100%/proc /dev/ad0s1 4224828 3755464 46936489%/dos neutron:/usr/ports 496367 183788 27287040%/usr/ports neutron:/usr/ports-distfiles 2482878 1191972 109227652%/usr/ports-distfiles neutron:/usr/home/ncvs 992439 9615493089097%/usr/home/ncvs neutron:/usr/src928695 482050 37235056%/usr/src neutron:/usr/home/mp3 9591515 9298876 29263997%/usr/home/mp3 neutron:/usr/home/brenn 695311 5948384484993%/usr/home/brenn neutron:/www/docs 297423 168669 10496162%/www neutron:/usr/doc 2482878 1191972 109227652%/usr/doc neutron:/usr/home/ncvs 992439 9615493089097%/usr/home/ncvs neutron:/usr/home/mp3 9591515 9298876 29263997%/usr/home/mp3 neutron:/usr/home/brenn 695311 5948384484993%/usr/home/brenn neutron:/usr/home/ncvs 992439 9615493089097%/usr/home/ncvs neutron:/usr/home/mp3 9591515 9298876 29263997%/usr/home/mp3 neutron:/usr/home/brenn 695311 5948384484993%/usr/home/brenn neutron:/usr/home/ncvs 992439 9615493089097%/usr/home/ncvs neutron:/usr/home/mp3 9591515 9298876 29263997%/usr/home/mp3 neutron:/usr/home/brenn 695311 5948384484993%/usr/home/brenn First of all, I'm going to correct the export problem, which I kept because of this nice bug :) Alex -- cat: /home/alex/.sig: No such file or directory To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
Re: mount_nfs/df bug?
Alexander Langer wrote: > neutron:/usr/home/ncvs 992439 9606843175597%/usr/home/ncvs > neutron:/usr/home/mp3 9591515 9298876 29263997%/usr/home/mp3 > neutron:/usr/home/brenn 695311 5948384484993%/usr/home/brenn > neutron:/usr/home/ncvs 992439 9606843175597%/usr/home/ncvs > neutron:/usr/home/mp3 9591515 9298876 29263997%/usr/home/mp3 > neutron:/usr/home/brenn 695311 5948384484993%/usr/home/brenn > neutron:/usr/home/ncvs 992439 9606843175597%/usr/home/ncvs > neutron:/usr/home/mp3 9591515 9298876 29263997%/usr/home/mp3 > neutron:/usr/home/brenn 695311 5948384484993%/usr/home/brenn > neutron:/usr/home/ncvs 992439 9606843175597%/usr/home/ncvs > neutron:/usr/home/mp3 9591515 9298876 29263997%/usr/home/mp3 > neutron:/usr/home/brenn 695311 5948384484993%/usr/home/brenn You probably have a symlink in the client path somewhere. Is /usr/home a symlink to /home or something? -- Ben Smithurst / [EMAIL PROTECTED] / PGP: 0x99392F7D PGP signature
Re: mount_nfs/df bug?
Alexander Langer <[EMAIL PROTECTED]> writes: > Today I wanted to add a new NFS to my /etc/fstab, but forgot to add it > to /etc/exports on the server. > However, I did mount -a several times and always got a "Permission > denied" for the last one. why there isn't an exportfs command as most unices have ? Cyrille. -- home:mailto:[EMAIL PROTECTED] Supprimer "no-spam." pour me repondre. work:mailto:[EMAIL PROTECTED] Remove "no-spam." to answer me back. To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
Re: mount_nfs/df bug?
FreeBSD cichlids.cichlids.com 5.0-CURRENT FreeBSD 5.0-CURRENT #0: Wed Jun 14 22:25:49 CEST 2000 [EMAIL PROTECTED]:/usr/src/sys/compile/cichlids i386 To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
mount_nfs/df bug?
Hello! Today I wanted to add a new NFS to my /etc/fstab, but forgot to add it to /etc/exports on the server. However, I did mount -a several times and always got a "Permission denied" for the last one. Now look what I have here: Filesystem 1K-blocks UsedAvail Capacity Mounted on /dev/ad2a 396895 2919047324080%/ /dev/ad2e 5257421 4626154 21067496%/usr procfs 440 100%/proc /dev/ad0s1 4224828 3755464 46936489%/dos neutron:/usr/ports 496367 3634489321080%/usr/ports neutron:/usr/ports-distfiles 2482878 1191660 109258852%/usr/ports-distfiles neutron:/usr/home/ncvs 992439 9606843175597%/usr/home/ncvs neutron:/usr/src928695 482371 37202956%/usr/src neutron:/usr/home/mp3 9591515 9298876 29263997%/usr/home/mp3 neutron:/usr/home/brenn 695311 5948384484993%/usr/home/brenn neutron:/www/docs 297423 168669 10496162%/www neutron:/usr/doc 2482878 1191660 109258852%/usr/doc neutron:/usr/home/ncvs 992439 9606843175597%/usr/home/ncvs neutron:/usr/home/mp3 9591515 9298876 29263997%/usr/home/mp3 neutron:/usr/home/brenn 695311 5948384484993%/usr/home/brenn neutron:/usr/home/ncvs 992439 9606843175597%/usr/home/ncvs neutron:/usr/home/mp3 9591515 9298876 29263997%/usr/home/mp3 neutron:/usr/home/brenn 695311 5948384484993%/usr/home/brenn neutron:/usr/home/ncvs 992439 9606843175597%/usr/home/ncvs neutron:/usr/home/mp3 9591515 9298876 29263997%/usr/home/mp3 neutron:/usr/home/brenn 695311 5948384484993%/usr/home/brenn neutron:/usr/home/ncvs 992439 9606843175597%/usr/home/ncvs neutron:/usr/home/mp3 9591515 9298876 29263997%/usr/home/mp3 neutron:/usr/home/brenn 695311 5948384484993%/usr/home/brenn Cute, isn't it? Not yet discovered why. Alex -- cat: /home/alex/.sig: No such file or directory To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message