From owner-freebsd-questions@FreeBSD.ORG Tue Dec 16 17:01:31 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 93E4B1065670 for ; Tue, 16 Dec 2008 17:01:31 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (wojtek.tensor.gdynia.pl [IPv6:2001:4070:101:2::1]) by mx1.freebsd.org (Postfix) with ESMTP id D8A8F8FC08 for ; Tue, 16 Dec 2008 17:01:30 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (localhost [IPv6:::1]) by wojtek.tensor.gdynia.pl (8.14.3/8.14.3) with ESMTP id mBGH14hV062080; Tue, 16 Dec 2008 18:01:04 +0100 (CET) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from localhost (wojtek@localhost) by wojtek.tensor.gdynia.pl (8.14.3/8.14.3/Submit) with ESMTP id mBGH136i062077; Tue, 16 Dec 2008 18:01:03 +0100 (CET) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Date: Tue, 16 Dec 2008 18:01:03 +0100 (CET) From: Wojciech Puchar To: Polytropon In-Reply-To: <20081216170827.aed39fee.freebsd@edvax.de> Message-ID: <20081216175539.C62057@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> <20081216170827.aed39fee.freebsd@edvax.de> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed 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 List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Dec 2008 17:01:31 -0000 > Thank you. Your system will be shut down now." > > Ah... autorun.inf and exit_windows_ex() are such modern tools autorun.inf is a few windows thing that is simple and even works. just remember to strip this first 512 bytes from iso file, as 512 bytes will be takes by tar header before iso file. ISO-9660 has such nice things as first 16 sectors are ignored, so it doesn't matter if it's zeros or tar header. personally - i use it not to annoy winusers, but to make DVDs with "hidden contents". like - first part visible to everyone, everything else - to the ones who know things. other way to do this is to use bsdlabels, windows will ignore this, while in FreeBSD you can have /dev/cd0a with ISO data, and /dev/cd0b with "hidden" data. this hidden data can be ISO format too, or tar, or UFS, and it can be encrypted with geli. if you do this - please DO USE ggatel to simulate 2kB sectored device before doing bsdlabel!!!