Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sfdisk --quiet is not so quiet #268

Closed
marcosfrm opened this issue Jan 29, 2016 · 1 comment
Closed

sfdisk --quiet is not so quiet #268

marcosfrm opened this issue Jan 29, 2016 · 1 comment

Comments

@marcosfrm
Copy link
Contributor

[root@fedora ~]# echo ',,L,*' | sfdisk --label dos test.img
Checking that no-one is using this disk right now ... OK

Disk test.img: 1 GiB, 1073741824 bytes, 2097152 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes

>>> Created a new DOS disklabel with disk identifier 0xb50879cd.
Created a new partition 1 of type 'Linux' and of size 1023 MiB.
test.img2:
New situation:

Device     Boot Start     End Sectors  Size Id Type
test.img1  *     2048 2097151 2095104 1023M 83 Linux

The partition table has been altered.
Syncing disks.
[root@fedora ~]#

Using --quiet:

[root@fedora ~]# echo ',,L,*' | sfdisk --quiet --label dos test.img
>>> test.img2: [root@fedora ~]#

util-linux-2.27.1-2.fc23.x86_64

karelzak added a commit that referenced this issue Feb 1, 2016
References: #268
Signed-off-by: Karel Zak <kzak@redhat.com>
@karelzak
Copy link
Collaborator

karelzak commented Feb 1, 2016

Ah, fixed. Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants