Re: [DNG] fdisk SD card partitioning question

2022-06-15 Thread d...@d404.nl
On 14-06-2022 22:43, Jim Jackson wrote: On Mon, 13 Jun 2022, Andreas Messer wrote: Created a new partition 1 of type 'Linux' and of size 27.5 GiB. You shouldn't do that. Although its possible to "partition" SD-Cards, this is not recommended. This is since SD-Cards have some kind of

Re: [DNG] fdisk SD card partitioning question

2022-06-14 Thread Jim Jackson
On Mon, 13 Jun 2022, Andreas Messer wrote: > > Created a new partition 1 of type 'Linux' and of size 27.5 GiB. > > You shouldn't do that. Although its possible to "partition" SD-Cards, > this is not recommended. This is since SD-Cards have some kind of > knowledge about "how FATFS works" to

Re: [DNG] fdisk SD card partitioning question

2022-06-13 Thread ael via Dng
On Mon, Jun 13, 2022 at 09:34:32AM +0200, Andreas Messer wrote: > > However, the best way to use SD-Cards in Linux only environments is > to format them with f2fs file system. f2fs was developed by Samsung > with internal behavior of embedded MMC memory devices in mind. Which > is pretty the

Re: [DNG] fdisk SD card partitioning question

2022-06-13 Thread ael via Dng
On Mon, Jun 13, 2022 at 10:09:31AM +0100, ael via Dng wrote: > On Sun, Jun 12, 2022 at 06:33:37PM -0700, Fred wrote: > > So confirmed as a fake. Maybe worth checeking with fwrite and fread for > a more thorough check. s/fwrite/f3write and s/fread/f3read: typo corrections, of course. ael

Re: [DNG] fdisk SD card partitioning question

2022-06-13 Thread ael via Dng
On Sun, Jun 12, 2022 at 06:33:37PM -0700, Fred wrote: > > The f3probe utility says: > > Good news: The device /dev/sdb is the real thing > > And then it reports the same size as fdisk, 27.48GB usable even though the > card is plainly marked 64GB. So confirmed as a fake. Maybe worth checeking

Re: [DNG] fdisk SD card partitioning question

2022-06-13 Thread ael via Dng
On Sun, Jun 12, 2022 at 02:14:15PM -0700, Fred wrote: > > > > > Hi, > > I recall a lot of discussion about this on either this list or the > > Debian list.  If the card was an offbrand I would assume it was fraud > > and would not have even asked here.  However, the card is a SanDisk. The > >

Re: [DNG] fdisk SD card partitioning question

2022-06-13 Thread Andreas Messer
Hi Fred, Am Sun, Jun 12, 2022 at 12:35:06PM -0700 schrieb Fred: > I tried fdisk again with the same result. > > root@aragog:# /sbin/fdisk /dev/sdb > Command (m for help): n > Partition type >p primary (0 primary, 0 extended, 4 free) >e extended (container for logical partitions) >

Re: [DNG] fdisk SD card partitioning question

2022-06-12 Thread Fred
On 6/12/22 14:09, Fred wrote: On 6/12/22 13:48, ael wrote: On Sun, Jun 12, 2022 at 12:35:06PM -0700, Fred wrote: On 6/12/22 09:18, Antony Stone wrote: On Sunday 12 June 2022 at 17:11:45, Fred wrote: Hello, I have some directories I want to back up to an SD card while preserving the

Re: [DNG] fdisk SD card partitioning question

2022-06-12 Thread Fred
On 6/12/22 14:33, tempforever wrote: Fred wrote: Hi, As supplied the SD cards are intended to work with Windows.  Under Linux only root can write to them and the ownership can not be changed.  I want preserve permissions of data written to the card. root@aragog:# /sbin/fdisk -l /dev/sdb Disk

Re: [DNG] fdisk SD card partitioning question

2022-06-12 Thread tempforever
Fred wrote: > Hi, > As supplied the SD cards are intended to work with Windows.  Under > Linux only root can write to them and the ownership can not be > changed.  I want preserve permissions of data written to the card. > > root@aragog:# /sbin/fdisk -l /dev/sdb > Disk /dev/sdb: 27.48 GiB,

Re: [DNG] fdisk SD card partitioning question

2022-06-12 Thread Fred
On 6/12/22 14:09, Fred wrote: On 6/12/22 13:48, ael wrote: On Sun, Jun 12, 2022 at 12:35:06PM -0700, Fred wrote: On 6/12/22 09:18, Antony Stone wrote: On Sunday 12 June 2022 at 17:11:45, Fred wrote: Hello, I have some directories I want to back up to an SD card while preserving the

Re: [DNG] fdisk SD card partitioning question

2022-06-12 Thread Fred
On 6/12/22 13:48, ael wrote: On Sun, Jun 12, 2022 at 12:35:06PM -0700, Fred wrote: On 6/12/22 09:18, Antony Stone wrote: On Sunday 12 June 2022 at 17:11:45, Fred wrote: Hello, I have some directories I want to back up to an SD card while preserving the permissions. I have tried to

Re: [DNG] fdisk SD card partitioning question

2022-06-12 Thread ael via Dng
On Sun, Jun 12, 2022 at 12:35:06PM -0700, Fred wrote: > On 6/12/22 09:18, Antony Stone wrote: > > On Sunday 12 June 2022 at 17:11:45, Fred wrote: > > > > > Hello, > > > > > > I have some directories I want to back up to an SD card while preserving > > > the permissions. I have tried to

Re: [DNG] fdisk SD card partitioning question

2022-06-12 Thread Fred
On 6/12/22 09:18, Antony Stone wrote: On Sunday 12 June 2022 at 17:11:45, Fred wrote: Hello, I have some directories I want to back up to an SD card while preserving the permissions. I have tried to repartition a 64GB card and write an ext4 filesystem. What is the existing partition table?

Re: [DNG] fdisk SD card partitioning question

2022-06-12 Thread Antony Stone
On Sunday 12 June 2022 at 17:11:45, Fred wrote: > Hello, > > I have some directories I want to back up to an SD card while preserving > the permissions. I have tried to repartition a 64GB card and write an > ext4 filesystem. What is the existing partition table? Out of interest, since this is

[DNG] fdisk SD card partitioning question

2022-06-12 Thread Fred
Hello, I have some directories I want to back up to an SD card while preserving the permissions. I have tried to repartition a 64GB card and write an ext4 filesystem. fdisk says the card has 124702720 sectors and has 59.5GB available. However it will not make a partition over 27.5GB. Why