Re: [ILUG] CD-Writing over a network

From: Tor Bendiksen (Tor_Bendiksen at domain ie.ibm.com)
Date: Tue 12 Jun 2001 - 11:55:05 IST


>
>I'd be inclined to run it all *from* the Linux box with the CD-RW. Set up
>"file and Print Sharing" on the doze boxes, use
>mount -t smbfs //doze-box/share-name /mount/point
>to mount the box to clone, then use mkisofs to create an iso image, then
>use cdrecord to write the CD. You'd need to figure out how to feed
>passwords to the mount command (which must run as root to do the smbfs
>stuff, or that's what I've found. If you get this figured out for an
>ordinary user, please let me know) but,

man smbmount (wrapper for mount -t smbfs):

mount -t smbfs -o username=user,password=pass //doze-box/share /mnt/tmp

> once that's done, you can easily
>automate the process. What to do with that process if the drive goes over
>640Mb is left as an exercise for the reader (You can't use split to split
>an ISO image though). Overall process is something like:

>mount -t smbfs //doze-box/share-name /mount/point
>mkisofs -r -J -o doze.iso /mount/point
>cdrecord doze.iso
>umount /mount/point
>
>A little wrapper for mkisofs is below. Use the "size" option to get the
>image size without having to calculate it from the blocks count.

-Tor



This archive was generated by hypermail 2.1.6 : Thu 06 Feb 2003 - 13:10:38 GMT