From: Dirk Neukirchen <dirkneukirchen@web.de>
To: Dave Taht <dave.taht@gmail.com>,
"cerowrt-devel@lists.bufferbloat.net"
<cerowrt-devel@lists.bufferbloat.net>,
lede-dev@lists.infradead.org
Subject: Re: [Cerowrt-devel] [LEDE-DEV] lede integration issues remaining from the detrius of cerowrt
Date: Sun, 12 Jun 2016 09:17:52 -0000 [thread overview]
Message-ID: <60a72dc6-9b0e-92bf-43dc-73c858720619@web.de> (raw)
In-Reply-To: <CAA93jw7=bHNXJqmjWmg3CHHH-biua17wK4AHfn_wB0wPWs=EqQ@mail.gmail.com>
On 11.06.2016 19:44, Dave Taht wrote:
> E) https://github.com/dtaht/ceropackages-3.10/tree/master/utils/gdisk
>
> The principal problem with fdisk nowadays is that very large (> 2TB, I
> think) devices are not supported by it, and require a GPT capable
> tool. Is there a replacement in lede that handles GPT? If not - this
> is an old gdisk port to openwrt that I used to use.
util-linux w. fdisk/cfdisk etc. should work - i just tested your case in a malta VM w. virtual 3TB qemu disk:
qemu-img create test.disk 3T
Formatting 'test.disk', fmt=raw size=3298534883328
qemu-system-mipsel -M malta -hda lede-malta-le-root.ext4 -hdb test.disk -kernel lede-malta-le-vmlinux.elf -nographic -append "root=/dev/sda console=ttyS0 debug ignore_loglevel loglevel=7 verbose "
root@(none):/# lsblk
[ 9.429150] random: nonblocking pool is initialized
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sda 8:0 0 48M 0 disk /
sdb 8:16 0 3T 0 disk
mtdblock0 31:0 0 1M 1 disk
mtdblock1 31:1 0 2.9M 0 disk
mtdblock2 31:2 0 128K 1 disk
cfdisk /dev/sdb
i create 3 partitions there
root@lede:/# fdisk -l /dev/sdb
Disk /dev/sdb: 3 TiB, 3298534883328 bytes, 6442450944 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
Disklabel type: gpt
Disk identifier: 5F5FA543-8EEB-47B1-A6D0-F0E24A4C544D
Device Start End Sectors Size Type
/dev/sdb1 2048 2147485695 2147483648 1T Linux filesystem
/dev/sdb2 2147485696 4294969343 2147483648 1T Linux filesystem
/dev/sdb3 4294969344 6442450910 2147481567 1024G Linux filesystem
root@lede:/# lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sda 8:0 0 48M 0 disk /
sdb 8:16 0 3T 0 disk
├─sdb1 8:17 0 1T 0 part
├─sdb2 8:18 0 1T 0 part
└─sdb3 8:19 0 1024G 0 part
prev parent reply other threads:[~2016-06-12 9:17 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-06-11 17:44 [Cerowrt-devel] " Dave Taht
2016-06-11 18:19 ` [Cerowrt-devel] [LEDE-DEV] " Rosen Penev
2016-06-11 22:07 ` Lars Kruse
2016-06-12 15:23 ` Dave Taht
2016-06-12 15:39 ` Lars Kruse
2016-06-12 0:38 ` Daniel Curran-Dickinson
2016-06-12 0:56 ` David Lang
2016-06-12 16:10 ` Dave Taht
2016-06-12 8:06 ` [Cerowrt-devel] " Alan Jenkins
2016-06-12 15:31 ` Dave Taht
2016-06-12 9:17 ` Dirk Neukirchen [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://lists.bufferbloat.net/postorius/lists/cerowrt-devel.lists.bufferbloat.net/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=60a72dc6-9b0e-92bf-43dc-73c858720619@web.de \
--to=dirkneukirchen@web.de \
--cc=cerowrt-devel@lists.bufferbloat.net \
--cc=dave.taht@gmail.com \
--cc=lede-dev@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox