Date: Mon, 15 Jul 2002 08:04:14 +0200 From: Bernd Walter <ticso@cicely5.cicely.de> To: Rob <listone@deathbeforedecaf.net> Cc: freebsd-questions@FreeBSD.ORG Subject: Re: FFS on CD-ROM - can it be done? Message-ID: <20020715060413.GF63545@cicely5.cicely.de> In-Reply-To: <004a01c22b31$1b706da0$a4b826cb@goo> References: <004a01c22b31$1b706da0$a4b826cb@goo>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Jul 14, 2002 at 09:52:22PM +0930, Rob wrote: > 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 ^^^^^^^^ Here is your problem! > 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 CDs have a blocksize of 2048 bytes. Therefor you need your filesystem newfs'ed with -f 2048. -- B.Walter COSMO-Project http://www.cosmo-project.de ticso@cicely.de Usergroup info@cosmo-project.de 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?20020715060413.GF63545>