emacs-bug-tracker
[Top][All Lists]
Advanced

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

bug#52125: closed (bug: parted msdos type disk different from expect)


From: GNU bug Tracking System
Subject: bug#52125: closed (bug: parted msdos type disk different from expect)
Date: Wed, 01 Dec 2021 19:35:02 +0000

Your message dated Wed, 1 Dec 2021 11:34:12 -0800
with message-id <YafONCFxebhwvS8A@ohop.brianlane.com>
and subject line Re: bug#52125: bug: parted msdos type disk different from 
expect
has caused the debbugs.gnu.org bug report #52125,
regarding bug: parted msdos type disk different from expect
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs@gnu.org.)


-- 
52125: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=52125
GNU Bug Tracking System
Contact help-debbugs@gnu.org with problems
--- Begin Message --- Subject: bug: parted msdos type disk different from expect Date: Fri, 26 Nov 2021 17:57:29 +0800 User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0
I parted a disk as:

parted /dev/sdb -s mklabel msdos
parted /dev/sdb -s mkpart primary 0cyl 64cyl

The expected result:
Number  Start   End    Size   Type     File system  Flags
 1      1049kB  526MB  525MB  primary

Fault result:
Warning: The resulting partition is not properly aligned for best performance: 
1s % 2048s != 0s

Number  Start  End     Size    Type     File system  Flags
 1      512B   16.7MB  16.7MB  primary


The fault result is cause by commit 61dd3d4:
Use BLKSSZGET to get device sector size in _device_probe_geometry()




--- End Message ---
--- Begin Message --- Subject: Re: bug#52125: bug: parted msdos type disk different from expect Date: Wed, 1 Dec 2021 11:34:12 -0800
On Fri, Nov 26, 2021 at 05:57:29PM +0800, lixiaokeng via Bug reports for the 
GNU Parted disk partition editor wrote:
> I parted a disk as:
> 
> parted /dev/sdb -s mklabel msdos
> parted /dev/sdb -s mkpart primary 0cyl 64cyl
> 
> The expected result:
> Number  Start   End    Size   Type     File system  Flags
>  1      1049kB  526MB  525MB  primary
> 
> Fault result:
> Warning: The resulting partition is not properly aligned for best 
> performance: 1s % 2048s != 0s
> 
> Number  Start  End     Size    Type     File system  Flags
>  1      512B   16.7MB  16.7MB  primary
> 
> 
> The fault result is cause by commit 61dd3d4:
> Use BLKSSZGET to get device sector size in _device_probe_geometry()

I would strongly suggest that you don't use cyl as a unit. There is no
good reason to be doing that in 2021.

Brian

-- 
Brian C. Lane (PST8PDT) - weldr.io - lorax - parted - pykickstart



--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]