NetBSD-Bugs archive

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

Re: kern/54470: Adapt FFS to work with HP-UX UFS1 variant



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

From: Konrad Schroder <perseant%hhhh.org@localhost>
To: gnats-bugs%netbsd.org@localhost, kern-bug-people%netbsd.org@localhost,
 gnats-admin%netbsd.org@localhost, netbsd-bugs%netbsd.org@localhost, perseant%netbsd.org@localhost
Cc: 
Subject: Re: kern/54470: Adapt FFS to work with HP-UX UFS1 variant
Date: Fri, 16 Aug 2019 16:11:43 -0700

 Can you be more specific?  It gives the right values for my HP-UX image, 
 and for existing NetBSD file systems.
 
 Thanks,
 
 -Konrad
 
 On 8/15/2019 11:05 PM, Michael van Elst wrote:
 > The following reply was made to PR kern/54470; it has been noted by GNATS.
 >
 > From: mlelstv%serpens.de@localhost (Michael van Elst)
 > To: gnats-bugs%netbsd.org@localhost
 > Cc:
 > Subject: Re: kern/54470: Adapt FFS to work with HP-UX UFS1 variant
 > Date: Fri, 16 Aug 2019 06:01:33 -0000 (UTC)
 >
 >   perseant%netbsd.org@localhost writes:
 >   
 >   >+/*
 >   >+ * Turn byte counts into disk block counts.
 >   >+ * Performs the same function as btodb(), but without
 >   >+ * depending on a priori knowledge of DEV_BSIZE.
 >   >+ */
 >   >+#define BTODB(fs, size) ((size) >> ((fs)->fs_fshift - (fs)->fs_fsbtodb))
 >   >+#define DBTOB(fs, bc)   ((bc) << ((fs)->fs_fshift - (fs)->fs_fsbtodb))
 >   
 >   I fear that doesn't work out.
 >   
 >   --
 >   --
 >                                   Michael van Elst
 >   Internet: mlelstv%serpens.de@localhost
 >                                   "A potential Snark may lurk in every tree."
 >   
 


Home | Main Index | Thread Index | Old Index