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: Henry Bent <hbent%cs.oberlin.edu@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: 
Subject: Re: bin/38171: mount_ffs doesn't work on CDs
Date: Wed, 5 Mar 2008 18:15:20 -0500 (EST)

 On Wed, 5 Mar 2008, Martin Husemann wrote:
 
 > What does
 >
 >   disklabel cd0
 >
 > and
 >
 >   dumpfs /dev/rcd0a | head -30
 >
 > say?
 >
 
 aelfric# disklabel cd0
 # /dev/rcd0d:
 type: ATAPI
 disk: mydisc
 label: fictitious
 flags: removable
 bytes/sector: 2048
 sectors/track: 100
 tracks/cylinder: 1
 sectors/cylinder: 100
 cylinders: 2086
 total sectors: 208500
 rpm: 300
 interleave: 1
 trackskew: 0
 cylinderskew: 0
 headswitch: 0           # microseconds
 track-to-track seek: 0  # microseconds
 drivedata: 0
 
 4 partitions:
 #        size    offset     fstype [fsize bsize cpg/sgs]
   a:    208500         0     4.2BSD      0     0     0  # (Cyl.      0 - 
 2084)
   d:    208500         0    ISO9660       0             # (Cyl.      0 - 
 2084)
 disklabel: boot block size 0
 disklabel: super block size 0
 disklabel: partitions a and d overlap
 
 aelfric# dumpfs /dev/rcd0a | head -30
 file system: /dev/rcd0a
 endian  little-endian
 magic   11954 (UFS1)    time    Tue Apr 28 09:09:37 1992
 cylgrp  static  inodes  4.2/4.3BSD      sblock  FFSv1   fslevel 0
 nbfree  48480   ndir    4       nifree  192496  nffree  21
 ncg     94      ncyl    1492    size    416256  blocks  390670
 bsize   8192    shift   13      mask    0xffffe000
 fsize   1024    shift   10      mask    0xfffffc00
 frag    8       shift   3       fsbtodb 1
 cpg     16      bpg     558     fpg     4464    ipg     2048
 minfree 10%     optim   time    maxcontig 8     maxbpg  256
 rotdelay 0ms    headswitch 0us  trackseek 0us   rps     60
 ntrak   9       nsect   62      npsect  0       spc     558
 symlinklen -1   trackskew 0     interleave 0    contigsumsize -1
 maxfilesize 0xffffffffffffffff
 nindir  2048    inopb   64      nspf    2
 sblkno  16      cblkno  24      iblkno  32      dblkno  288
 sbsize  8192    cgsize  2048    offset  32      mask    0xfffffff0
 csaddr  288     cssize  2048    shift   9       mask    0xfffffe00
 cgrotor 17      fmod    0       ronly   0       clean   0x1e
 flags   unclean acls
 fsmnt   /mnt
 blocks available in each of 8 rotational positions
 cylinder number 0:
     position 0:      0    4    8   12   31
     position 1:     16   20   24   28
     position 2:      1    5    9   13   32
     position 3:     17   21   25   29
     position 4:      2    6   10   14   33
     position 5:     18   22   26   30
 
 --
 Henry Bent
 hbent%cs.oberlin.edu@localhost
 


Home | Main Index | Thread Index | Old Index