Re: questions about some archive files, type *.rar
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!!! ___ 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: questions about some archive files, type *.rar
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, ... ___ 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: questions about some archive files, type *.rar
But say that I yanked the photos and used just plain text: 8-bit chars perhaps, and created my own CDROM version. --I *wouldn't* waste my time duplicating this collection, but say that I did. Could this be done in plain HTML and not require an ISO disc? you may use tar as it was said, but you may too use ANY filesystem on CD. unix don't differentiate between CD, DVD and harddisk. DVD is just readonly disk for unix. you may create say UFS filesystem on DVD-sized image or partition and then record it. just make sure your fragments are 2k or more ___ 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: questions about some archive files, type *.rar
To get such content from a DVD, you would just % tar xf /dev/dvd But I think this is only possible with UNIX (BSD, Linux, Solaris). "Windows" cannot handle this, of course. 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 ___ 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: questions about some archive files, type *.rar
On Mon, 15 Dec 2008 18:16:26 -0800, Gary Kline wrote: > But say that I yanked the photos and used just plain text: 8-bit chars > perhaps, and created my own CDROM version. --I *wouldn't* waste my time > duplicating this collection, but say that I did. Could this be done in > plain HTML and not require an ISO disc? I'm not sure I did understand the question correctly, but in order to make a CD or DVD browsable on "Windows" PCs, they need to have an ISO-9660 filesystem on it, eventually extended with the "Joilet" (I think it is called that way) extension because ISO-9660 has certain restrictions (8.3 filenames, directory depth, number of files in directories etc.). In UNIX world, we have the RockRidge extension to compensate this. But we don't need ISO-9660 in UNIX land. One of the best file systems (that isn't a file system in fact) for interoperability is tar. You could, for example, use tar to put your files on a CD or DVD (or at least use it to pre-master the content and then use a burning application to record it). To get such content from a DVD, you would just % tar xf /dev/dvd But I think this is only possible with UNIX (BSD, Linux, Solaris). "Windows" cannot handle this, of course. So, for your own CD-ROM version, try to use an ISO-9660 file system with the RockRidge extension, just like % mkisofs -r bla.iso sourcedir/ and then use your favourite burning application. If the RockRidge extension cannot map the file names and directories correctly, you can at least stick with tar: % tar cf bla.tar sourcedir/* If this isn't the answer, never mind, just reform the question. :-) -- Polytropon >From 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: questions about some archive files, type *.rar
This is my last post about the collection of comparative philosophy, literature, religion, an anthropology. The|One reason the disc was in ISO format is its jpegs or gigs embedded. And possibly because it was in html. But say that I yanked the photos and used just plain text: 8-bit chars perhaps, and created my own CDROM version. --I *wouldn't* waste my time duplicating this collection, but say that I did. Could this be done in plain HTML and not require an ISO disc? Oh, a first ack that the gnome file browser is worthwhile. It popped up when I inserted the DVD. A right-click let me open directories, then a broswer works perfectly whell to surf around. gary PS: write me off-list if you're curious in some old-old research. -- Gary Kline kl...@thought.org http://www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org The 2.17a release of Jottings: http://jottings.thought.org/index.php ___ 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: questions about some archive files, type *.rar
for free d/l. turns out there were 13 huge files in rar files. I have all. can these be catted together and the "unrar"d to form the original? don't cat. just unrar x unrar handles split archives ___ 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: questions about some archive files, type *.rar
just use "unrar" under archivers in ports collection. dont have to cat all the rar files together, "unrar" can un-compress it in sequence and generate the original files. TFC On Mon, Dec 15, 2008 at 3:09 PM, Gary Kline wrote: > >guys, > >last friday i found a public domain "DVD-ROM" of books available >for free d/l. turns out there were 13 huge files in rar files. >I have all. can these be catted together and the "unrar"d to form >the original? > >Oh: there was another version using bit-torrent, but that was taking >a long LONG time and stalled, so next time is a question about this >stuff. note that the torrent file was also in *rar format, so i'm > back to >the original quandry... > >if anybody knows what an rar file is, would you please hit me up with >a clue or two? > >tia, > >gary > > > > -- > Gary Kline kl...@thought.org http://www.thought.org Public Service Unix >http://jottings.thought.org http://transfinite.thought.org >The 2.12a release of Jottings: http://jottings.thought.org/index.php > > ___ > 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"
questions about some archive files, type *.rar
guys, last friday i found a public domain "DVD-ROM" of books available for free d/l. turns out there were 13 huge files in rar files. I have all. can these be catted together and the "unrar"d to form the original? Oh: there was another version using bit-torrent, but that was taking a long LONG time and stalled, so next time is a question about this stuff. note that the torrent file was also in *rar format, so i'm back to the original quandry... if anybody knows what an rar file is, would you please hit me up with a clue or two? tia, gary -- Gary Kline kl...@thought.org http://www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org The 2.12a release of Jottings: http://jottings.thought.org/index.php ___ 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"