From owner-freebsd-current Sun May 19 4: 5:13 2002 Delivered-To: freebsd-current@freebsd.org Received: from mailsrv.otenet.gr (mailsrv.otenet.gr [195.170.0.5]) by hub.freebsd.org (Postfix) with ESMTP id 40AAF37B40C for ; Sun, 19 May 2002 04:05:04 -0700 (PDT) Received: from hades.hell.gr (patr364-a07.otenet.gr [195.167.109.39]) by mailsrv.otenet.gr (8.12.3/8.12.3) with ESMTP id g4JB50QJ004749; Sun, 19 May 2002 14:05:01 +0300 (EEST) Received: from hades.hell.gr (hades [127.0.0.1]) by hades.hell.gr (8.12.3/8.12.3) with ESMTP id g4JB4xIu033019; Sun, 19 May 2002 14:04:59 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) Received: (from charon@localhost) by hades.hell.gr (8.12.3/8.12.3/Submit) id g4JB4xjN033018; Sun, 19 May 2002 14:04:59 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) Date: Sun, 19 May 2002 14:04:58 +0300 From: Giorgos Keramidas To: Dima Dorfman Cc: Paul Herman , current@FreeBSD.org Subject: Re: mergemaster(8) broken -- uses Perl Message-ID: <20020519110458.GB32357@hades.hell.gr> References: <20020518231328.W1980-100000@mammoth.eat.frenchfries.net> <20020519062613.04B153E1A@turbine.trit.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020519062613.04B153E1A@turbine.trit.org> User-Agent: Mutt/1.3.99i Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On 2002-05-19 06:26, Dima Dorfman wrote: > Paul Herman wrote: > > > > bash$ /usr/obj/usr/src/usr.bin/fstat/fstat -s /tmp /kernel > > INODE DEV SIZE BLOCKS MODE FLAGS LNK UID GID ATIME MTIME CTIME NAME > > 235 226304 4114305 8096 100555 400000 1 0 0 1021779222 10217403541021740354 /kernel > > 56651 226304 512 4 041777 000000 6 0 0 1021787523 10217876571021787657 /tmp > > > > so you can parse it however you like. Either way, ls(1) or > > fstat(1), as long as you can get the info you need. :-) > > This looks much better than my extention. I look forward to seeing > this get into the tree. True. And it's only logical to have fstat print the `struct stat' fields. That would make things a *lot* easier, when trying to make mergemaster.sh avoid all kinds of perl ;-) -- Giorgos Keramidas - http://www.FreeBSD.org keramida@FreeBSD.org - The Power to Serve To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message