From owner-freebsd-fs Sun Sep 9 0:59: 4 2001 Delivered-To: freebsd-fs@freebsd.org Received: from ns.sovintel.ru (ns.sovintel.ru [212.44.130.6]) by hub.freebsd.org (Postfix) with ESMTP id 07D4137B405 for ; Sun, 9 Sep 2001 00:58:48 -0700 (PDT) Received: from ppp70-spb-213-221-48.sovintel.ru (ppp70-spb-213-221-48.sovintel.ru [213.221.48.70] (may be forged)) by ns.sovintel.ru (8.11.5/8.11.5) with SMTP id f897vKo66087 for ; Sun, 9 Sep 2001 11:57:32 +0400 (MSD) (envelope-from helprita@list.ru) Message-ID: <00de01c138d8$84c3cb40$1230ddd5@users.mns.ru> From: "alya radzik" To: freebsd-fs@FreeBSD.org Subject: =?koi8-r?B?0M/Nz8fJ1MUg09DB09TJIM3BzMXO2MvVwCDExdfP3svV?= Date: Sun, 9 Sep 2001 06:38:32 +0400 MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_NextPart_000_00DB_01C138FA.0B785720" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2417.2000 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 Sender: owner-freebsd-fs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org This is a multi-part message in MIME format. ------=_NextPart_000_00DB_01C138FA.0B785720 Content-Type: text/plain; charset="koi8-r" Content-Transfer-Encoding: 8bit Моей дочери Рите 7 лет. 1 января 2001 года у нее начались спазмы почки, а на следующий день вылился почти литр крови. Маргарите поставили страшный диагноз - опухоль Вилмса правой почки с метастазами в правое легкое, 4-я стадия. С этого момента девочка перенесла курс интенсивной лучевой и химиотерапии, тяжелейшую операцию по удалению правой почки и опухолевого тромба длиной 8.5 см., заражение крови через катетер, химический ожог кишечника, гемаррагический синдром и падение зрения. Состояние и мучения девочки не передать никакими словами. Несмотря на полгода интенсивных процедур лечение Маргариты далеко от успешного завершения. А ведь Рита всего лишь семилетняя девочка, которая очень любит танцевать и много трудилась до болезни, чтобы стать балериной. Наши опытные врачи дают нам благоприятный прогноз, но чтобы вылечиться, нам необходимы лекарства для защиты и поддержания органов, время от времени нужна кровь для вливания. Лекарства очень дорогие, одна ампула нейпогена стоит 180 долларов, а ампул нужно много, перед каждым блоком химии. 50 мг. дифлюкана в растворе стоят 550 рублей - это нам на день, 7 капсул дифлюкана по 50 мг. - около 900 рублей, а в день нужно принимать 2 капсулы. Мы должны пить эссенциале, покупать противорвотные латран, зофрам, для защиты сердца от токсического воздействия химии и общей поддержки нужны кардиоксан, инозия-ф, коэнзим Q10 и т.д. Рита очень нежная девочка и плохо переносит жесткий протокол лечения по 4 стадии. Она была на грани гибели после лечения химиопрепаратом карбоплатина. Поэтому ее перевели на менее жесткий протокол лечения по 3 стадии, но остающийся метастаз в легком вероятно вынудит врачей снова провести курс карбоплатины, о чем нас заранее предупредили, и тогда нам будет нужен амбизом - самый эффективный на сегодняшний день противогрибковый препарат. Нам понадобится около 10 ампул амбизома, а цена одной ампулы около 220 долларов. Его более дешевые аналоги для нас непригодны из-за токсичности. Мы с Ритой, ее бабушкой и моей сестрой живем в одной комнате (14.2 м2) в коммуналке на первом этаже, под нами в подвале постоянно стоит вода. Квартира темная и сырая. Даже когда ход лечения позволяет нам возвращаться домой, мы с дочкой часто предпочитаем оставаться в больнице, где условия проживания гораздо лучше. Я не могу работать, так как постоянно нахожусь на отделении вместе с Маргаритой. Моя мама получает пенсию 780 рублей, сестра зарабатывает около 1500 рублей. Прошу помощи, очень трудно! Заранее спасибо всем, кто откликнется. С уважением, Алевтина Раздик тел: (812)272-92-18 helprita@list.ru http://helprita.boom.ru ------=_NextPart_000_00DB_01C138FA.0B785720 Content-Type: image/jpeg; name="homerita.jpg" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="homerita.jpg" /9j/4AAQSkZJRgABAgEASwBLAAD//gAmRmlsZSB3cml0dGVuIGJ5IEFkb2JlIFBob3Rvc2h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KvIecXFD4SODVLdrpNI62GzFss/wDbq2qgEEw3hWDo QPEj/l1NC7hWhnUpluKjBnWpAlimClLdjWf7uVL8LGsstgJkk5gUJ8KpXrj07em+/wDMd2thuwPh oQ6nGVg2cd96ipNbooTGCMZEFitjys6ighO2ukGGbdu6gUIIPZVrDMb+2rDh2Vq0iOWLNc9pDfk1 AGNhioIvwxWvidNEspQdEo635Se/HjzZ1/50Pq5f8v6ypnHK0RdhsFiL5f2a1McoTOUWgdmsN3d5 F8zU+nnkWQRozRglSthhnj4mxyrqJLjynau8OPDR00ukeZmBYPmtnt5cvFSxTaCdG2HGwcC/stSP pFcTIQJEZGXlP0mGH3qGW/srVa+aOZQGL2CEg3OXqJlHUzQWaMRjFHGRDEczNj3Fjp5dbAZInjLd Wys3iX3fkzev2eT1M949P8qg7IXlmtlBJsIVjz8jeFa14nUhHXPT47lBUIycv6RfG9QNJ7kalhE8 YGIUSgqzr5EyoRmIRIB6lrXP0seWrRlXZDssQbXoAgC1ua+2go2kWN+N6u21jvP4GMUaRltrFVAv 9mmSeFQzj1EGLfzjvfWr9tbfb007nlpdTp7LIimKQ7GLb+5ieZUenhn1SOsitiLWANkLe3IuNKdL pS2sQgmaQkociyzKmzuJ9Ol000jam17mU5mxPp5N3lTwUXjhVGbeVFvmrYT/AA0+Fy+Kybo4Wt3m y7vL08/r1F8b0Ph8X6VrY48nUy6Xvf8AUqfoY/GX95a1rfoP0X8V/9k= ------=_NextPart_000_00DB_01C138FA.0B785720-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-fs" in the body of the message From owner-freebsd-fs Thu Sep 13 15:14:54 2001 Delivered-To: freebsd-fs@freebsd.org Received: from mail-out1.apple.com (mail-out1.apple.com [17.254.0.52]) by hub.freebsd.org (Postfix) with ESMTP id DF5B237B416 for ; Thu, 13 Sep 2001 15:14:50 -0700 (PDT) Received: from mailgate2.apple.com (A17-129-100-225.apple.com [17.129.100.225]) by mail-out1.apple.com (8.9.3/8.9.3) with ESMTP id PAA29925 for ; Thu, 13 Sep 2001 15:14:30 -0700 (PDT) Received: from scv2.apple.com (scv2.apple.com) by mailgate2.apple.com (Content Technologies SMTPRS 4.2.1) with ESMTP id for ; Thu, 13 Sep 2001 15:14:15 -0700 Received: from etsx (etsx.apple.com [17.202.44.209]) by scv2.apple.com (8.11.3/8.11.3) with ESMTP id f8DMEFw15065 for ; Thu, 13 Sep 2001 15:14:15 -0700 (PDT) Date: Thu, 13 Sep 2001 15:14:14 -0700 Mime-Version: 1.0 (Apple Message framework v468) Content-Type: text/plain; charset=US-ASCII; format=flowed Subject: vnode locking for nfs From: Earsh Nandkeshwar To: fs@freebsd.org Content-Transfer-Encoding: 7bit Message-Id: X-Mailer: Apple Mail (2.468) Sender: owner-freebsd-fs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org I was looking thru a snapshot of the freebsd code after hearing rumors that vnode locking for NFS existed. I can't seem to locate it and wanted to know if it has been implemented. This is not the same as lockd, but a lock to protect fields in vnode. I see rslock was implemented to handle a particular case. If someone could inform me on why nfs_lock was defined out of the source, that would be great. Was it implemented a long time ago, had trouble, and pulled out. Or was it more like "work in progress" and code left around but not used. Thanks, earsh (file system group, Apple) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-fs" in the body of the message From owner-freebsd-fs Thu Sep 13 16:28:30 2001 Delivered-To: freebsd-fs@freebsd.org Received: from elvis.mu.org (elvis.mu.org [216.33.66.196]) by hub.freebsd.org (Postfix) with ESMTP id DDB5837B401 for ; Thu, 13 Sep 2001 16:28:25 -0700 (PDT) Received: by elvis.mu.org (Postfix, from userid 1192) id A741E81D05; Thu, 13 Sep 2001 18:28:25 -0500 (CDT) Date: Thu, 13 Sep 2001 18:28:25 -0500 From: Alfred Perlstein To: Earsh Nandkeshwar Cc: fs@freebsd.org Subject: Re: vnode locking for nfs Message-ID: <20010913182825.O968@elvis.mu.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from earsh@apple.com on Thu, Sep 13, 2001 at 03:14:14PM -0700 Sender: owner-freebsd-fs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org * Earsh Nandkeshwar [010913 17:14] wrote: > I was looking thru a snapshot of the freebsd code after hearing rumors > that vnode locking for NFS existed. I can't seem to locate it and wanted > to know if it has been implemented. This is not the same as lockd, but a > lock to protect fields in vnode. > > I see rslock was implemented to handle a particular case. > > If someone could inform me on why nfs_lock was defined out of the > source, that would be great. Was it implemented a long time ago, had > trouble, and pulled out. Or was it more like "work in progress" and code > left around but not used. Hold grain of salt in left hand before proceeding... I think the problem is due to the way that our stateful VFS works, the problem is that locks must be held through certain loookup operations on multiple levels, hence if a server goes down we lock all the way to the root which is bad. Under the SunOS VFS many operations are split into multiple ops where locks are dropped, this avoids the problem but causes some operations to require two (or maybe more) itirations to function properly because they drop locks. Under GFS (mentioned in Vahallia (sp?)) it functions as the BSD model does (or at least close) however one can invalidate a lock forcing the long time lock holder to restart his operation. At least that's what my understanding from reading and hearing Kirk talk about it, I haven't actually explored this code yet. -- -Alfred Perlstein [alfred@freebsd.org] 'Instead of asking why a piece of software is using "1970s technology," start asking why software is ignoring 30 years of accumulated wisdom.' To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-fs" in the body of the message From owner-freebsd-fs Sat Sep 15 3:38: 0 2001 Delivered-To: freebsd-fs@freebsd.org Received: from moya.lambermont.dyndns.org (e165253.upc-e.chello.nl [213.93.165.253]) by hub.freebsd.org (Postfix) with ESMTP id DB4E937B417 for ; Sat, 15 Sep 2001 03:37:55 -0700 (PDT) Received: by moya.lambermont.dyndns.org (Postfix, from userid 1001) id AE67E3642E; Sat, 15 Sep 2001 12:37:53 +0200 (CEST) Date: Sat, 15 Sep 2001 12:37:53 +0200 To: freebsd-fs@FreeBSD.ORG Subject: symlink modes (once again probably) Message-ID: <20010915123753.A90565@moya.lambermont.dyndns.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i From: hans@lambermont.dyndns.org (H) Sender: owner-freebsd-fs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Hi I'm not sure whether symlinks should have, or not have, modes. But in my 4.2-STABLE system they have: drwxrwx--- 2 hans users 512 Sep 15 12:21 . lrwxr-xr-x 1 hans users 7 Sep 15 12:12 bla3 -> ../bla2 lrwxrwxr-x 1 hans users 7 Sep 15 12:15 bla4 -> ../bla2 The symlink modes were set by having umask 22 and umask 2 The modes cannot be changed by chmod, but according to CHMOD(1) 'Symbolic links do not have modes' which appears not to be true. So perhaps this man page should be updated, or something else is broken. Please also reply to hans@lambermont.dyndns.org as I'm not on -fs Hans -- http://lambermont.webhop.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-fs" in the body of the message From owner-freebsd-fs Sat Sep 15 5: 7:48 2001 Delivered-To: freebsd-fs@freebsd.org Received: from mailsrv.otenet.gr (mailsrv.otenet.gr [195.170.0.5]) by hub.freebsd.org (Postfix) with ESMTP id 92ADA37B40D for ; Sat, 15 Sep 2001 05:07:44 -0700 (PDT) Received: from hades.hell.gr (patr530-a020.otenet.gr [212.205.215.20]) by mailsrv.otenet.gr (8.11.5/8.11.5) with ESMTP id f8FC7dd00193; Sat, 15 Sep 2001 15:07:41 +0300 (EEST) Received: (from charon@localhost) by hades.hell.gr (8.11.6/8.11.6) id f8FBKdD54933; Sat, 15 Sep 2001 14:20:39 +0300 (EEST) (envelope-from charon@labs.gr) Date: Sat, 15 Sep 2001 14:20:38 +0300 From: Giorgos Keramidas To: H Cc: freebsd-fs@FreeBSD.ORG Subject: Re: symlink modes (once again probably) Message-ID: <20010915142038.A54127@hades.hell.gr> References: <20010915123753.A90565@moya.lambermont.dyndns.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010915123753.A90565@moya.lambermont.dyndns.org>; from hans@lambermont.dyndns.org on Sat, Sep 15, 2001 at 12:37:53PM +0200 X-PGP-Fingerprint: 3A 75 52 EB F1 58 56 0D - C5 B8 21 B6 1B 5E 4A C2 X-URL: http://students.ceid.upatras.gr/~keramida/index.html Sender: owner-freebsd-fs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org hans@lambermont.dyndns.org wrote: > > The modes cannot be changed by chmod, but according to CHMOD(1) > 'Symbolic links do not have modes' which appears not to be true. So > perhaps this man page should be updated, or something else is broken. Where does the manpage say that? My manpage for chmod says: -h If the file is a symbolic link, change the mode of the link itself rather than the file that the link points to. It would help if you mentioned which version of FreeBSD you're running, and when the chmod manpage you have was last updated. A quote from the manpage would be nice too. -giorgos To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-fs" in the body of the message From owner-freebsd-fs Sat Sep 15 6: 7:14 2001 Delivered-To: freebsd-fs@freebsd.org Received: from mail.wanlogistics.net (mail.wanlogistics.net [63.209.114.3]) by hub.freebsd.org (Postfix) with ESMTP id 27BC537B410 for ; Sat, 15 Sep 2001 06:07:10 -0700 (PDT) Received: from bilver.wjv.com (spdsl-033.wanlogistics.net [63.209.115.33]) by mail.wanlogistics.net (8.9.3/8.9.3) with ESMTP id JAA90739; Sat, 15 Sep 2001 09:07:08 -0400 (EDT) (envelope-from bill@wjv.com) Received: (from bill@localhost) by bilver.wjv.com (8.11.6/8.11.1) id f8FD6cS13471; Sat, 15 Sep 2001 09:06:38 -0400 (EDT) (envelope-from bill) Date: Sat, 15 Sep 2001 09:06:36 -0400 From: Bill Vermillion To: Giorgos Keramidas Cc: H , freebsd-fs@FreeBSD.ORG Subject: Re: symlink modes (once again probably) Message-ID: <20010915090636.A13259@wjv.com> Reply-To: bv@wjv.com References: <20010915123753.A90565@moya.lambermont.dyndns.org> <20010915142038.A54127@hades.hell.gr> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010915142038.A54127@hades.hell.gr>; from charon@labs.gr on Sat, Sep 15, 2001 at 02:20:38PM +0300 Organization: W.J.Vermillion / Orlando - Winter Park Sender: owner-freebsd-fs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Sat, Sep 15, 2001 at 02:20:38PM +0300, Giorgos Keramidas thus sprach: > hans@lambermont.dyndns.org wrote: > > The modes cannot be changed by chmod, but according to CHMOD(1) > > 'Symbolic links do not have modes' which appears not to be true. > > So perhaps this man page should be updated, or something else is > > broken. > Where does the manpage say that? In describes it like in my man pages directly after all the options. The date on the bottom of the page says March 31, 1994. Physical dates on l */chmod in /usr/share man look like this -rw-r--r-- 1 man wheel 2817 Sep 4 10:33 /usr/share/man/cat1/chmod.1.gz -rw-r--r-- 3 man wheel 2426 Mar 20 2000 /usr/share/man/cat2/chmod.2.gz -r--r--r-- 1 root wheel 3584 Sep 1 10:35 /usr/share/man/man1/chmod.1.gz -r--r--r-- 3 root wheel 3160 Sep 1 10:34 /usr/share/man/man2/chmod.2.gz Note that the dates relate to the time of the last makeworld and install world and is is release 4.4-RC. However if you enter chmod on a command line with no argument like this: Usage: chmod [-fhlHLPR] mode file ... Here is an -h flag there. There is no indication of a -v flag which is in the documentation. > My manpage for chmod says: > > -h If the file is a symbolic link, change the mode of the link > itself rather than the file that the link points to. And it is not in mine. My /usr/src/bin/chmod/chmod.1 also does not have an -h flag. The source - chmod.c - in that diretory say this. ------------- case 'h': /* * In System V (and probably POSIX.2) the -h option * causes chmod to change the mode of the symbolic * link. 4.4BSD's symbolic links don't have modes, * so it's an undocumented noop. Do syntax checking, * though. */ hflag = 1; break; /* -------------- > It would help if you mentioned which version of FreeBSD you're > running, and when the chmod manpage you have was last updated. A > quote from the manpage would be nice too. While I am not the author of the original comment I did the above, quoted the man pages, showed the source of the man pages, and the above source code has a date of August 16 09:36. I perform cvsup regularly. Now let me ask the same question you ask of the original poster. Dates of your man, man sources, chmod.c and chmod.1 ? It would interesting to see where the divergance occurs. Bill -- Bill Vermillion - bv @ wjv . com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-fs" in the body of the message From owner-freebsd-fs Sat Sep 15 10:56:43 2001 Delivered-To: freebsd-fs@freebsd.org Received: from moya.lambermont.dyndns.org (e165253.upc-e.chello.nl [213.93.165.253]) by hub.freebsd.org (Postfix) with ESMTP id 75B7437B40B for ; Sat, 15 Sep 2001 10:56:39 -0700 (PDT) Received: by moya.lambermont.dyndns.org (Postfix, from userid 1001) id 6416F3642E; Sat, 15 Sep 2001 19:56:38 +0200 (CEST) Date: Sat, 15 Sep 2001 19:56:38 +0200 To: freebsd-fs@FreeBSD.ORG Subject: Re: symlink modes (once again probably) Message-ID: <20010915195638.B90565@moya.lambermont.dyndns.org> References: <20010915123753.A90565@moya.lambermont.dyndns.org> <20010915142038.A54127@hades.hell.gr> <20010915090636.A13259@wjv.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010915090636.A13259@wjv.com>; from bill@wjv.com on Sat, Sep 15, 2001 at 09:06:36AM -0400 From: hans@lambermont.dyndns.org (H) Sender: owner-freebsd-fs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Bill Vermillion wrote: > On Sat, Sep 15, 2001 at 02:20:38PM +0300, Giorgos Keramidas thus sprach: > > hans@lambermont.dyndns.org wrote: > > > The modes cannot be changed by chmod, but according to CHMOD(1) > > > 'Symbolic links do not have modes' which appears not to be true. > > > So perhaps this man page should be updated, or something else is > > > broken. > > Where does the manpage say that? > In describes it like in my man pages directly after all the options. > The date on the bottom of the page says March 31, 1994. same date here. > Physical dates on l */chmod in /usr/share man look like this > > -rw-r--r-- 1 man wheel 2817 Sep 4 10:33 /usr/share/man/cat1/chmod.1.gz > -rw-r--r-- 3 man wheel 2426 Mar 20 2000 /usr/share/man/cat2/chmod.2.gz > -r--r--r-- 1 root wheel 3584 Sep 1 10:35 /usr/share/man/man1/chmod.1.gz > -r--r--r-- 3 root wheel 3160 Sep 1 10:34 /usr/share/man/man2/chmod.2.gz My 4.2-STABLE is even older: -rw-r--r-- 1 man wheel 2825 Jan 17 2001 /usr/share/man/cat1/chmod.1.gz -r--r--r-- 1 root wheel 3622 Dec 5 2000 /usr/share/man/man1/chmod.1.gz -r--r--r-- 3 root wheel 3168 Dec 5 2000 /usr/share/man/man2/chmod.2.gz > > My manpage for chmod says: > > -h If the file is a symbolic link, change the mode of the link > > itself rather than the file that the link points to. > And it is not in mine. Of course, it also is not in mine :o) Good that this is changed/fixed now. And for the record (interesting mail mangling follows) : Giorgos Keramidas wrote: > > It would help if you mentioned which version of FreeBSD you're > > running, I did. I stated in my original mail that it is a '4.2-STABLE system'. > > and when the chmod manpage you have was last updated. Ah, I didn't expect this to be important. 'March 31, 1994' for my CHMOD(1). > > A quote from the manpage would be nice too. I did too, 'Symbolic links do not have modes' is a quote from my CHMOD(1) I'm glad this (minor) problem is already resolved. Hans -- http://lambermont.webhop.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-fs" in the body of the message From owner-freebsd-fs Sat Sep 15 14:21: 5 2001 Delivered-To: freebsd-fs@freebsd.org Received: from mailsrv.otenet.gr (mailsrv.otenet.gr [195.170.0.5]) by hub.freebsd.org (Postfix) with ESMTP id 883EB37B40D for ; Sat, 15 Sep 2001 14:21:01 -0700 (PDT) Received: from hades.hell.gr (patr530-b106.otenet.gr [195.167.121.234]) by mailsrv.otenet.gr (8.11.5/8.11.5) with ESMTP id f8FLKRd14690; Sun, 16 Sep 2001 00:20:32 +0300 (EEST) Received: (from charon@localhost) by hades.hell.gr (8.11.6/8.11.6) id f8FJ1An10510; Sat, 15 Sep 2001 22:01:10 +0300 (EEST) (envelope-from charon@labs.gr) Date: Sat, 15 Sep 2001 22:01:09 +0300 From: Giorgos Keramidas To: bv@wjv.com Cc: H , freebsd-fs@FreeBSD.ORG Subject: Re: symlink modes (once again probably) Message-ID: <20010915220109.A10308@hades.hell.gr> References: <20010915123753.A90565@moya.lambermont.dyndns.org> <20010915142038.A54127@hades.hell.gr> <20010915090636.A13259@wjv.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010915090636.A13259@wjv.com>; from bill@wjv.com on Sat, Sep 15, 2001 at 09:06:36AM -0400 X-PGP-Fingerprint: 3A 75 52 EB F1 58 56 0D - C5 B8 21 B6 1B 5E 4A C2 X-URL: http://students.ceid.upatras.gr/~keramida/index.html Sender: owner-freebsd-fs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Bill Vermillion wrote: > On Sat, Sep 15, 2001 at 02:20:38PM +0300, Giorgos Keramidas thus sprach: > > hans@lambermont.dyndns.org wrote: > > > > Where does the manpage say that? > > Note that the dates relate to the time of the last makeworld and > install world and is is release 4.4-RC. Yep, that's what I was interested in. The revision of the file. Actually, the manpage I have (running 5.0-CURRENT) had this part removed. The actual change that enabled the -h option happened in May 2001, as the commit log says. revision 1.21 date: 2001/05/28 15:31:11; author: ru; state: Exp; lines: +18 -8 Change noop option -h to do the real work. Now mode of symbolic link is changed if -h option is given. Requested by: bde Obtained from: NetBSD (code part) This does not appear to have made it in RELENG_4_4 so far. > Now let me ask the same question you ask of the original poster. > Dates of your man, man sources, chmod.c and chmod.1 ? I was a bit harsh in asking the exact version of your OS/manpage. I'm running 5.0 compiled on Sep 10, 2001, and my options to find out anything about why you see this difference was to skim through CVS logs, or ask. My apologies if I sounded nasty :/ > It would interesting to see where the divergance occurs. The change was committed in -CURRENT last May. You can view what changed if you request a diff (from cvsweb.cgi) of src/bin/chmod.c for versions 1.20 -> 1.21. Perhaps ru@freebsd.org meant to MFC this, but didn't have the time to do it before the release of 4.4. -giorgos To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-fs" in the body of the message