iso image question
I have a CD that was burned (but not labeled so well). Is is possible to tell if this is an i386 or amd64 image? ___ 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: iso image question
In article alpine.bsf.2.00.1208261419520.56...@fledge.watson.org you write: I have a CD that was burned (but not labeled so well). Is is possible to tell if this is an i386 or amd64 image? Sure. Mount it, do a file on some of the programs in /bin and see whether they're i386 or x86-64 code. R's, John ___ 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: Creating ISO image question
Hi Eddysan, Tks for your advice. I already solve my problem with following command line; $ mkisofs -R -o cdimage.raw -J -graft-points -hide-rr-moved /usr/home/user-A/Document-AAA/=/usr/home/user-A/Document-AAA/ But I like to learn an alternative. Try mkisofs -J -r -l -allow-lowercase -o outputfile.iso -V CD Lavel /dir $ mkisofs -J -r -l -allow-lowercase -o cdimage.iso -V CD Lavel /usr/home/user-A/Document-AAA/ . mkisofs: Joliet tree sort failed. cdimage could not be created. Previously it did happen occasionally on enabling -J flag. Another time it worked without problem with -J flag on. I still could not find out its cause. Removing -J flag then it worked $ mkisofs -r -l -allow-lowercase -o cdimage.iso -V CD Lavel /usr/home/user-A/Document-AAA/ creating a cdimage. However full path of directories still could not be created. B.R. Stephen On Mon, 2004-05-17 at 15:19, arden wrote: im guessing this is what you mean ? mkisofs -r -J -o cd_image.iso dir/ arden On Mon, 2004-05-17 at 12:28, Stephen Liu wrote: HI folks, I tried to solve following questions on creating ISO image with reference to 'man mkisofs' but could not resolve; Tree of diectories e.g. /usr/home/user-A/document-AAA/subdirectories 1) To include the complete tree starting from /user-A/document-AAA/subdirectories 2) To include the complete tree starting from /document-AAA/subdirectories Kindly advise. TIA B.R. Stephen Liu ___ Do You Yahoo!? Get your free @yahoo.com.hk address at http://mail.english.yahoo.com.hk ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Creating ISO image question
On Monday 17 May 2004 20:58, Stephen Liu wrote: HI folks, I tried to solve following questions on creating ISO image with reference to 'man mkisofs' but could not resolve; Tree of diectories e.g. /usr/home/user-A/document-AAA/subdirectories 1) To include the complete tree starting from /user-A/document-AAA/subdirectories 2) To include the complete tree starting from /document-AAA/subdirectories You have many responses but I think thay have not really understood your difficulty; or maybe it is I who has not understood. I believe that in case 1) you want to see the directory usr on the final CD containing subdirectory home etc. And in instance 2) you want to see the directory user-A on the final CD containing document-AAA etc. In the command mkisofs -r -J -o cd_image.iso dir/ the directory 'dir' does not actually appear on the CD. At the top level the CD would contain the files and subdirectories appearing in 'dir/'. To get the full sequence 'user-A/document-AAA/subdirectories/..' to appear on the CD you would need mkisofs -r -J -o cd_image.iso /usr/home/ But unfortaunately this will include all under home; not just user-A/document-AAA. The simplest way to achieve what I believe you want in instance 2) is to create a temporary tree of what you want to see on the CD: mkdir tree mkdir tree/user-A cp -Rp /usr/home/user-A/document-AAA tree/user-A mkisofs -r -J -o cd_image.iso tree (The mkisofs options are just an example -- probably not what you want) Now you can remove the temporary tree: rm -R tree You might be able to avoid this copying using the mkisofs option -graft-points ; but I have no experience with this. Good luck Malcolm ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Creating ISO image question
On Wed, May 19, 2004 at 01:29:16PM +0800, Stephen Liu wrote: Hi Joe, Tks for your advice. - snip- mkisofs -o cd_image.iso flags from mkisofs man page dir/ ? Applying following command lines 1) # mkisofs -o cdimage.raw -R /usr/home/user-A/document-AAA 2) # mkisofs -R -o cdimage.raw /usr/home/user-A/document-AAA 3) # mkisofs -o cdimage.raw -R -pathspec /usr/home/user-A/document-AAA all having same result. The path has not been copied to the cdimage, only the subdirectories under 'document-AAA' copied. Of course; that's what you told mkisofs to do. If adding -J to the command line, cdimage can't be created with warning 'mkisofs: Joliet tree sort failed' - snip - Generally I use: mkisofs -o filename.iso -J -R -P Joe -sysid BACKUP -V meaningful string -l backup/ Almost always, I use the same name for the filename and for the meaningful string. $ mkisofs -o cdimage.raw -J -R -P Stephen -sysid BACKUP -V /Storage-040517/ -l /usr/home/satimis/Storage-040517/ Plug and Process-Has the Era of Utility Computing Finally Arrived.html have the same Joliet name So rename them. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Creating ISO image question (PROBLEM SOLVED)
Hi Malcolm, Tks for your advice. You understand my need completely. Problem is now solved as stated at the bottom of this posting. I believe that in case 1) you want to see the directory usr on the final CD containing subdirectory home etc. And in instance 2) you want to see the directory user-A on the final CD containing document-AAA etc. In the command mkisofs -r -J -o cd_image.iso dir/ the directory 'dir' does not actually appear on the CD. At the top level the CD would contain the files and subdirectories appearing in 'dir/'. To get the full sequence 'user-A/document-AAA/subdirectories/..' to appear on the CD you would need mkisofs -r -J -o cd_image.iso /usr/home/ But unfortaunately this will include all under home; not just user-A/document-AAA. The simplest way to achieve what I believe you want in instance 2) is to create a temporary tree of what you want to see on the CD: mkdir tree mkdir tree/user-A cp -Rp /usr/home/user-A/document-AAA tree/user-A mkisofs -r -J -o cd_image.iso tree (The mkisofs options are just an example -- probably not what you want) Now you can remove the temporary tree: rm -R tree I don't expect it would be so complicate on FreeBSD. It is rather simple on Linux. You might be able to avoid this copying using the mkisofs option -graft-points ; but I have no experience with this. SOLUTION; $ mkisofs -U -R -o cdimage.raw -graft-points \ usr/home/user-A/document-AAA/=/usr/home/user-A/document-AAA 2 (two) folders then created; 1) user. Under this folder usr/home/user-A/document-AAA/subdirectories+files (full path) 2) rr_remove This is an empty folder I don't know how to get rid of the empty folder 'rr_remove'. If no solution I will burn a CD to test Lot of thanks for your HINT B.R. Stephen ___ Do You Yahoo!? Get your free @yahoo.com.hk address at http://mail.english.yahoo.com.hk ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Creating ISO image question (PROBLEM SOLVED)
On Wed, 19 May 2004, [iso-8859-1] Stephen Liu wrote: I don't expect it would be so complicate on FreeBSD. It is rather simple on Linux. But mkisofs is the same on both. SOLUTION; $ mkisofs -U -R -o cdimage.raw -graft-points \ usr/home/user-A/document-AAA/=/usr/home/user-A/document-AAA 2 (two) folders then created; 1) user. Under this folder usr/home/user-A/document-AAA/subdirectories+files (full path) 2) rr_remove This is an empty folder I don't know how to get rid of the empty folder 'rr_remove'. If no solution I will burn a CD to test See the option called '-hide-rr-moved' in the mkisofs man page. -Warren Block * Rapid City, South Dakota USA ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Creating ISO image question
Hi Joe, Tks for your advice. - snip- mkisofs -o cd_image.iso flags from mkisofs man page dir/ ? Applying following command lines 1) # mkisofs -o cdimage.raw -R /usr/home/user-A/document-AAA 2) # mkisofs -R -o cdimage.raw /usr/home/user-A/document-AAA 3) # mkisofs -o cdimage.raw -R -pathspec /usr/home/user-A/document-AAA all having same result. The path has not been copied to the cdimage, only the subdirectories under 'document-AAA' copied. If adding -J to the command line, cdimage can't be created with warning 'mkisofs: Joliet tree sort failed' - snip - Generally I use: mkisofs -o filename.iso -J -R -P Joe -sysid BACKUP -V meaningful string -l backup/ Almost always, I use the same name for the filename and for the meaningful string. $ mkisofs -o cdimage.raw -J -R -P Stephen -sysid BACKUP -V /Storage-040517/ -l /usr/home/satimis/Storage-040517/ Plug and Process-Has the Era of Utility Computing Finally Arrived.html have the same Joliet name B.R. Stephen ___ Do You Yahoo!? Get your free @yahoo.com.hk address at http://mail.english.yahoo.com.hk ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Creating ISO image question
HI folks, I tried to solve following questions on creating ISO image with reference to 'man mkisofs' but could not resolve; Tree of diectories e.g. /usr/home/user-A/document-AAA/subdirectories 1) To include the complete tree starting from /user-A/document-AAA/subdirectories 2) To include the complete tree starting from /document-AAA/subdirectories Kindly advise. TIA B.R. Stephen Liu ___ Do You Yahoo!? Get your free @yahoo.com.hk address at http://mail.english.yahoo.com.hk ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Creating ISO image question
On Mon, 17 May 2004, Stephen Liu wrote: HI folks, I tried to solve following questions on creating ISO image with reference to 'man mkisofs' but could not resolve; Take a look at /usr/share/examples/worm/makecdfs.sh It's a shell script the FreeBSD team uses for making the FreeBSD ISOs Fer ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Creating ISO image question
im guessing this is what you mean ? mkisofs -r -J -o cd_image.iso dir/ arden On Mon, 2004-05-17 at 12:28, Stephen Liu wrote: HI folks, I tried to solve following questions on creating ISO image with reference to 'man mkisofs' but could not resolve; Tree of diectories e.g. /usr/home/user-A/document-AAA/subdirectories 1) To include the complete tree starting from /user-A/document-AAA/subdirectories 2) To include the complete tree starting from /document-AAA/subdirectories Kindly advise. TIA B.R. Stephen Liu ___ Do You Yahoo!? Get your free @yahoo.com.hk address at http://mail.english.yahoo.com.hk ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Creating ISO image question
Hi arden, Tks for your advice. im guessing this is what you mean ? mkisofs -r -J -o cd_image.iso dir/ I made following test without result; $ mkisofs -r -J -o cd_image.iso /usr/home/user-A/Storage-040517 ... ... mkisofs: Joliet tree sort failed. The result I expect to have is after burning a folder named 'Storage-040517' found on the CD under which are directories and subdirectories. B.R. Stephen On Mon, 2004-05-17 at 12:28, Stephen Liu wrote: HI folks, I tried to solve following questions on creating ISO image with reference to 'man mkisofs' but could not resolve; Tree of diectories e.g. /usr/home/user-A/document-AAA/subdirectories 1) To include the complete tree starting from /user-A/document-AAA/subdirectories 2) To include the complete tree starting from /document-AAA/subdirectories Kindly advise. TIA B.R. Stephen Liu ___ Do You Yahoo!? Get your free @yahoo.com.hk address at http://mail.english.yahoo.com.hk ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ Do You Yahoo!? Get your free @yahoo.com.hk address at http://mail.english.yahoo.com.hk ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Creating ISO image question
Hi Fernando, Tks for your advice. I tried to solve following questions on creating ISO image with reference to 'man mkisofs' but could not resolve; Take a look at /usr/share/examples/worm/makecdfs.sh It's a shell script the FreeBSD team uses for making the FreeBSD ISOs I read the file 'makecdfs.sh' and /usr/share/examples/worm/Readme. The latter explains the use of burncd.sh mybigtestimage dummy But I could not discover the 'Readme' for 'makecdfs.sh' explaining how to use it and where will this file be copied to. B.R. Stephen ___ Do You Yahoo!? Get your free @yahoo.com.hk address at http://mail.english.yahoo.com.hk ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Creating ISO image question
On Tue, 18 May 2004, Stephen Liu wrote: Hi Fernando, Tks for your advice. I read the file 'makecdfs.sh' and /usr/share/examples/worm/Readme. The latter explains the use of burncd.sh mybigtestimage dummy But I could not discover the 'Readme' for 'makecdfs.sh' explaining how to use it and where will this file be copied to. There isn't a readme for makecdfs.sh Just run makecdfs.sh without arguments and it'll show a help message. B.R. Stephen ___ Do You Yahoo!? Get your free @yahoo.com.hk address at http://mail.english.yahoo.com.hk ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Creating ISO image question
On Mon, May 17, 2004 at 11:43:56PM +0800, Stephen Liu wrote: Hi arden, Tks for your advice. im guessing this is what you mean ? mkisofs -r -J -o cd_image.iso dir/ I made following test without result; $ mkisofs -r -J -o cd_image.iso /usr/home/user-A/Storage-040517 ... ... mkisofs: Joliet tree sort failed. The result I expect to have is after burning a folder named 'Storage-040517' found on the CD under which are directories and subdirectories. mkisofs -o cd_image.iso flags from mkisofs man page dir/ ? I know that at the top of the mkisofs man page it says that the -o option can come first; but the examples at the bottom of the man page indicate to put the name of the output file first. When I run mkisofs, I put it first; the basic syntax I offer above works for me. Generally I use: mkisofs -o filename.iso -J -R -P Joe -sysid BACKUP -V meaningful string -l backup/ Almost always, I use the same name for the filename and for the meaningful string. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Creating ISO image question
Hi Fernando, - snip - But I could not discover the 'Readme' for 'makecdfs.sh' explaining how to use it and where will this file be copied to. There isn't a readme for makecdfs.sh Just run makecdfs.sh without arguments and it'll show a help message. # makecdfs.sh makecdfs.sh: Command not found. $ makecdfs.sh makecdfs.sh: Command not found. where shall I copy 'makecdfs.sh' to /bin/ /usr/sbin/ etc. B.R. Stephen ___ Do You Yahoo!? Get your free @yahoo.com.hk address at http://mail.english.yahoo.com.hk ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Creating ISO image question
On Tue, 18 May 2004 08:31:35 +0800 (CST) Stephen Liu [EMAIL PROTECTED] wrote: Hi Fernando, - snip - But I could not discover the 'Readme' for 'makecdfs.sh' explaining how to use it and where will this file be copied to. There isn't a readme for makecdfs.sh Just run makecdfs.sh without arguments and it'll show a help message. # makecdfs.sh makecdfs.sh: Command not found. $ makecdfs.sh makecdfs.sh: Command not found. where shall I copy 'makecdfs.sh' to /bin/ /usr/sbin/ etc. or set your shell PATH to include the current directory or ./makecdfs.sh -- IOnut Unregistered ;) FreeBSD user ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]