From owner-freebsd-questions@FreeBSD.ORG Tue Dec 16 16:08:39 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2AD5E1065676 for ; Tue, 16 Dec 2008 16:08:39 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx01.qsc.de (mx01.qsc.de [213.148.129.14]) by mx1.freebsd.org (Postfix) with ESMTP id DBED68FC22 for ; Tue, 16 Dec 2008 16:08:38 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from r55.edvax.de (port-92-196-68-238.dynamic.qsc.de [92.196.68.238]) by mx01.qsc.de (Postfix) with ESMTP id 4119D3C9D3; Tue, 16 Dec 2008 17:08:32 +0100 (CET) Received: from r55.edvax.de (localhost [127.0.0.1]) by r55.edvax.de (8.14.2/8.14.2) with SMTP id mBGG8R35024071; Tue, 16 Dec 2008 17:08:27 +0100 (CET) (envelope-from freebsd@edvax.de) Date: Tue, 16 Dec 2008 17:08:27 +0100 From: Polytropon To: Wojciech Puchar Message-Id: <20081216170827.aed39fee.freebsd@edvax.de> In-Reply-To: <20081216105710.O59100@wojtek.tensor.gdynia.pl> References: <20081215200949.GA48169@thought.org> <20081215222314.GA61777@Grumpy.DynDNS.org> <20081216021626.GB64553@thought.org> <20081216041014.52b54151.freebsd@edvax.de> <20081216105710.O59100@wojtek.tensor.gdynia.pl> Organization: EDVAX X-Mailer: Sylpheed 2.4.7 (GTK+ 2.12.1; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: Gary Kline , FreeBSD Mailing List Subject: Re: questions about some archive files, type *.rar X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Dec 2008 16:08:39 -0000 On Tue, 16 Dec 2008 10:59:39 +0100 (CET), Wojciech Puchar wrote: > you may create small .iso image that consist of some stupid images, readme > or autorun configured to format c: ;), then strip first 512 bytes of it > with > > dd if=winiso.iso bs=512 skip=1 of=tmp;mv tmp winiso.iso > > THEN > > tar Your files as you said, but put winiso.iso first :) > > this way - unix user using tar will extract what's needed (just have to > delete winiso.iso after), windoze user will see what you wanted in > winiso.iso Good evening Wojciech, I didn't know you could be such a mean guy! :-) This is one of the most excellent ideas I read from this list so far. I think I'll play with this a bit and surely find some "Windows" users to annoy. "What, you cannot read the files? Let me check... tar... bla bla... no, works as intended. Please check your installation and ask your local dealer for the latest 'Windows' update, something's wrong on your side, maybe you have a virus?" Another impolite idea: DialogBox hInstance bla "In order to play this DVD, you need to install an operating systen on your computer. Please delete 'Windows' and replace it with an OS. Thank you. Your system will be shut down now." Ah... autorun.inf and exit_windows_ex() are such modern tools that make the life easier. :-) -- Polytropon >From Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...