Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

The moving cursor writes, and having written, blinks on.


computers / comp.sys.raspberry-pi / Re: Limiting the capacity of SD cards for the pi

SubjectAuthor
* Limiting the capacity of SD cards for the piBob Latham
+* Re: Limiting the capacity of SD cards for the piThe Natural Philosopher
|`* Re: Limiting the capacity of SD cards for the piBob Latham
| `* Re: Limiting the capacity of SD cards for the piThe Natural Philosopher
|  `* Re: Limiting the capacity of SD cards for the piBob Latham
|   `- Re: Limiting the capacity of SD cards for the piThe Natural Philosopher
+* Re: Limiting the capacity of SD cards for the piIan
|+- Re: Limiting the capacity of SD cards for the piBob Latham
|`* Re: Limiting the capacity of SD cards for the piBob Latham
| +* Re: Limiting the capacity of SD cards for the piThe Natural Philosopher
| |`* Re: Limiting the capacity of SD cards for the piBob Latham
| | +* Re: Limiting the capacity of SD cards for the piThe Natural Philosopher
| | |`* Re: Limiting the capacity of SD cards for the piBob Latham
| | | `* Re: Limiting the capacity of SD cards for the piIan
| | |  `* Re: Limiting the capacity of SD cards for the piBob Latham
| | |   `* Re: Limiting the capacity of SD cards for the piIan
| | |    `* Re: Limiting the capacity of SD cards for the piBob Latham
| | |     +* Re: Limiting the capacity of SD cards for the piIan
| | |     |+- Re: Limiting the capacity of SD cards for the piBob Latham
| | |     |`* Re: Limiting the capacity of SD cards for the pidruck
| | |     | `* Re: Limiting the capacity of SD cards for the piThe Natural Philosopher
| | |     |  `* Re: Limiting the capacity of SD cards for the piChris Elvidge
| | |     |   +* Re: Limiting the capacity of SD cards for the piThe Natural Philosopher
| | |     |   |`* Re: Limiting the capacity of SD cards for the piRichard Harnden
| | |     |   | +* Re: Limiting the capacity of SD cards for the piAhem A Rivet's Shot
| | |     |   | |`- Re: Limiting the capacity of SD cards for the piMartin Gregorie
| | |     |   | `- Re: Limiting the capacity of SD cards for the piThe Natural Philosopher
| | |     |   `* Re: Limiting the capacity of SD cards for the piTauno Voipio
| | |     |    +- Re: Limiting the capacity of SD cards for the piThe Natural Philosopher
| | |     |    `- Re: Limiting the capacity of SD cards for the piAhem A Rivet's Shot
| | |     `* Re: Limiting the capacity of SD cards for the piThe Natural Philosopher
| | |      +* Re: Limiting the capacity of SD cards for the piChris Elvidge
| | |      |`* Re: Limiting the capacity of SD cards for the piBob Latham
| | |      | `- Re: Limiting the capacity of SD cards for the piChris Elvidge
| | |      `- Re: Limiting the capacity of SD cards for the piBob Latham
| | `* Re: Limiting the capacity of SD cards for the piMartin Gregorie
| |  +* Re: Limiting the capacity of SD cards for the piBob Latham
| |  |+* Re: Limiting the capacity of SD cards for the piThe Natural Philosopher
| |  ||+* Re: Limiting the capacity of SD cards for the piPancho
| |  |||+* Re: Limiting the capacity of SD cards for the piThe Natural Philosopher
| |  ||||`* Re: Limiting the capacity of SD cards for the piPancho
| |  |||| +* Re: Limiting the capacity of SD cards for the piAhem A Rivet's Shot
| |  |||| |`* Re: Limiting the capacity of SD cards for the piThe Natural Philosopher
| |  |||| | +* Re: Limiting the capacity of SD cards for the piChris Elvidge
| |  |||| | |`- Re: Limiting the capacity of SD cards for the piThe Natural Philosopher
| |  |||| | `* Re: Limiting the capacity of SD cards for the piAhem A Rivet's Shot
| |  |||| |  `- Re: Limiting the capacity of SD cards for the piThe Natural Philosopher
| |  |||| `- Re: Limiting the capacity of SD cards for the piThe Natural Philosopher
| |  |||`- Re: Limiting the capacity of SD cards for the piAhem A Rivet's Shot
| |  ||`* Re: Limiting the capacity of SD cards for the piCharlie Gibbs
| |  || `* Re: Limiting the capacity of SD cards for the piThe Natural Philosopher
| |  ||  `* Re: Limiting the capacity of SD cards for the piAhem A Rivet's Shot
| |  ||   `* Re: Limiting the capacity of SD cards for the piThe Natural Philosopher
| |  ||    `- Re: Limiting the capacity of SD cards for the piAhem A Rivet's Shot
| |  |`- Re: Limiting the capacity of SD cards for the piMartin Gregorie
| |  `* Re: Limiting the capacity of SD cards for the piThe Natural Philosopher
| |   +- Re: Limiting the capacity of SD cards for the piAhem A Rivet's Shot
| |   +- Re: Limiting the capacity of SD cards for the piCharlie Gibbs
| |   `- Re: Limiting the capacity of SD cards for the piComputer Nerd Kev
| +* Re: Limiting the capacity of SD cards for the piMrtn
| |+- Re: Limiting the capacity of SD cards for the piIan
| |`* Re: Limiting the capacity of SD cards for the piBob Latham
| | `* Re: Limiting the capacity of SD cards for the piMrtn
| |  `* Re: Limiting the capacity of SD cards for the piThe Natural Philosopher
| |   `- Re: Limiting the capacity of SD cards for the piCharlie Gibbs
| `* Re: Limiting the capacity of SD cards for the piBob Latham
|  +* Re: Limiting the capacity of SD cards for the piIan
|  |`* Re: Limiting the capacity of SD cards for the piBob Latham
|  | `* Re: Limiting the capacity of SD cards for the piIan
|  |  `* Re: Limiting the capacity of SD cards for the piBob Latham
|  |   `- Re: Limiting the capacity of SD cards for the piIan
|  +- Re: Limiting the capacity of SD cards for the piThe Natural Philosopher
|  `- Re: Limiting the capacity of SD cards for the piAhem A Rivet's Shot
+* Re: Limiting the capacity of SD cards for the piComputer Nerd Kev
|+* Re: Limiting the capacity of SD cards for the piR.Wieser
||`* Re: Limiting the capacity of SD cards for the piChris Elvidge
|| `* Re: Limiting the capacity of SD cards for the piR.Wieser
||  `* Re: Limiting the capacity of SD cards for the piChris Elvidge
||   `- Re: Limiting the capacity of SD cards for the piR.Wieser
|`* Re: Limiting the capacity of SD cards for the piBob Latham
| +* Re: Limiting the capacity of SD cards for the piThe Natural Philosopher
| |`* Re: Limiting the capacity of SD cards for the piAhem A Rivet's Shot
| | +- Re: Limiting the capacity of SD cards for the piThe Natural Philosopher
| | `- Re: Limiting the capacity of SD cards for the piCharlie Gibbs
| `* Re: Limiting the capacity of SD cards for the piComputer Nerd Kev
|  +* Re: Limiting the capacity of SD cards for the piBob Latham
|  |+* Re: Limiting the capacity of SD cards for the piThe Natural Philosopher
|  ||`* Re: Limiting the capacity of SD cards for the piBob Latham
|  || `- Re: Limiting the capacity of SD cards for the piThe Natural Philosopher
|  |`- Re: Limiting the capacity of SD cards for the piIan
|  `* Re: Limiting the capacity of SD cards for the pidruck
|   `* Re: Limiting the capacity of SD cards for the piBob Latham
|    +* Re: Limiting the capacity of SD cards for the piThe Natural Philosopher
|    |`* Re: Limiting the capacity of SD cards for the piBob Latham
|    | +* Re: Limiting the capacity of SD cards for the piAndy Burns
|    | |`* Re: Limiting the capacity of SD cards for the piBob Latham
|    | | `* Re: Limiting the capacity of SD cards for the piMartin Gregorie
|    | |  `* Re: Limiting the capacity of SD cards for the piThe Natural Philosopher
|    | |   `- Re: Limiting the capacity of SD cards for the piMartin Gregorie
|    | `* Re: Limiting the capacity of SD cards for the piThe Natural Philosopher
|    |  `* Re: Limiting the capacity of SD cards for the piBob Latham
|    +* Re: Limiting the capacity of SD cards for the piAndy Burns
|    `* Re: Limiting the capacity of SD cards for the pidruck
+* Re: Limiting the capacity of SD cards for the piChris Elvidge
`* Re: Limiting the capacity of SD cards for the pi56g.1173

Pages:123456789
Re: Limiting the capacity of SD cards for the pi

<ue9fo0$1ollg$6@dont-email.me>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=7287&group=comp.sys.raspberry-pi#7287

  copy link   Newsgroups: comp.sys.raspberry-pi
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: tnp...@invalid.invalid (The Natural Philosopher)
Newsgroups: comp.sys.raspberry-pi
Subject: Re: Limiting the capacity of SD cards for the pi
Date: Mon, 18 Sep 2023 13:27:44 +0100
Organization: A little, after lunch
Lines: 24
Message-ID: <ue9fo0$1ollg$6@dont-email.me>
References: <5ae53c469cbob@sick-of-spam.invalid>
<5ae5599655bob@sick-of-spam.invalid> <ue7352$dmc3$1@dont-email.me>
<5ae55f08eebob@sick-of-spam.invalid> <ue8042$il0u$1@dont-email.me>
<5ae5b9eedabob@sick-of-spam.invalid> <ue96nv$1n1j0$2@dont-email.me>
<ue97dh$1ms1s$1@dont-email.me> <ue98ch$1n8d4$5@dont-email.me>
<ue9bki$1nmud$1@dont-email.me>
<20230918125930.e3b8bb2c1ea6891c2b54fab0@eircom.net>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Mon, 18 Sep 2023 12:27:44 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="28dd092dab19d7f9bc921ee7b9640cb6";
logging-data="1857200"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+wO+3tAoHRjYtONLGAc1bFdQqDP0qoTXo="
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101
Thunderbird/102.15.1
Cancel-Lock: sha1:4pFVXbqPNaaMReilIQGfIm6BUcA=
In-Reply-To: <20230918125930.e3b8bb2c1ea6891c2b54fab0@eircom.net>
Content-Language: en-GB
 by: The Natural Philosop - Mon, 18 Sep 2023 12:27 UTC

On 18/09/2023 12:59, Ahem A Rivet's Shot wrote:
> On Mon, 18 Sep 2023 12:17:39 +0100
> Pancho <Pancho.Jones@proton.me> wrote:
>
>> I can't remember if it was SCO or Xenix, I just remember being impressed
>> how quick a 386 PC was compared to minis.
>
> SCO bought Xenix from Microsoft, later the product became SCO Unix
> after the SysVR4 changes were merged into it.
>
Ah. My bad, I was thinking of Venix, not Xenix. Venix was a heap of crap
but would run on a 286...just about

Sco Unix was a damned good platform for a small company 'minicomputer'

It even had TCP/IP ... eventually!

--
“It is hard to imagine a more stupid decision or more dangerous way of
making decisions than by putting those decisions in the hands of people
who pay no price for being wrong.”

Thomas Sowell

Re: Limiting the capacity of SD cards for the pi

<20230918130135.69de7826e81eb7c0b9446951@eircom.net>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=7288&group=comp.sys.raspberry-pi#7288

  copy link   Newsgroups: comp.sys.raspberry-pi
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: ste...@eircom.net (Ahem A Rivet's Shot)
Newsgroups: comp.sys.raspberry-pi
Subject: Re: Limiting the capacity of SD cards for the pi
Date: Mon, 18 Sep 2023 13:01:35 +0100
Organization: A noiseless patient Spider
Lines: 18
Message-ID: <20230918130135.69de7826e81eb7c0b9446951@eircom.net>
References: <5ae53c469cbob@sick-of-spam.invalid>
<5ae5599655bob@sick-of-spam.invalid>
<5ae5cc9d6fbob@sick-of-spam.invalid>
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Injection-Info: dont-email.me; posting-host="0350d80d74d9baa220cc08be7aadd879";
logging-data="1864708"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/XvopSoM91lYlKbR+ZgGPY2k3xZMEDF+Y="
Cancel-Lock: sha1:oLlQybfB0c5re2tFUoPVTi9AL20=
X-Newsreader: Sylpheed 3.7.0 (GTK+ 2.24.33; amd64-portbld-freebsd13.1)
X-Clacks-Overhead: "GNU Terry Pratchett"
 by: Ahem A Rivet's - Mon, 18 Sep 2023 12:01 UTC

On Mon, 18 Sep 2023 12:14:47 +0100
Bob Latham <bob@sick-of-spam.invalid> wrote:

> I typed sudo passwd <ret>
>
> It asked for a new password x2
>
> Never asked for existing password for pi user oddly.

There's some authorisation caching in sudo, so if you have recently
given your password for a sudo command sudo remembers this and doesn't ask
again.

--
Steve O'Hara-Smith
Odds and Ends at http://www.sohara.org/
Host: Beautiful Theory meet Inconvenient Fact
Obit: Beautiful Theory died today of factual inconsistency

Re: Limiting the capacity of SD cards for the pi

<ue9fsn$1ollg$7@dont-email.me>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=7289&group=comp.sys.raspberry-pi#7289

  copy link   Newsgroups: comp.sys.raspberry-pi
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: tnp...@invalid.invalid (The Natural Philosopher)
Newsgroups: comp.sys.raspberry-pi
Subject: Re: Limiting the capacity of SD cards for the pi
Date: Mon, 18 Sep 2023 13:30:15 +0100
Organization: A little, after lunch
Lines: 34
Message-ID: <ue9fsn$1ollg$7@dont-email.me>
References: <5ae53c469cbob@sick-of-spam.invalid> <650786bd@news.ausics.net>
<5ae5bad225bob@sick-of-spam.invalid> <ue97fp$1n8d4$1@dont-email.me>
<20230918125732.1ffbe313d5cbe229d2a5bf29@eircom.net>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Mon, 18 Sep 2023 12:30:15 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="28dd092dab19d7f9bc921ee7b9640cb6";
logging-data="1857200"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19hv1NCp4gJtdmwurVu1VWxvuEhaLILTlI="
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101
Thunderbird/102.15.1
Cancel-Lock: sha1:YJay2EzWg8NLr2WU4HE91ExIj3k=
Content-Language: en-GB
In-Reply-To: <20230918125732.1ffbe313d5cbe229d2a5bf29@eircom.net>
 by: The Natural Philosop - Mon, 18 Sep 2023 12:30 UTC

On 18/09/2023 12:57, Ahem A Rivet's Shot wrote:
> On Mon, 18 Sep 2023 11:06:48 +0100
> The Natural Philosopher <tnp@invalid.invalid> wrote:
>
>> On 18/09/2023 09:00, Bob Latham wrote:
>
>>> I think I understand the principle there (just), but dear me.
>>> What is dd?
>>
>> I think it stands for 'direct disk' Unix was written in the days long
>> before even a CRT terminal was common and so its commands were
>> deliberately short.
>
> It's far more obscure than that :)
>
> The dd name was a joke reference to the IBM JCL command DD (data
> definition). Originally dd was the universal data format conversion tool
> capable of converting between ASCII and EBCDIC, adjusting parity,
> converting case, swapping bytes (endian conversion) and dealing with moving
> data between block structured devices/files with different block sizes
> performing block padding as needs be.
>
> It can still do all of this (check the conv section of man dd)
> should you ever find a need to do *any* of it.
>
*shudder*. I find myself unaccountably smiling at your post. It brings
back memories of really old fashioned computer days.

--
“The urge to save humanity is almost always only a false face for the
urge to rule it.”
– H. L. Mencken

Re: Limiting the capacity of SD cards for the pi

<ue9ge6$1ovfv$1@dont-email.me>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=7290&group=comp.sys.raspberry-pi#7290

  copy link   Newsgroups: comp.sys.raspberry-pi
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: chr...@mshome.net (Chris Elvidge)
Newsgroups: comp.sys.raspberry-pi
Subject: Re: Limiting the capacity of SD cards for the pi
Date: Mon, 18 Sep 2023 13:39:34 +0100
Organization: A noiseless patient Spider
Lines: 26
Message-ID: <ue9ge6$1ovfv$1@dont-email.me>
References: <5ae53c469cbob@sick-of-spam.invalid>
<5ae5599655bob@sick-of-spam.invalid> <ue7352$dmc3$1@dont-email.me>
<5ae55f08eebob@sick-of-spam.invalid> <ue8042$il0u$1@dont-email.me>
<5ae5b9eedabob@sick-of-spam.invalid> <ue96nv$1n1j0$2@dont-email.me>
<ue97dh$1ms1s$1@dont-email.me> <ue98ch$1n8d4$5@dont-email.me>
<ue9bki$1nmud$1@dont-email.me>
<20230918125930.e3b8bb2c1ea6891c2b54fab0@eircom.net>
<ue9fo0$1ollg$6@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Mon, 18 Sep 2023 12:39:34 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="0dfd122307a0b9a3c7e6bd2debb9a76e";
logging-data="1867263"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+aV1kdPkxzfSNSYG0ZswSlCoz4SGXZbdI="
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101
Thunderbird/52.2.1 Lightning/5.4
Cancel-Lock: sha1:khrlYFsW7JD+PfINDZXeDuW1HIA=
In-Reply-To: <ue9fo0$1ollg$6@dont-email.me>
Content-Language: en-GB
 by: Chris Elvidge - Mon, 18 Sep 2023 12:39 UTC

On 18/09/2023 13:27, The Natural Philosopher wrote:
> On 18/09/2023 12:59, Ahem A Rivet's Shot wrote:
>> On Mon, 18 Sep 2023 12:17:39 +0100
>> Pancho <Pancho.Jones@proton.me> wrote:
>>
>>> I can't remember if it was SCO or Xenix, I just remember being impressed
>>> how quick a 386 PC was compared to minis.
>>
>> SCO bought Xenix from Microsoft, later the product became SCO Unix
>> after the SysVR4 changes were merged into it.
>>
> Ah. My bad, I was thinking of Venix, not Xenix. Venix was a heap of crap
> but would run on a 286...just about
>
> Sco Unix was a damned good platform for a small company 'minicomputer'
>
> It even had TCP/IP ... eventually!
>

We had it running on one of the first 486s. Database for hospitals
around the region (St Barts)

--
Chris Elvidge, England
TEACHER IS NOT A LEPER

Re: Limiting the capacity of SD cards for the pi

<slrnugghek.vum.${send-direct-email-to-news1021-at-jusme-dot-com-if@vm46.home.jusme.com>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=7291&group=comp.sys.raspberry-pi#7291

  copy link   Newsgroups: comp.sys.raspberry-pi
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!jusme.eternal-september.org!.POSTED!not-for-mail
From: ${send-d...@jusme.com (Ian)
<${send-direct-email-to-news1021-at-jusme-dot-com-if-you-must}@jusme.com>
Newsgroups: comp.sys.raspberry-pi
Subject: Re: Limiting the capacity of SD cards for the pi
Date: Mon, 18 Sep 2023 12:43:00 -0000 (UTC)
Organization: Wet Socks!
Lines: 66
Message-ID: <slrnugghek.vum.${send-direct-email-to-news1021-at-jusme-dot-com-if@vm46.home.jusme.com>
References: <5ae53c469cbob@sick-of-spam.invalid>
<5ae5599655bob@sick-of-spam.invalid> <5ae5cc9d6fbob@sick-of-spam.invalid>
<slrnuggcrs.vum.${send-direct-email-to-news1021-at-jusme-dot-com-if@vm46.home.jusme.com>
<5ae5d1ae27bob@sick-of-spam.invalid>
Injection-Date: Mon, 18 Sep 2023 12:43:00 -0000 (UTC)
Injection-Info: jusme.eternal-september.org; posting-host="fc4bc2099ba273dc9813c7ee31aaf9e6";
logging-data="1869271"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19OFTXnUkB50cQKQUOYqGe0"
User-Agent: slrn/1.0.3 (Linux)
Cancel-Lock: sha1:qr7uwodBCBdhfgu24zqHi6sPd1E=
 by: Ian - Mon, 18 Sep 2023 12:43 UTC

On 2023-09-18, Bob Latham <bob@sick-of-spam.invalid> wrote:
> I've now got passed stage 10 and looking at 11.
>
> Lots of questions now...
>
> Do I need to create a script from your text or can I just copy and
> paste line by line?

You can just copy/paste the lines. When you paste the "echo" one check
that the reported number of MB is reasonable, and that the number of
sectors being copied is bigger than the last sector shown, before
proceeding to the 'dd'

> How do I change where to put the new image?
>
> Any suggestions where to put it?
>
> Can I just copy out the image using samba with something I
> understand. :-)

The file name after the "| gzip >" is where the target image will go.
It can be any file path, so if you have external filestore mounted with
samba it can go there directly. There should be enough space on the live
SD card if you remove the tarfile first, the copy it off wherever you
need it.

> How do I delete the tarfile and where is it?

The tarfile is ~/xxx.tar.gz, you can remove it with:

# rm ~/xxx.tar.gz

"~/" is a shortcut for your "home directory". As root, this is /root,
so the file is actually /root/xxx.tar.gz. The same applies to the final
image: "~/newcard.img.gz" is /root/newcard.img.gz.

> Why did we use a tarfile, was it just to reduce the storage size?

The tarfile was used to hold a copy of the OS files while you shrunk
the parition. Think of it as zipping up the contents of a disc before
replacing it with a new one, then restoring the content from the zipfile.

Final note, I "gzip" (compress) the final image as this saves a lot of
space (8GB down to 2.3GB in my case). You'll need to uncompress it
before writing it to a new card with Win32DiskImager. 7zip can do this
on Windows, if that's how you do it. If you don't want it compressed
(and have the space), you can omit the gzip from the last command:

# dd if=/dev/sdc bs=1048576 count=${n_mb} > ~/newcard.img

To pick up on the "dd" thread, that command reads from the input file
(if=...), in blocks of 1MB (bs=...) and copies ${n_mb} blocks (count=...).
It send the output to "stdout" (nominally the terminal), but we pipe
this through gzip to compress it (| gzip", and then direct the output of
gzip to the target file (> ~/newcard.img).

--
Ian

"Tamahome!!!" - "Miaka!!!"

Re: Limiting the capacity of SD cards for the pi

<ue9gmf$1p1n6$1@dont-email.me>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=7292&group=comp.sys.raspberry-pi#7292

  copy link   Newsgroups: comp.sys.raspberry-pi
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: addr...@is.invalid (R.Wieser)
Newsgroups: comp.sys.raspberry-pi
Subject: Re: Limiting the capacity of SD cards for the pi
Date: Mon, 18 Sep 2023 14:43:28 +0200
Organization: A noiseless patient Spider
Lines: 12
Message-ID: <ue9gmf$1p1n6$1@dont-email.me>
References: <5ae53c469cbob@sick-of-spam.invalid> <650786bd@news.ausics.net> <ue8rhf$180lr$1@dont-email.me> <ue9936$1nhi0$1@dont-email.me>
Injection-Date: Mon, 18 Sep 2023 12:43:59 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="57b1d1d35d4dd06fb4e552b12a6d4d43";
logging-data="1869542"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18fRPQqXPbEFaCcAsUpV9BhVgNEoT5L3NJjUVpKQ3pupw=="
Cancel-Lock: sha1:sAr+Tc8K8MPXQdmce4h7JMCD87g=
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5512
X-Priority: 3
X-RFC2646: Format=Flowed; Response
X-Newsreader: Microsoft Outlook Express 6.00.2900.5512
X-MSMail-Priority: Normal
 by: R.Wieser - Mon, 18 Sep 2023 12:43 UTC

Chris,

> You can use (g)parted to resize the partition manually (obviously on
> another machine).

I was/am trying to evade multi-step solutions. Especially ones that cannot
be automated.

Regards,
Rudy Wieser

Re: Limiting the capacity of SD cards for the pi

<20230918140425.d029db6d416b660d5daeb626@eircom.net>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=7294&group=comp.sys.raspberry-pi#7294

  copy link   Newsgroups: comp.sys.raspberry-pi
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: ste...@eircom.net (Ahem A Rivet's Shot)
Newsgroups: comp.sys.raspberry-pi
Subject: Re: Limiting the capacity of SD cards for the pi
Date: Mon, 18 Sep 2023 14:04:25 +0100
Organization: A noiseless patient Spider
Lines: 16
Message-ID: <20230918140425.d029db6d416b660d5daeb626@eircom.net>
References: <5ae53c469cbob@sick-of-spam.invalid>
<5ae5599655bob@sick-of-spam.invalid>
<ue7352$dmc3$1@dont-email.me>
<5ae55f08eebob@sick-of-spam.invalid>
<ue8042$il0u$1@dont-email.me>
<5ae5b9eedabob@sick-of-spam.invalid>
<ue96nv$1n1j0$2@dont-email.me>
<ue97dh$1ms1s$1@dont-email.me>
<ue98ch$1n8d4$5@dont-email.me>
<ue9bki$1nmud$1@dont-email.me>
<20230918125930.e3b8bb2c1ea6891c2b54fab0@eircom.net>
<ue9fo0$1ollg$6@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Injection-Info: dont-email.me; posting-host="0350d80d74d9baa220cc08be7aadd879";
logging-data="1885709"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18VL3SkLnmCHxNovt6u5KWiLp4NPe2SHfg="
Cancel-Lock: sha1:ySt2mxSj2v1naKg3Y4pRaK8Le08=
X-Newsreader: Sylpheed 3.7.0 (GTK+ 2.24.33; amd64-portbld-freebsd13.1)
X-Clacks-Overhead: "GNU Terry Pratchett"
 by: Ahem A Rivet's - Mon, 18 Sep 2023 13:04 UTC

On Mon, 18 Sep 2023 13:27:44 +0100
The Natural Philosopher <tnp@invalid.invalid> wrote:

> Sco Unix was a damned good platform for a small company 'minicomputer'
>
> It even had TCP/IP ... eventually!

SCO Xenix had MICNET, a LAN based on UUCP over directly connected
serial ports. With it running you could cd .. from / and find a directory of
machines on the network. It wasn't fast or standard but it worked.

--
Steve O'Hara-Smith
Odds and Ends at http://www.sohara.org/
Host: Beautiful Theory meet Inconvenient Fact
Obit: Beautiful Theory died today of factual inconsistency

Re: Limiting the capacity of SD cards for the pi

<ue9jf8$1pgu7$2@dont-email.me>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=7295&group=comp.sys.raspberry-pi#7295

  copy link   Newsgroups: comp.sys.raspberry-pi
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: tnp...@invalid.invalid (The Natural Philosopher)
Newsgroups: comp.sys.raspberry-pi
Subject: Re: Limiting the capacity of SD cards for the pi
Date: Mon, 18 Sep 2023 14:31:20 +0100
Organization: A little, after lunch
Lines: 40
Message-ID: <ue9jf8$1pgu7$2@dont-email.me>
References: <5ae53c469cbob@sick-of-spam.invalid>
<5ae5599655bob@sick-of-spam.invalid> <ue7352$dmc3$1@dont-email.me>
<5ae55f08eebob@sick-of-spam.invalid> <ue8042$il0u$1@dont-email.me>
<5ae5b9eedabob@sick-of-spam.invalid> <ue96nv$1n1j0$2@dont-email.me>
<ue97dh$1ms1s$1@dont-email.me> <ue98ch$1n8d4$5@dont-email.me>
<ue9bki$1nmud$1@dont-email.me>
<20230918125930.e3b8bb2c1ea6891c2b54fab0@eircom.net>
<ue9fo0$1ollg$6@dont-email.me> <ue9ge6$1ovfv$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Mon, 18 Sep 2023 13:31:20 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="28dd092dab19d7f9bc921ee7b9640cb6";
logging-data="1885127"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/a32TKKtbXYbz7TaiE/RHsg5dMZmlEIO4="
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101
Thunderbird/102.15.1
Cancel-Lock: sha1:92NFxaIGsVobFX/vxqlcpcO6xVo=
In-Reply-To: <ue9ge6$1ovfv$1@dont-email.me>
Content-Language: en-GB
 by: The Natural Philosop - Mon, 18 Sep 2023 13:31 UTC

On 18/09/2023 13:39, Chris Elvidge wrote:
> On 18/09/2023 13:27, The Natural Philosopher wrote:
>> On 18/09/2023 12:59, Ahem A Rivet's Shot wrote:
>>> On Mon, 18 Sep 2023 12:17:39 +0100
>>> Pancho <Pancho.Jones@proton.me> wrote:
>>>
>>>> I can't remember if it was SCO or Xenix, I just remember being
>>>> impressed
>>>> how quick a 386 PC was compared to minis.
>>>
>>>     SCO bought Xenix from Microsoft, later the product became SCO Unix
>>> after the SysVR4 changes were merged into it.
>>>
>> Ah. My bad, I was thinking of Venix, not Xenix. Venix was a heap of
>> crap but would run on a 286...just about
>>
>> Sco Unix was a damned good platform for a small company 'minicomputer'
>>
>> It even had TCP/IP ... eventually!
>>
>
> We had it running on one of the first 486s. Database for hospitals
> around the region (St Barts)
>
>
There was a legal business that had it on a 386 running the while firm
with about 25 screens on. Cost was a few hours a day to pop tapes in the
backup. and a thousand quid support contract with the software authors .

Then a board decision to put a PC on everyone's desk at about £1500 a
DESK was made with an annual support contract of about £10,000

--
The higher up the mountainside
The greener grows the grass.
The higher up the monkey climbs
The more he shows his arse.

Traditional

Re: Limiting the capacity of SD cards for the pi

<ue9ke7$1pgu7$9@dont-email.me>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=7297&group=comp.sys.raspberry-pi#7297

  copy link   Newsgroups: comp.sys.raspberry-pi
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: tnp...@invalid.invalid (The Natural Philosopher)
Newsgroups: comp.sys.raspberry-pi
Subject: Re: Limiting the capacity of SD cards for the pi
Date: Mon, 18 Sep 2023 14:47:51 +0100
Organization: A little, after lunch
Lines: 20
Message-ID: <ue9ke7$1pgu7$9@dont-email.me>
References: <5ae53c469cbob@sick-of-spam.invalid>
<5ae5599655bob@sick-of-spam.invalid> <ue7352$dmc3$1@dont-email.me>
<5ae55f08eebob@sick-of-spam.invalid> <ue8042$il0u$1@dont-email.me>
<5ae5b9eedabob@sick-of-spam.invalid> <ue96nv$1n1j0$2@dont-email.me>
<ue97dh$1ms1s$1@dont-email.me> <ue98ch$1n8d4$5@dont-email.me>
<ue9bki$1nmud$1@dont-email.me>
<20230918125930.e3b8bb2c1ea6891c2b54fab0@eircom.net>
<ue9fo0$1ollg$6@dont-email.me>
<20230918140425.d029db6d416b660d5daeb626@eircom.net>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Mon, 18 Sep 2023 13:47:51 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="28dd092dab19d7f9bc921ee7b9640cb6";
logging-data="1885127"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+DvvlpJeSshEFHd9IzextfUU2A9Ow8AC8="
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101
Thunderbird/102.15.1
Cancel-Lock: sha1:uou1/9+CTniegqUi0cBaJUaBFus=
In-Reply-To: <20230918140425.d029db6d416b660d5daeb626@eircom.net>
Content-Language: en-GB
 by: The Natural Philosop - Mon, 18 Sep 2023 13:47 UTC

On 18/09/2023 14:04, Ahem A Rivet's Shot wrote:
> On Mon, 18 Sep 2023 13:27:44 +0100
> The Natural Philosopher <tnp@invalid.invalid> wrote:
>
>> Sco Unix was a damned good platform for a small company 'minicomputer'
>>
>> It even had TCP/IP ... eventually!
>
> SCO Xenix had MICNET, a LAN based on UUCP over directly connected
> serial ports. With it running you could cd .. from / and find a directory of
> machines on the network. It wasn't fast or standard but it worked.
>
Blimey. I missed THAT one.
UUCP was something that I spent a large part of my life installing and
setting up. It was, for a time, the only way to get "Internet" email in
the UK

--
The New Left are the people they warned you about.

Re: Limiting the capacity of SD cards for the pi

<ue9ng1$1pqia$1@dont-email.me>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=7298&group=comp.sys.raspberry-pi#7298

  copy link   Newsgroups: comp.sys.raspberry-pi
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: mar...@mydomain.invalid (Martin Gregorie)
Newsgroups: comp.sys.raspberry-pi
Subject: Re: Limiting the capacity of SD cards for the pi
Date: Mon, 18 Sep 2023 14:40:01 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 66
Message-ID: <ue9ng1$1pqia$1@dont-email.me>
References: <5ae53c469cbob@sick-of-spam.invalid>
<5ae5599655bob@sick-of-spam.invalid> <ue7352$dmc3$1@dont-email.me>
<5ae55f08eebob@sick-of-spam.invalid> <ue8042$il0u$1@dont-email.me>
<5ae5b9eedabob@sick-of-spam.invalid>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Mon, 18 Sep 2023 14:40:01 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="6043fb578de8b4efddda52a3c604b734";
logging-data="1894986"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19Y8XH90pO44AoQhDZergviJJIXudRptzc="
User-Agent: Pan/0.149 (Bellevue; 4c157ba git@gitlab.gnome.org:GNOME/pan.git)
Cancel-Lock: sha1:ZzIsXa5KnrdMPbPbUs3kclftG2s=
 by: Martin Gregorie - Mon, 18 Sep 2023 14:40 UTC

On Mon, 18 Sep 2023 08:50:44 +0100, Bob Latham wrote:

> In article <ue8042$il0u$1@dont-email.me>,
> Martin Gregorie <martin@mydomain.invalid> wrote:
>> Now you know how to mount a disk, you need to know how to find Linux
>> commands that can help you do what you want to do with the RPi. For the
>> rest of this info to work, you need to know how to login as the default
>> user AND how to log in as root:
>
>> 1 the 'man name' command shows you a page (which can be very long)
>> that tells you what 'name' does and how to use it, Name can be
>> anything from a command to a Linux system call or function.
>
>> 2 the "apropos 'text' command shows you a list of commands whose
>> manual pages have 'text' in their first line of their manual pages.
>
>> 3 Using the 'apropos' and 'man' commands is the fastest way I know
>> of of finding a standard issue Linux program that will do what you
>> need it to do and finding out how to use it,
>
>> 4 If you like reading books rather than screens, consider getting a
>> copy of "UNIX in a Nutshell" or "Linux in a Nutshell" - both are
>> concise references to the way UNIX/Linux works and how to use it.
>
>> There's also "Unix Systems Programming for SVR4" which, although
>> quite old now, is still a useful guide to writing programs and
>> applications in C.
>
> Thank you for that information. Scary stuff. I've done what I've done so
> far by googling for answers and a little experimenting. I'm neither
> clever nor an academic.
>
> I wanted to learn how to write code for tcpip comms for another
> platform, I was advised to get a book called "Unix Network Programming".
> It's a thick book and cost a lot of money. I got to about page 3 before
> I was out of my depth and beyond rescue. That's why I have not got any
> linux books.
>
First question: can you write C (or C++ or Rust, ...) already?

If not, I'd recommend the ANSI edition of "The C Programming Language" by
Kernighan and Richie (They are the authors of C).

"The Practise of Programming" by Kernighan and Pike" is also good to have:
if you're starting to program because it describes how to write well laid
out and documented C code that's easy for other programmers (including
yourself in 10 years time) to read, understand and modify. A lot of what
it says is directly applicable to other block structured languages such
as Java, Algol 60, Algol 68, Pascal and even PL/I. It may even help you to
write better programs in other languages such as Perl, Python, Fortran,
COBOL and assemblers.

And, if you find that you need tried and tested chunks of code to slot
into some project you're developing, its worth knowing about both
"Software Tools in Pascal" (Kernighan and Pike) and
"Algorithms" (Sedgewick). The latter isn't cheap, but then good books
about programming languages and algorithms seldom are. Both these provide
runnable example code written in Pascal, which is easy to transcribe
directly into C and/or Java (Personal experience) because it was written
as a teaching language for use in Computer Science courses.

--

Martin | martin at
Gregorie | gregorie dot org

Re: Limiting the capacity of SD cards for the pi

<5ae5e49375bob@sick-of-spam.invalid>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=7299&group=comp.sys.raspberry-pi#7299

  copy link   Newsgroups: comp.sys.raspberry-pi
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: bob...@sick-of-spam.invalid (Bob Latham)
Newsgroups: comp.sys.raspberry-pi
Subject: Re: Limiting the capacity of SD cards for the pi
Date: Mon, 18 Sep 2023 16:36:30 +0100
Organization: None
Lines: 32
Message-ID: <5ae5e49375bob@sick-of-spam.invalid>
References: <5ae53c469cbob@sick-of-spam.invalid>
<5ae5599655bob@sick-of-spam.invalid> <5ae5cc9d6fbob@sick-of-spam.invalid>
<5ae5d1ae27bob@sick-of-spam.invalid> <slrnugghek.vum.${send-direct-email-to-news1021-at-jusme-dot-com-if@vm46.home.jusme.com>
X-Trace: individual.net QIk1xQRpA8wXgddiiDzEBge5+zcVR3rVfO87zPUdOYrUp1J83s
X-Orig-Path: sick-of-spam.invalid!bob
Cancel-Lock: sha1:U3e75sHEDrdAMKVpAI16mReoAws= sha256:8ODpIduDUGc5GkY9cX75bVlXpVIjQubNrUZB0/6F3N8=
X-No-Archive: Yes
User-Agent: NewsHound/v1.53-32 RC1
 by: Bob Latham - Mon, 18 Sep 2023 15:36 UTC

In article
<slrnugghek.vum.${send-direct-email-to-news1021-at-jusme-dot-com-if@vm46.home.jusme.com>,
Ian
<${send-direct-email-to-news1021-at-jusme-dot-com-if-you-must}@jusme.com> wrote:

[snip]

> The file name after the "| gzip >" is where the target image will
> go. It can be any file path, so if you have external filestore
> mounted with samba it can go there directly. There should be enough
> space on the live SD card if you remove the tarfile first, the copy
> it off wherever you need it.

[snip]

Thanks again to Ian and TNP and everyone who has helped me get there.
I have now managed to get through the process and I have an output
file. I need to test that file.

I strongly suspect my settings somewhere but the decompressed file
isn't dramatically smaller than the original.

Original = 3,805,184 KB
new file = 3,411,968 KB

I targeted getting down from 4GB to 3GB as more than 1GB was empty.

Cheers,

Bob.

Re: Limiting the capacity of SD cards for the pi

<slrnuggt9s.vum.${send-direct-email-to-news1021-at-jusme-dot-com-if@vm46.home.jusme.com>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=7300&group=comp.sys.raspberry-pi#7300

  copy link   Newsgroups: comp.sys.raspberry-pi
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!jusme.eternal-september.org!.POSTED!not-for-mail
From: ${send-d...@jusme.com (Ian)
<${send-direct-email-to-news1021-at-jusme-dot-com-if-you-must}@jusme.com>
Newsgroups: comp.sys.raspberry-pi
Subject: Re: Limiting the capacity of SD cards for the pi
Date: Mon, 18 Sep 2023 16:05:16 -0000 (UTC)
Organization: Wet Socks!
Lines: 19
Message-ID: <slrnuggt9s.vum.${send-direct-email-to-news1021-at-jusme-dot-com-if@vm46.home.jusme.com>
References: <5ae53c469cbob@sick-of-spam.invalid>
<5ae5599655bob@sick-of-spam.invalid> <5ae5cc9d6fbob@sick-of-spam.invalid>
<5ae5d1ae27bob@sick-of-spam.invalid>
<slrnugghek.vum.${send-direct-email-to-news1021-at-jusme-dot-com-if@vm46.home.jusme.com>
<5ae5e49375bob@sick-of-spam.invalid>
Injection-Date: Mon, 18 Sep 2023 16:05:16 -0000 (UTC)
Injection-Info: jusme.eternal-september.org; posting-host="fc4bc2099ba273dc9813c7ee31aaf9e6";
logging-data="1941586"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19piygWQojGhIeoGyr8t2bj"
User-Agent: slrn/1.0.3 (Linux)
Cancel-Lock: sha1:UmmKFJbgm5lYWzMfqzQ5QujEbno=
 by: Ian - Mon, 18 Sep 2023 16:05 UTC

On 2023-09-18, Bob Latham <bob@sick-of-spam.invalid> wrote:

> I strongly suspect my settings somewhere but the decompressed file
> isn't dramatically smaller than the original.
>
> Original = 3,805,184 KB
> new file = 3,411,968 KB
>
> I targeted getting down from 4GB to 3GB as more than 1GB was empty.

Well done!

If that's the compressed file size then it seems about right - there should
be the same amount of content, just now it's in a smaller container.

--
Ian

"Tamahome!!!" - "Miaka!!!"

Re: Limiting the capacity of SD cards for the pi

<QE_NM.78562$i1yc.3335@fx15.iad>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=7301&group=comp.sys.raspberry-pi#7301

  copy link   Newsgroups: comp.sys.raspberry-pi
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer02.iad!feed-me.highwinds-media.com!news.highwinds-media.com!fx15.iad.POSTED!not-for-mail
Newsgroups: comp.sys.raspberry-pi
From: cgi...@kltpzyxm.invalid (Charlie Gibbs)
Subject: Re: Limiting the capacity of SD cards for the pi
References: <5ae53c469cbob@sick-of-spam.invalid>
<5ae5599655bob@sick-of-spam.invalid> <87wmwoc0zu.fsf@no-email.invalid>
<5ae55f9b95bob@sick-of-spam.invalid> <87sf7cbu7k.fsf@no-email.invalid>
<ue94fq$1mbio$9@dont-email.me>
User-Agent: slrn/1.0.3 (Linux)
Lines: 22
Message-ID: <QE_NM.78562$i1yc.3335@fx15.iad>
X-Complaints-To: https://www.astraweb.com/aup
NNTP-Posting-Date: Mon, 18 Sep 2023 16:11:28 UTC
Date: Mon, 18 Sep 2023 16:11:28 GMT
X-Received-Bytes: 1500
 by: Charlie Gibbs - Mon, 18 Sep 2023 16:11 UTC

On 2023-09-18, The Natural Philosopher <tnp@invalid.invalid> wrote:

> On 17/09/2023 18:11, Mrtn wrote:
>
>> Since the horse already left the stable, you can put all this in the
>> afterburner.
>
> What a wonderful mixed metaphor..
> I smell a rat.
> I feel it in the air.
> We must nip it in the bud...

The Heinlein novel "Starman Jones" had a character who mixed metaphors
with great aplomb. I remember sayings like "Let sleeping dogs bury
their own dead," and "Let's strike while the iron is in the fire and
let the bridges fall where they may!"

--
/~\ Charlie Gibbs | They offer a huge range of
\ / <cgibbs@kltpzyxm.invalid> | world-class vulnerabilities
X I'm really at ac.dekanfrus | that only Microsoft can provide.
/ \ if you read it the right way. | -- druck <news@druck.org.uk>

Re: Limiting the capacity of SD cards for the pi

<RE_NM.78564$i1yc.38597@fx15.iad>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=7302&group=comp.sys.raspberry-pi#7302

  copy link   Newsgroups: comp.sys.raspberry-pi
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer02.iad!feed-me.highwinds-media.com!news.highwinds-media.com!fx15.iad.POSTED!not-for-mail
Newsgroups: comp.sys.raspberry-pi
From: cgi...@kltpzyxm.invalid (Charlie Gibbs)
Subject: Re: Limiting the capacity of SD cards for the pi
References: <5ae53c469cbob@sick-of-spam.invalid> <650786bd@news.ausics.net>
<5ae5bad225bob@sick-of-spam.invalid> <ue97fp$1n8d4$1@dont-email.me>
<20230918125732.1ffbe313d5cbe229d2a5bf29@eircom.net>
User-Agent: slrn/1.0.3 (Linux)
Lines: 36
Message-ID: <RE_NM.78564$i1yc.38597@fx15.iad>
X-Complaints-To: https://www.astraweb.com/aup
NNTP-Posting-Date: Mon, 18 Sep 2023 16:11:29 UTC
Date: Mon, 18 Sep 2023 16:11:29 GMT
X-Received-Bytes: 2191
 by: Charlie Gibbs - Mon, 18 Sep 2023 16:11 UTC

On 2023-09-18, Ahem A Rivet's Shot <steveo@eircom.net> wrote:

> On Mon, 18 Sep 2023 11:06:48 +0100
> The Natural Philosopher <tnp@invalid.invalid> wrote:
>
>> On 18/09/2023 09:00, Bob Latham wrote:
>>
>>> I think I understand the principle there (just), but dear me.
>>> What is dd?
>>
>> I think it stands for 'direct disk' Unix was written in the days long
>> before even a CRT terminal was common and so its commands were
>> deliberately short.
>
> It's far more obscure than that :)
>
> The dd name was a joke reference to the IBM JCL command DD (data
> definition). Originally dd was the universal data format conversion tool
> capable of converting between ASCII and EBCDIC, adjusting parity,
> converting case, swapping bytes (endian conversion) and dealing with moving
> data between block structured devices/files with different block sizes
> performing block padding as needs be.
>
> It can still do all of this (check the conv section of man dd)
> should you ever find a need to do *any* of it.

Speaking of IBM ancestry, that sounds a bit like the IBM utility DEBE
(Does Everything But Eat), which let you do a lot of the same things
from a mainframe console. I ported a version of it to a couple of
Univac mainframes. Lots of fun.

--
/~\ Charlie Gibbs | They offer a huge range of
\ / <cgibbs@kltpzyxm.invalid> | world-class vulnerabilities
X I'm really at ac.dekanfrus | that only Microsoft can provide.
/ \ if you read it the right way. | -- druck <news@druck.org.uk>

Re: Limiting the capacity of SD cards for the pi

<SE_NM.78567$i1yc.5160@fx15.iad>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=7303&group=comp.sys.raspberry-pi#7303

  copy link   Newsgroups: comp.sys.raspberry-pi
Path: i2pn2.org!i2pn.org!paganini.bofh.team!2.eu.feeder.erje.net!feeder.erje.net!feeder1.feed.usenet.farm!feed.usenet.farm!peer03.ams4!peer.am4.highwinds-media.com!peer03.iad!feed-me.highwinds-media.com!news.highwinds-media.com!fx15.iad.POSTED!not-for-mail
Newsgroups: comp.sys.raspberry-pi
From: cgi...@kltpzyxm.invalid (Charlie Gibbs)
Subject: Re: Limiting the capacity of SD cards for the pi
References: <5ae53c469cbob@sick-of-spam.invalid>
<5ae5599655bob@sick-of-spam.invalid> <ue7352$dmc3$1@dont-email.me>
<5ae55f08eebob@sick-of-spam.invalid> <ue8042$il0u$1@dont-email.me>
<5ae5b9eedabob@sick-of-spam.invalid> <ue96nv$1n1j0$2@dont-email.me>
User-Agent: slrn/1.0.3 (Linux)
Lines: 26
Message-ID: <SE_NM.78567$i1yc.5160@fx15.iad>
X-Complaints-To: https://www.astraweb.com/aup
NNTP-Posting-Date: Mon, 18 Sep 2023 16:11:30 UTC
Date: Mon, 18 Sep 2023 16:11:30 GMT
X-Received-Bytes: 1916
 by: Charlie Gibbs - Mon, 18 Sep 2023 16:11 UTC

On 2023-09-18, The Natural Philosopher <tnp@invalid.invalid> wrote:

> LOL. Don't ever pick up a book on Philosophy. I think it was
> Wittgenstein who said 'If you have not bought a book on philosophy, got
> as far as page 3, and then immediately thrown it into a corner of the
> room. you have no aptitude for philosophy'

:-)

> I too have ceased buying Unix and linux books - the Web is by far the
> quickest way, or asking here.
>
> In general you can learn far more my grabbing 'a simple TCP/IP client
> for Linux' as source code, compiling and debugging it than a dozen books
> will teach you.

Still, if you'd really like a written reference, it's hard to go wrong
with Beej's Guide to Network Programming (https://beej.us/guide/bgnet/).
I know it filled in a lot of blanks in my head when I started programming
TCP/IP applications.

--
/~\ Charlie Gibbs | They offer a huge range of
\ / <cgibbs@kltpzyxm.invalid> | world-class vulnerabilities
X I'm really at ac.dekanfrus | that only Microsoft can provide.
/ \ if you read it the right way. | -- druck <news@druck.org.uk>

Re: Limiting the capacity of SD cards for the pi

<SE_NM.78570$i1yc.36124@fx15.iad>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=7304&group=comp.sys.raspberry-pi#7304

  copy link   Newsgroups: comp.sys.raspberry-pi
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer02.iad!feed-me.highwinds-media.com!news.highwinds-media.com!fx15.iad.POSTED!not-for-mail
Newsgroups: comp.sys.raspberry-pi
From: cgi...@kltpzyxm.invalid (Charlie Gibbs)
Subject: Re: Limiting the capacity of SD cards for the pi
References: <5ae53c469cbob@sick-of-spam.invalid>
<5ae5599655bob@sick-of-spam.invalid> <ue7352$dmc3$1@dont-email.me>
<5ae55f08eebob@sick-of-spam.invalid> <ue8042$il0u$1@dont-email.me>
<ue969g$1n1j0$1@dont-email.me>
User-Agent: slrn/1.0.3 (Linux)
Lines: 22
Message-ID: <SE_NM.78570$i1yc.36124@fx15.iad>
X-Complaints-To: https://www.astraweb.com/aup
NNTP-Posting-Date: Mon, 18 Sep 2023 16:11:30 UTC
Date: Mon, 18 Sep 2023 16:11:30 GMT
X-Received-Bytes: 1562
 by: Charlie Gibbs - Mon, 18 Sep 2023 16:11 UTC

On 2023-09-18, The Natural Philosopher <tnp@invalid.invalid> wrote:

> These days I never use man at all. If I can't remember the command
> syntax I google it and chances are someone else has documented a crib
> that does what I need it to do.
>
> Like I ripped a CD onto my server and all the song title filenames came
> with underscores instead of spaces.
>
> Try invoking 'apropos spaces' .
>
> But googling 'change underscores to spaces in linux file names' got me
> three lines of bash that simply WORKED

Nice man pages (e.g. rsync) contain a section labeled "EXAMPLES".
Too bad they're few and far between.

--
/~\ Charlie Gibbs | They offer a huge range of
\ / <cgibbs@kltpzyxm.invalid> | world-class vulnerabilities
X I'm really at ac.dekanfrus | that only Microsoft can provide.
/ \ if you read it the right way. | -- druck <news@druck.org.uk>

Re: Limiting the capacity of SD cards for the pi

<ue9t82$1rc1a$2@dont-email.me>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=7305&group=comp.sys.raspberry-pi#7305

  copy link   Newsgroups: comp.sys.raspberry-pi
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: tnp...@invalid.invalid (The Natural Philosopher)
Newsgroups: comp.sys.raspberry-pi
Subject: Re: Limiting the capacity of SD cards for the pi
Date: Mon, 18 Sep 2023 17:18:10 +0100
Organization: A little, after lunch
Lines: 37
Message-ID: <ue9t82$1rc1a$2@dont-email.me>
References: <5ae53c469cbob@sick-of-spam.invalid>
<5ae5599655bob@sick-of-spam.invalid> <ue7352$dmc3$1@dont-email.me>
<5ae55f08eebob@sick-of-spam.invalid> <ue8042$il0u$1@dont-email.me>
<5ae5b9eedabob@sick-of-spam.invalid> <ue96nv$1n1j0$2@dont-email.me>
<SE_NM.78567$i1yc.5160@fx15.iad>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Mon, 18 Sep 2023 16:18:10 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="28dd092dab19d7f9bc921ee7b9640cb6";
logging-data="1945642"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX185WFGX07yH/ZzLZgHVSZbpWEp0UTokhns="
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101
Thunderbird/102.15.1
Cancel-Lock: sha1:qt/gYo9qw7Ktip2vhiCpwa7lYzA=
In-Reply-To: <SE_NM.78567$i1yc.5160@fx15.iad>
Content-Language: en-GB
 by: The Natural Philosop - Mon, 18 Sep 2023 16:18 UTC

On 18/09/2023 17:11, Charlie Gibbs wrote:
> On 2023-09-18, The Natural Philosopher <tnp@invalid.invalid> wrote:
>
>> LOL. Don't ever pick up a book on Philosophy. I think it was
>> Wittgenstein who said 'If you have not bought a book on philosophy, got
>> as far as page 3, and then immediately thrown it into a corner of the
>> room. you have no aptitude for philosophy'
>
> :-)
>
>> I too have ceased buying Unix and linux books - the Web is by far the
>> quickest way, or asking here.
>>
>> In general you can learn far more my grabbing 'a simple TCP/IP client
>> for Linux' as source code, compiling and debugging it than a dozen books
>> will teach you.
>
> Still, if you'd really like a written reference, it's hard to go wrong
> with Beej's Guide to Network Programming (https://beej.us/guide/bgnet/).
> I know it filled in a lot of blanks in my head when I started programming
> TCP/IP applications.
>

The sneaking suspicion I have had all my life since I first enocountered
it, that BSD 'sockets' were a truly awful way to interact with a network
device was borne out in my attempts to get networking working on the
PICO with the LWIP library. Badly documented it may have been, but the
overall ideas were a lot easier to get to grips with.

--
“There are two ways to be fooled. One is to believe what isn’t true; the
other is to refuse to believe what is true.”

—Soren Kierkegaard

Re: Limiting the capacity of SD cards for the pi

<20230918173402.9f3a32688c5d61f82ca8e2a7@eircom.net>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=7306&group=comp.sys.raspberry-pi#7306

  copy link   Newsgroups: comp.sys.raspberry-pi
Path: i2pn2.org!i2pn.org!news.hispagatos.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: ste...@eircom.net (Ahem A Rivet's Shot)
Newsgroups: comp.sys.raspberry-pi
Subject: Re: Limiting the capacity of SD cards for the pi
Date: Mon, 18 Sep 2023 17:34:02 +0100
Organization: A noiseless patient Spider
Lines: 15
Message-ID: <20230918173402.9f3a32688c5d61f82ca8e2a7@eircom.net>
References: <5ae53c469cbob@sick-of-spam.invalid>
<5ae5599655bob@sick-of-spam.invalid>
<ue7352$dmc3$1@dont-email.me>
<5ae55f08eebob@sick-of-spam.invalid>
<ue8042$il0u$1@dont-email.me>
<5ae5b9eedabob@sick-of-spam.invalid>
<ue96nv$1n1j0$2@dont-email.me>
<SE_NM.78567$i1yc.5160@fx15.iad>
<ue9t82$1rc1a$2@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Injection-Info: dont-email.me; posting-host="0350d80d74d9baa220cc08be7aadd879";
logging-data="1963837"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/Z3W7IGnhaML/kNRmiArp03nOsyHzzdis="
Cancel-Lock: sha1:DQsHKM6Y/oZ6kONlTbE2D4ZYH1U=
X-Newsreader: Sylpheed 3.7.0 (GTK+ 2.24.33; amd64-portbld-freebsd13.1)
X-Clacks-Overhead: "GNU Terry Pratchett"
 by: Ahem A Rivet's - Mon, 18 Sep 2023 16:34 UTC

On Mon, 18 Sep 2023 17:18:10 +0100
The Natural Philosopher <tnp@invalid.invalid> wrote:

> The sneaking suspicion I have had all my life since I first enocountered
> it, that BSD 'sockets' were a truly awful way to interact with a network
> device

Look into System V streams if you want to see a truly awful way to
interact with a network device.

--
Steve O'Hara-Smith
Odds and Ends at http://www.sohara.org/
Host: Beautiful Theory meet Inconvenient Fact
Obit: Beautiful Theory died today of factual inconsistency

Re: Limiting the capacity of SD cards for the pi

<uea8q6$1tof8$1@dont-email.me>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=7307&group=comp.sys.raspberry-pi#7307

  copy link   Newsgroups: comp.sys.raspberry-pi
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: tnp...@invalid.invalid (The Natural Philosopher)
Newsgroups: comp.sys.raspberry-pi
Subject: Re: Limiting the capacity of SD cards for the pi
Date: Mon, 18 Sep 2023 20:35:34 +0100
Organization: A little, after lunch
Lines: 16
Message-ID: <uea8q6$1tof8$1@dont-email.me>
References: <5ae53c469cbob@sick-of-spam.invalid>
<5ae5599655bob@sick-of-spam.invalid> <ue7352$dmc3$1@dont-email.me>
<5ae55f08eebob@sick-of-spam.invalid> <ue8042$il0u$1@dont-email.me>
<5ae5b9eedabob@sick-of-spam.invalid> <ue96nv$1n1j0$2@dont-email.me>
<SE_NM.78567$i1yc.5160@fx15.iad> <ue9t82$1rc1a$2@dont-email.me>
<20230918173402.9f3a32688c5d61f82ca8e2a7@eircom.net>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Mon, 18 Sep 2023 19:35:34 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="28dd092dab19d7f9bc921ee7b9640cb6";
logging-data="2023912"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+dGaUk0cJouN+3d8I492i5TOBMvpOrewk="
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101
Thunderbird/102.15.1
Cancel-Lock: sha1:8+cl2Lp6QL1t3WLoYw3TVQuqSP8=
In-Reply-To: <20230918173402.9f3a32688c5d61f82ca8e2a7@eircom.net>
Content-Language: en-GB
 by: The Natural Philosop - Mon, 18 Sep 2023 19:35 UTC

On 18/09/2023 17:34, Ahem A Rivet's Shot wrote:
> On Mon, 18 Sep 2023 17:18:10 +0100
> The Natural Philosopher <tnp@invalid.invalid> wrote:
>
>> The sneaking suspicion I have had all my life since I first enocountered
>> it, that BSD 'sockets' were a truly awful way to interact with a network
>> device
>
> Look into System V streams if you want to see a truly awful way to
> interact with a network device.
>
I did, once. :-)

--
Gun Control: The law that ensures that only criminals have guns.

Re: Limiting the capacity of SD cards for the pi

<uea9tv$1ttgl$1@dont-email.me>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=7308&group=comp.sys.raspberry-pi#7308

  copy link   Newsgroups: comp.sys.raspberry-pi
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: new...@druck.org.uk (druck)
Newsgroups: comp.sys.raspberry-pi
Subject: Re: Limiting the capacity of SD cards for the pi
Date: Mon, 18 Sep 2023 20:54:39 +0100
Organization: A noiseless patient Spider
Lines: 10
Message-ID: <uea9tv$1ttgl$1@dont-email.me>
References: <5ae53c469cbob@sick-of-spam.invalid>
<5ae5599655bob@sick-of-spam.invalid> <ue7352$dmc3$1@dont-email.me>
<5ae55f08eebob@sick-of-spam.invalid> <ue7717$e079$7@dont-email.me>
<5ae5653ec8bob@sick-of-spam.invalid> <5ae569ba7ebob@sick-of-spam.invalid>
<slrnugegu8.vum.${send-direct-email-to-news1021-at-jusme-dot-com-if@vm46.home.jusme.com>
<5ae5792215bob@sick-of-spam.invalid>
<slrnugg2jt.vum.${send-direct-email-to-news1021-at-jusme-dot-com-if@vm46.home.jusme.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Mon, 18 Sep 2023 19:54:40 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="994d91e0805e289f7d912d36bca47f93";
logging-data="2029077"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19IJFab/MMkAhRzsBFqZ2HD"
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101
Thunderbird/102.15.1
Cancel-Lock: sha1:m1Cez0f9TcB862FljXtXt/X7Ozg=
X-Antivirus: Avast (VPS 230917-2, 17/9/2023), Outbound message
Content-Language: en-GB
X-Antivirus-Status: Clean
In-Reply-To: <slrnugg2jt.vum.${send-direct-email-to-news1021-at-jusme-dot-com-if@vm46.home.jusme.com>
 by: druck - Mon, 18 Sep 2023 19:54 UTC

On 18/09/2023 09:29, Ian wrote:
> If you log in as "root", or get a root shell by calling "sudo bash",
> things work as expected:

sudo -i

is quicker to type.

---druck

Re: Limiting the capacity of SD cards for the pi

<20230918210809.bf0a47fc01856c55efbcd575@eircom.net>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=7309&group=comp.sys.raspberry-pi#7309

  copy link   Newsgroups: comp.sys.raspberry-pi
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: ste...@eircom.net (Ahem A Rivet's Shot)
Newsgroups: comp.sys.raspberry-pi
Subject: Re: Limiting the capacity of SD cards for the pi
Date: Mon, 18 Sep 2023 21:08:09 +0100
Organization: A noiseless patient Spider
Lines: 24
Message-ID: <20230918210809.bf0a47fc01856c55efbcd575@eircom.net>
References: <5ae53c469cbob@sick-of-spam.invalid>
<5ae5599655bob@sick-of-spam.invalid>
<ue7352$dmc3$1@dont-email.me>
<5ae55f08eebob@sick-of-spam.invalid>
<ue8042$il0u$1@dont-email.me>
<5ae5b9eedabob@sick-of-spam.invalid>
<ue96nv$1n1j0$2@dont-email.me>
<SE_NM.78567$i1yc.5160@fx15.iad>
<ue9t82$1rc1a$2@dont-email.me>
<20230918173402.9f3a32688c5d61f82ca8e2a7@eircom.net>
<uea8q6$1tof8$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Injection-Info: dont-email.me; posting-host="0350d80d74d9baa220cc08be7aadd879";
logging-data="2044016"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+Ww/J7qz0tH6z08rtS/DcS7YKTBamP1pc="
Cancel-Lock: sha1:fNmf/46FzP5MTDMaTh7rqK9J64k=
X-Clacks-Overhead: "GNU Terry Pratchett"
X-Newsreader: Sylpheed 3.7.0 (GTK+ 2.24.33; amd64-portbld-freebsd13.1)
 by: Ahem A Rivet's - Mon, 18 Sep 2023 20:08 UTC

On Mon, 18 Sep 2023 20:35:34 +0100
The Natural Philosopher <tnp@invalid.invalid> wrote:

> On 18/09/2023 17:34, Ahem A Rivet's Shot wrote:
> > On Mon, 18 Sep 2023 17:18:10 +0100
> > The Natural Philosopher <tnp@invalid.invalid> wrote:
> >
> >> The sneaking suspicion I have had all my life since I first
> >> enocountered it, that BSD 'sockets' were a truly awful way to interact
> >> with a network device
> >
> > Look into System V streams if you want to see a truly awful way
> > to interact with a network device.
> >
> I did, once. :-)

I had the misfortune of using it as transport for an early
fault tolerant distributed database application. It was interesting.

--
Steve O'Hara-Smith
Odds and Ends at http://www.sohara.org/
Host: Beautiful Theory meet Inconvenient Fact
Obit: Beautiful Theory died today of factual inconsistency

Re: Limiting the capacity of SD cards for the pi

<6508d35c@news.ausics.net>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=7310&group=comp.sys.raspberry-pi#7310

  copy link   Newsgroups: comp.sys.raspberry-pi
Message-ID: <6508d35c@news.ausics.net>
From: not...@telling.you.invalid (Computer Nerd Kev)
Subject: Re: Limiting the capacity of SD cards for the pi
Newsgroups: comp.sys.raspberry-pi
References: <5ae53c469cbob@sick-of-spam.invalid> <650786bd@news.ausics.net> <5ae5bad225bob@sick-of-spam.invalid>
User-Agent: tin/2.0.1-20111224 ("Achenvoir") (UNIX) (Linux/2.4.31 (i586))
NNTP-Posting-Host: news.ausics.net
Date: 19 Sep 2023 08:46:53 +1000
Organization: Ausics - https://ausics.net
Lines: 66
X-Complaints: abuse@ausics.net
Path: i2pn2.org!i2pn.org!news.bbs.nz!news.ausics.net!not-for-mail
 by: Computer Nerd Kev - Mon, 18 Sep 2023 22:46 UTC

Bob Latham <bob@sick-of-spam.invalid> wrote:
> In article <650786bd@news.ausics.net>,
> Computer Nerd Kev <not@telling.you.invalid> wrote:
>
>> Using Tar as suggested is one option. If you still want to use raw
>> image files where the partitioning is already done for you, then
>> what I've done for that is create a blank disk image file of the
>> size I want (using dd reading from /dev/zero), then partition that
>> and copy over the system files before writing that image to a real
>> SD card.
>
> I think I understand the principle there (just), but dear me.
> What is dd?
> What is /dev/zero is that a drive?

dd is basically the standard image file (etc.) reader/writer
program on Linux. I thought you might have been using it already,
but since reading more posts I see you were doing everything from
Windows. TNF has already described dd and /dev/zero in ample
detail.

> I'd love to do it but don't have anywhere near enough knowledge to do
> it?

The aim is just to create an empty file which some Linux
programs can then use pretending that it's a physical drive, then
when everything's set up that file's contents can be copied over to
a physical drive. The complicated part is really in copying the
system files into the empty image file first. Resizing partitions
would be easier for you.

>> I've also had success with simply creating a partition table with
>> blank space at the end of an SD card. If you just copy over as much
>> data as will fit on the smaller SD card, it should still work if
>> the partitions had all ended before the space ran out. Resizing
>> the last partition on the existing card should work too (make a
>> backup first). But doing the work on a file instead of a real card
>> is probably safer and less confusing. Faster too, especially if
>> you create it in /tmp so the write operations all happen in RAM,
>> provided you have enough.
>
> No idea how to create a partition table. Wouldn't know where to start.
>
> Thanks for trying to help me but you're way above my level.

Resizing the last parition isn't difficult in a program like
GParted (which will need to run on Linux). What might be confusing
then is that your disk imager program will probably still create an
image file that's too big to fit on smaller SD cards. The image
_can_ still work on smaller cards because the data in the
unpartitioned section at the end of the image file is now ignored
in use anyway, but you'll have to convince your image file writer
program to just write as much data as will fit. That might be
easy or it might be impossible, depending on the program.

The last time I used image file writers on Windows was for floppy
disk images, so I'm not sure whether modern ones are suitable for
this. With dd you can use the "bs" and "count" options to stop it
reading/writing data from/to the image file at the end of the last
partition (if you get your maths right to work out where that is in
bytes and divide that by the "bs" value in bytes to use for the
"count" value - this is one of dd's less convenient aspects).

--
__ __
#_ < |\| |< _#

Re: Limiting the capacity of SD cards for the pi

<6508d919@news.ausics.net>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=7311&group=comp.sys.raspberry-pi#7311

  copy link   Newsgroups: comp.sys.raspberry-pi
Message-ID: <6508d919@news.ausics.net>
From: not...@telling.you.invalid (Computer Nerd Kev)
Subject: Re: Limiting the capacity of SD cards for the pi
Newsgroups: comp.sys.raspberry-pi
References: <5ae53c469cbob@sick-of-spam.invalid> <5ae5599655bob@sick-of-spam.invalid> <ue7352$dmc3$1@dont-email.me> <5ae55f08eebob@sick-of-spam.invalid> <ue8042$il0u$1@dont-email.me> <ue969g$1n1j0$1@dont-email.me>
User-Agent: tin/2.0.1-20111224 ("Achenvoir") (UNIX) (Linux/2.4.31 (i586))
NNTP-Posting-Host: news.ausics.net
Date: 19 Sep 2023 09:11:22 +1000
Organization: Ausics - https://ausics.net
Lines: 22
X-Complaints: abuse@ausics.net
Path: i2pn2.org!i2pn.org!news.bbs.nz!news.ausics.net!not-for-mail
 by: Computer Nerd Kev - Mon, 18 Sep 2023 23:11 UTC

The Natural Philosopher <tnp@invalid.invalid> wrote:
> The first time we got a SUN server equipped with system V unix, and
> discovered that LPR had gone, and we have no way to make it print to its
> parallel port, was such a nightmare for the company that I drove into
> town at lunchtime, and went to the university bookstore and paid ?55 for
> a book on SUNS unix V, because it had one line of about 300 characters
> in it which was 'how you enable printing on a system V Unix parallel port'
>
> Today we have CUPS which hides all the ugliness.

Wow, I gave up on CUPS a few years ago when they changed things and
I couldn't find any documentation on the web to explain how to make
it work the way I had it before. Now I'm using lprng, which is also
faster, although I'll admit that I'd have to check the docs again
to remember how to set up a new printer.

Maybe it's all a secret effort to bring about the paperless society
by force? :)

--
__ __
#_ < |\| |< _#

Re: Limiting the capacity of SD cards for the pi

<uebh29$2803p$2@dont-email.me>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=7313&group=comp.sys.raspberry-pi#7313

  copy link   Newsgroups: comp.sys.raspberry-pi
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: tnp...@invalid.invalid (The Natural Philosopher)
Newsgroups: comp.sys.raspberry-pi
Subject: Re: Limiting the capacity of SD cards for the pi
Date: Tue, 19 Sep 2023 08:02:33 +0100
Organization: A little, after lunch
Lines: 16
Message-ID: <uebh29$2803p$2@dont-email.me>
References: <5ae53c469cbob@sick-of-spam.invalid>
<5ae5599655bob@sick-of-spam.invalid> <ue7352$dmc3$1@dont-email.me>
<5ae55f08eebob@sick-of-spam.invalid> <ue7717$e079$7@dont-email.me>
<5ae5653ec8bob@sick-of-spam.invalid> <5ae569ba7ebob@sick-of-spam.invalid>
<slrnugegu8.vum.${send-direct-email-to-news1021-at-jusme-dot-com-if@vm46.home.jusme.com>
<5ae5792215bob@sick-of-spam.invalid>
<slrnugg2jt.vum.${send-direct-email-to-news1021-at-jusme-dot-com-if@vm46.home.jusme.com>
<uea9tv$1ttgl$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Tue, 19 Sep 2023 07:02:33 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="22666355f8644668452f6be22c6c2186";
logging-data="2359417"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/rUkcTFpi+vpjKjbHCpZ1rAioiBKI4HIg="
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101
Thunderbird/102.15.1
Cancel-Lock: sha1:B/BczYObOpVzGErgiCmUL0kanSM=
Content-Language: en-GB
In-Reply-To: <uea9tv$1ttgl$1@dont-email.me>
 by: The Natural Philosop - Tue, 19 Sep 2023 07:02 UTC

On 18/09/2023 20:54, druck wrote:
> On 18/09/2023 09:29, Ian wrote:
>> If you log in as "root", or get a root shell by calling "sudo bash",
>> things work as expected:
>
> sudo -i
>
> is quicker to type.
>
> ---druck
>
su - is even quicker

--
The New Left are the people they warned you about.

Re: Limiting the capacity of SD cards for the pi

<5ae63c170cbob@sick-of-spam.invalid>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=7315&group=comp.sys.raspberry-pi#7315

  copy link   Newsgroups: comp.sys.raspberry-pi
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: bob...@sick-of-spam.invalid (Bob Latham)
Newsgroups: comp.sys.raspberry-pi
Subject: Re: Limiting the capacity of SD cards for the pi
Date: Tue, 19 Sep 2023 08:32:23 +0100
Organization: None
Lines: 24
Message-ID: <5ae63c170cbob@sick-of-spam.invalid>
References: <5ae53c469cbob@sick-of-spam.invalid> <650786bd@news.ausics.net> <5ae5bad225bob@sick-of-spam.invalid> <6508d35c@news.ausics.net>
X-Trace: individual.net npnb2TmWJNt6xT0CB/PbJAOErglcris0mBHODjlnSbHHTiWlmU
X-Orig-Path: sick-of-spam.invalid!bob
Cancel-Lock: sha1:Cp+DmjzA9kWBcsvtme2/fhIhWis= sha256:X0xsKwYz0Zx2D4ynI1Ty7oz0NQM4YnD+8CHU7vLZWis=
X-No-Archive: Yes
User-Agent: NewsHound/v1.53-32 RC1
 by: Bob Latham - Tue, 19 Sep 2023 07:32 UTC

In article <6508d35c@news.ausics.net>,
Computer Nerd Kev <not@telling.you.invalid> wrote:

> dd is basically the standard image file (etc.) reader/writer
> program on Linux. I thought you might have been using it already,
> but since reading more posts I see you were doing everything from
> Windows.

Yes, windows to you but I'm in the Black Country so it's Winders
around here. :-)

[snip]

> Resizing the last parition isn't difficult in a program like
> GParted (which will need to run on Linux).

[snip]

Thanks for the useful and educational post.

Cheers,

Bob.

Pages:123456789
server_pubkey.txt

rocksolid light 0.9.8
clearnet tor