bitkeeper revision 1.1108.2.1 (40fbe925tXfT_97FffvS1h8aPcGujA)

Don't trust sfdisk -- leave determining a blkdev's lenth to the backend driver.
This commit is contained in:
iap10@labyrinth.cl.cam.ac.uk committed 2004-07-19 15:30:45 +00:00
1 parent e17fa59f09
commit 13b4d9fade
1 file changed
+1 -1
+1 -1
View File
@@ -100,7 +100,7 @@ def lookup_raw_partn(name):
if line:
return [ { 'device' : blkdev_name_to_number(p),
'start_sector' : long(0),
'nr_sectors' : long(line) * 2,
'nr_sectors' : long(1L<<63),
'type' : 'Disk' } ]
else:
# see if this is a hex device number
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.