Re: how can i offload a 600m file without graphic tools?
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. :-) -- 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-unsubscr...@freebsd.org
Re: how can i offload a 600m file without graphic tools?
On Fri, Feb 17, 2012 at 02:27:07PM +0100, Polytropon wrote: Date: Fri, 17 Feb 2012 14:27:07 +0100 From: Polytropon free...@edvax.de Subject: Re: how can i offload a 600m file without graphic tools? To: Gary Kline kl...@thought.org Cc: FreeBSD Mailing List freebsd-questions@freebsd.org 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-unsubscr...@freebsd.org -- Gary Kline kl...@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. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
how can i offload a 600m file without graphic tools?
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! gary -- Gary Kline kl...@thought.org http://www.thought.org Public Service Unix Journey Toward the Dawn, E-Book: http://www.thought.org The 8.57a release of Jottings: http://jottings.thought.org Twenty-five years of service to the Unix community. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: how can i offload a 600m file without graphic tools?
Using scp you can copy data to/from your remote FreeBsd system. If the file is not on a local network, but on internet, you should use rsync instead of scp, it allows to continue copying if the network disconnects. If your home computer is a Windows PC you can install Cygwin to be able to open a console and execute scp. -- Leonardo M. Ramé http://leonardorame.blogspot.com From: Gary Kline kl...@thought.org To: FreeBSD Mailing List freebsd-questions@FreeBSD.ORG Sent: Monday, February 13, 2012 4:32 PM Subject: how can i offload a 600m file without graphic tools? 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! gary -- Gary Kline kl...@thought.org http://www.thought.org Public Service Unix Journey Toward the Dawn, E-Book: http://www.thought.org The 8.57a release of Jottings: http://jottings.thought.org Twenty-five years of service to the Unix community. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: how can i offload a 600m file without graphic tools?
From owner-freebsd-questi...@freebsd.org Mon Feb 13 13:37:30 2012 Date: Mon, 13 Feb 2012 11:32:07 -0800 From: Gary Kline kl...@thought.org To: FreeBSD Mailing List freebsd-questions@freebsd.org Cc: Subject: how can i offload a 600m file without graphic tools? 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! This is *intentionally* not a direct answer to your question. This is 'how you can _FIND_ answers yourself', with only a little effort. 'questions' should be your -last- resort -- not your first -- for something you haven't been able to figure out for yourself, and you *should* show some effort at having _tried_ to solve it yourself. You want a command to put files on a CDROM, right? CDROMs use an ISO-9660 filesystem, right? That gives some 'magic words' to search for -- Try apropos '(cdrom|iso|9660)' | egrep '(1|8)' |more And see if any commands jump out at you -- maybe something with 'create' in the description. Read the manpage, for how to build a filesystem image suitable for copying to a CD, and for a suggestion for a utility that will write the image to the disk. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org