Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 15 Jul 2002 19:40:10 +0930
From:      "Rob" <listone@deathbeforedecaf.net>
To:        "Adam Weinberger" <adam@vectors.cx>
Cc:        <freebsd-questions@FreeBSD.ORG>
Subject:   Re: FFS on CD-ROM - can it be done?
Message-ID:  <001301c22be7$ce621790$a4b826cb@goo>
References:  <004a01c22b31$1b706da0$a4b826cb@goo> <20020714174010.GE83258@vectors.cx>

next in thread | previous in thread | raw e-mail | index | archive | help
Thanks Adam. I tried mkisofs, but ran into problems with RockRidge:

  mkisofs: Error: goo/boot/boot0 and zim/boot/boot0 have the same Rock Ridge name
  mkisofs: Error: goo/boot/boot0 and gir/boot/boot0 have the same Rock Ridge name
  mkisofs: Error: zim/boot/boot0 and gir/boot/boot0 have the same Rock Ridge name

I can't find a solution to these name clashes, and IMAP maildirs have hundreds 
of similar names, which is likely to be even worse.

So I'm trying to use FFS instead, on the basis that it does this natively and 
doesn't have to deal with iso9660.

crackula is pretty cool too :-)

----- Original Message ----- 
From: "Adam Weinberger" <adam@vectors.cx>
To: "Rob" <listone@deathbeforedecaf.net>
Cc: <freebsd-questions@FreeBSD.ORG>
Sent: Monday, July 15, 2002 3:10 AM
Subject: Re: FFS on CD-ROM - can it be done?


> easiest way to get stuff on a cd is with mkisofs(8) from
> ports/sysutils/mkisofs.
> 
> with what you've used, you can read from the disk raw, like
> dd if=/dev/racd1c of=file.iso
> or just cp /dev/acd1c .
> 
> check out http://www.freebsd.org/doc/handbook/creating-cds.html
> 
> nice domain name ::)
> 
> -Adam
> 
> 
> >> (07.14.2002 @ 0522 PST): Rob said, in 1.6K: <<
> > Wise Ones,
> > 
> > I'm trying to put a FFS filesystem on CD-ROM. My current attempt builds 
> > a virtual filesystem with vnconfig + disklabel + newfs, then writes the image 
> > file using burncd. I end up with something that half works - df and fsdb can 
> > see the filesystem, but ffsinfo and mount can't.
> > 
> >   # mount -r /dev/acd1c /mnt
> >   mount: /dev/acd1c on /mnt: incorrect super block
> >   # df -h /dev/acd1c
> >   Filesystem    Size   Used  Avail Capacity  Mounted on
> >   /dev/acd1c    678M   256M   368M    41%    
> >   # ffsinfo /dev/acd1c
> >   ffsinfo: partition is unavailable
> >   # fsdb -r /dev/acd1c
> >   ** /dev/acd1c (NO WRITE)
> >   
> >   CANNOT READ: BLK 2048
> >   CONTINUE? yes
> >   
> >   THE FOLLOWING DISK SECTORS COULD NOT BE READ:
> >   Examining file system `/dev/acd1c'
> >   Last Mounted on /var/spool/cdrom-images/mount
> >   current inode: directory
> >   I=2 MODE=40755 SIZE=512
> >    MTIME=Jul  6 16:17:23 2002 [0 nsec]
> >    CTIME=Jul  6 16:17:23 2002 [0 nsec]
> >    ATIME=Jul  6 16:23:36 2002 [0 nsec]
> >   OWNER=root GRP=wheel LINKCNT=5 FLAGS=0 BLKCNT=2 GEN=baec144
> >   fsdb (inum: 2)> q
> > 
> > An exchange on the NetBSD/Sparc list a couple of years ago[1] mentioned that 
> > their CD-ROM driver doesn't actually read the disklabel but returns a 
> > hardcoded ISO layout. On the other hand, Solaris CDs can be partitioned like 
> > normal disks (the Software CD has 1 UFS slice and several HSFS slices). Does 
> > FreeBSD support non-standard CD layouts?
> > 
> > Thanks for the help
> > Rob.
> > 
> > 
> > 
> > [1] http://www.netsys.com/netbsd-port-sparc/1999/04/msg00080.html
> > 
> > -- 
> > Trust the Computer. The Computer is your friend.
> > 
> > 
> > To Unsubscribe: send mail to majordomo@FreeBSD.org
> > with "unsubscribe freebsd-questions" in the body of the message
> > 
> >> end of "FFS on CD-ROM - can it be done?" from Rob <<
> 
> 
> --
> "Oh good, my dog found the chainsaw."
>         -Lilo
> Adam Weinberger
> adam@vectors.cx
> http://www.crackula.com
> 
> 

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?001301c22be7$ce621790$a4b826cb>