NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: bin/38171 (mount_ffs doesn't work on CDs)



The following reply was made to PR bin/38171; it has been noted by GNATS.

From: Matthew Mondor <mm_lists%pulsar-zone.net@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: 
Subject: Re: bin/38171 (mount_ffs doesn't work on CDs)
Date: Thu, 17 Feb 2011 00:41:17 -0500

 On Wed,  9 Feb 2011 10:05:03 +0000 (UTC)
 Izumi Tsutsui <tsutsui%ceres.dti.ne.jp@localhost> wrote:
 
 > The following reply was made to PR bin/38171; it has been noted by GNATS.
 > 
 > From: Izumi Tsutsui <tsutsui%ceres.dti.ne.jp@localhost>
 > To: gnats-bugs%NetBSD.org@localhost
 > Cc: tsutsui%ceres.dti.ne.jp@localhost
 > Subject: Re: bin/38171 (mount_ffs doesn't work on CDs)
 > Date: Wed, 9 Feb 2011 19:04:00 +0900
 > 
 >  > Synopsis: mount_ffs doesn't work on CDs
 >   :
 >  > The necessary blocksize translation layer should probably be written 
 > sometime
 >  > but probably won't be happening particularly soon...
 >  
 >  FYI, ffs with bsize=16384,fsize=2048 on CD-R can be mounted by mount_ffs(8).
 
 Lately I wanted to try this on netbsd-5/i386 but was getting issues
 (EINVAL received by getdents(2) at ls(1) attempts) with seemingly empty
 directories which did have files.  I however first tried with FFSv2 and
 -b 16384 -f 2048 as above.  Then I tried with FFSv2 and 512 blocks and
 using a fake cd0 label as chown in the CGD on DVD guide, but with very
 limited success (/ would list, other directories wouldn't, and EINVAL
 would occur for getdents(2) and open(2) or read(2) in a known to exist
 file).
 
 Later I tried with FFSv1 and without any special option, as shown in
 the guide, along with a real label on CGD and a fake fixed label on
 cd0, and that worked.  It's unclear if it's an FFSv2 issue, and I
 didn't yet decide to scrap more DVDs trying.
 
 For reference, the current working scripts for netbsd-5 can be found at:
 http://ftp.pulsar-zone.net/conf/cgd-dvd.tgz
 
 Thanks,
 -- 
 Matt
 


Home | Main Index | Thread Index | Old Index