lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Thu, 29 Jan 2009 17:38:05 -0500 (EST)
From:	Alan Stern <stern@...land.harvard.edu>
To:	Stefan Richter <stefanr@...6.in-berlin.de>
cc:	Jarod Wilson <jarod@...hat.com>,
	<linux1394-devel@...ts.sourceforge.net>,
	<linux-kernel@...r.kernel.org>,
	Kristian Høgsberg <krh@...planet.net>
Subject: Re: [PATCH RFT 7/7] firewire: sbp2: add workarounds for 2nd and 3rd
 generation iPods

On Thu, 29 Jan 2009, Stefan Richter wrote:

> Hmm, I'm beginning to suspect that I should duplicate usb-storage's
> 
> 	if (sdev->type == TYPE_DISK)
> 		sdev->last_sector_bug = 1;
> 
> into the FireWire drivers.  There aren't any fundamental downsides to
> this, are there?

No, not really.  Accesses to the last few sectors will be slightly 
slower, but those sectors don't get used much anyway and the slowdown 
isn't very big.  In theory there might be a device which doesn't like 
single-sector accesses near the end... but what can you do about 
something like that?  If the device doesn't let you read sectors one at 
a time, it's not worth worrying about.

> > Linux uses the last-sector accesses to check whether or not the device 
> > is part of a RAID.  Apparently Windows and OS X don't support the kinds 
> > of RAID that need this.
> 
> Or they don't support these kinds of RAID over certain transports like
> USB and FireWire...?

Maybe.  I don't know any of the details.

Alan Stern

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ