[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: mkfs.xfs says "can't determine device size"
On Thu, Feb 28, 2002 at 03:22:18PM -0600, Steve Lord wrote:
> On Thu, 2002-02-28 at 15:16, Nathan Scott wrote:
> > I assume you're using mkfs from xfsprogs-2.0.0 -- in which case,
> > your device driver also doesn't support the BLKGETSIZE64 ioctl.
> >
> > This second one is fatal because mkfs needs to know how big your
> > device is. You should be able to make some more progress using
> > a filesystem in a regular file - from a quick look in the code,
> > that short-circuits out before issuing the ioctl. Otherwise, you
> > will need to contact the author for your device driver I think,
> > and see if they have fixed this.
>
> Does a mkfs with a -d size=xxxxb still do the ioctl call? Probably
> since it is in the initialization code isn't it.
yes, looks like it does still do the ioctl in that case.
cheers.
--
Nathan