From owner-freebsd-questions@FreeBSD.ORG Fri Feb 17 20:54:59 2012 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 ABE68106566C for ; Fri, 17 Feb 2012 20:54:59 +0000 (UTC) (envelope-from kline@thought.org) Received: from thought.org (plato.thought.org [209.180.213.209]) by mx1.freebsd.org (Postfix) with ESMTP id 6FCBE8FC16 for ; Fri, 17 Feb 2012 20:54:59 +0000 (UTC) Received: by thought.org (Postfix, from userid 1001) id 849E1E80683; Fri, 17 Feb 2012 12:54:58 -0800 (PST) Date: Fri, 17 Feb 2012 12:54:58 -0800 From: Gary Kline To: Polytropon Message-ID: <20120217205458.GC4055@thought.org> References: <20120213193150.GA24425@thought.org> <20120217142707.4da1f6a2.freebsd@edvax.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20120217142707.4da1f6a2.freebsd@edvax.de> Organization: Thought Unlimited. Public service Unix since 1986. Of_Interest: With 25 years of service to the Unix community. User-Agent: Mutt/1.5.21 (2010-09-15) Cc: FreeBSD Mailing List Subject: Re: how can i offload a 600m file without graphic tools? 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: Fri, 17 Feb 2012 20:54:59 -0000 On Fri, Feb 17, 2012 at 02:27:07PM +0100, Polytropon wrote: > Date: Fri, 17 Feb 2012 14:27:07 +0100 > From: Polytropon > Subject: Re: how can i offload a 600m file without graphic tools? > To: Gary Kline > Cc: FreeBSD Mailing List > X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) > > On Mon, 13 Feb 2012 11:32:07 -0800, Gary Kline wrote: > > > > w can i move a file from my home filesystem to my one disc drive > > without using a GUI? i don't have a graphic interface on my FBSD > > system and want to save a 600MB file to my cdrom? > > > > thanks for tips on what i have Long forgotten! > > I hope I can interpret your question correctly: You need to > burn a 600 MB file to a disc (typically a CD, but could be a > DVD too)? > > That's quite easy: CDs typically use the ISO-9660 file system > which mkisofs (from ports) creates, and a program like cdrecord > or cdrdao can burn it to the media. For a DVD, growisofs will > do that part. > > Step 1: > > % mkisofs -r -J -o bigfile.iso bigfile > > where "bigfile" is the file you want to store. The flags -r and > -J make sure the file system will also be properly interpreted > on non-standard systems; -o specifies the output file. > > Step 2: > > % cdrecord dev=0,0,0 speed=10 -v -eject -tao -data bigfile.iso > > In order to know _what_ device to record to, run > > % camcontrol devlist > > Make sure you have proper permissions to access the files in /dev > that are needed. If not, use "sudo" prefix or do the required parts > using "su". > > In the "camcontrol devlist" output, available drives will be > listed. Bus, taget and LUN will form the "trinity" address that > will then be used in the dev= parameter. > > After successful burning, > > % rm bigfile.iso > > as it's not needed anymore. > > You can also use a piping mechanism from mkisofs to cdrecord, but I > didn't want to make it that complicated. :-) > > In case you need to burn a DVD because the file gets bigger than > 650..700 MB, only one step is needed: > > % growisofs -dvd-compat -Z /dev/dvd -r -J bigfile > > In this case, /dev/dvd is a symlink to /dev/cd0 (see "camcontrol > devlist" output again, but look for the associated SCSI devices). > > If you already have the ISO file, use > > % growisofs -dvd-compat -Z /dev/dvd=bigfile.iso > > to record it to DVD. > > > > Note that there are other ways to store data on CDs and DVDs > which are intendedly less compatible by omitting the ISO 9660 > file system. :-) > > > > i was going to ask you offlist, but then found this stuff -- or a subset of -- in my howto file. then, yesterday, i finally tried to change the bios of my target machine. busted. rats! > > > > -- > Polytropon > Magdeburg, Germany > Happy FreeBSD user since 4.0 > Andra moi ennepe, Mousa, ... > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" -- Gary Kline kline@thought.org http://www.thought.org Public Service Unix Voice By Computer (for Universal Access): http:/www.thought.org/vbc The 8.57a release of Jottings: http://jottings.thought.org Twenty-five years of service to the Unix community.