Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

A complex system that works is invariably found to have evolved from a simple system that works.


computers / comp.sys.raspberry-pi / Re: Labeling micro-SD cards ?

SubjectAuthor
* Labeling micro-SD cards ?R.Wieser
+* Re: Labeling micro-SD cards ?nev young
|+* Re: Labeling micro-SD cards ?R.Wieser
||`- Re: Labeling micro-SD cards ?nev young
|+- Re: Labeling micro-SD cards ?R.Wieser
|`- Re: Labeling micro-SD cards ?Dave
+- Re: Labeling micro-SD cards ?JJenssen
+* Re: Labeling micro-SD cards ?Ahem A Rivet's Shot
|`- Re: Labeling micro-SD cards ?R.Wieser
+* Re: Labeling micro-SD cards ?R.Wieser
|+* Re: Labeling micro-SD cards ?Jan Panteltje
||`* Re: Labeling micro-SD cards ?R.Wieser
|| `* Re: Labeling micro-SD cards ?Jan Panteltje
||  +- Re: Labeling micro-SD cards ?Jan Panteltje
||  `* Re: Labeling micro-SD cards ?R.Wieser
||   `* Re: Labeling micro-SD cards ?mm0fmf
||    +* Re: Labeling micro-SD cards ?A. Dumas
||    |`* Re: Labeling micro-SD cards ?mm0fmf
||    | `- Re: Labeling micro-SD cards ?R.Wieser
||    `* Re: Labeling micro-SD cards ?Pancho
||     +* Re: Labeling micro-SD cards ?The Natural Philosopher
||     |`- Re: Labeling micro-SD cards ?Pancho
||     `* Re: Labeling micro-SD cards ?mm0fmf
||      `* Re: Labeling micro-SD cards ?Pancho
||       `- Re: Labeling micro-SD cards ?mm0fmf
|`* Re: Labeling micro-SD cards ?Jeff Jonas
| `* Re: Labeling micro-SD cards ?R.Wieser
|  `* Re: Labeling micro-SD cards ?Jan Panteltje
|   `* Re: Labeling micro-SD cards ?R.Wieser
|    +- Re: Labeling micro-SD cards ?The Natural Philosopher
|    +- Re: Labeling micro-SD cards ?Jan Panteltje
|    `* Re: Labeling micro-SD cards ?Chris
|     `* Re: Labeling micro-SD cards ?R.Wieser
|      +* Re: Labeling micro-SD cards ?Theo
|      |`* Re: Labeling micro-SD cards ?R.Wieser
|      | +* Re: Labeling micro-SD cards ?Theo
|      | |`* Re: Labeling micro-SD cards ?R.Wieser
|      | | +- Re: Labeling micro-SD cards ?The Natural Philosopher
|      | | `* Re: Labeling micro-SD cards ?Jim Jackson
|      | |  +- Re: Labeling micro-SD cards ?Ahem A Rivet's Shot
|      | |  `- Re: Labeling micro-SD cards ?The Natural Philosopher
|      | `* Re: Labeling micro-SD cards ?The Natural Philosopher
|      |  +- Re: Labeling micro-SD cards ?Ahem A Rivet's Shot
|      |  +* Re: Labeling micro-SD cards ?R.Wieser
|      |  |+* Re: Labeling micro-SD cards ?The Natural Philosopher
|      |  ||`* Re: Labeling micro-SD cards ?R.Wieser
|      |  || `* Re: Labeling micro-SD cards ?The Natural Philosopher
|      |  ||  `* Re: Labeling micro-SD cards ?R.Wieser
|      |  ||   `* Re: Labeling micro-SD cards ?The Natural Philosopher
|      |  ||    `* Re: Labeling micro-SD cards ?R.Wieser
|      |  ||     `* Re: Labeling micro-SD cards ?Chris Elvidge
|      |  ||      +- Re: Labeling micro-SD cards ?Chris Elvidge
|      |  ||      `* Re: Labeling micro-SD cards ?R.Wieser
|      |  ||       +- Re: Labeling micro-SD cards ?The Natural Philosopher
|      |  ||       `* Re: Labeling micro-SD cards ?Chris Elvidge
|      |  ||        `- Re: Labeling micro-SD cards ?NY
|      |  |`* Re: Labeling micro-SD cards ?Jan Panteltje
|      |  | +* Re: Labeling micro-SD cards ?R.Wieser
|      |  | |`* Re: Labeling micro-SD cards ?Jan Panteltje
|      |  | | +* Re: Labeling micro-SD cards ?R.Wieser
|      |  | | |+- Re: Labeling micro-SD cards ?Ahem A Rivet's Shot
|      |  | | |`* Re: Labeling micro-SD cards ?Jan Panteltje
|      |  | | | `- Re: Labeling micro-SD cards ?R.Wieser
|      |  | | `- Re: Labeling micro-SD cards ?The Natural Philosopher
|      |  | `* Re: Labeling micro-SD cards ?Martin Gregorie
|      |  |  `* Re: Labeling micro-SD cards ?The Natural Philosopher
|      |  |   `* Re: Labeling micro-SD cards ?Theo
|      |  |    `- Re: Labeling micro-SD cards ?The Natural Philosopher
|      |  `- Re: Labeling micro-SD cards ?Andrew Smallshaw
|      `- Re: Labeling micro-SD cards ?The Natural Philosopher
+* Re: Labeling micro-SD cards ?Ian
|+- Re: Labeling micro-SD cards ?Ian
|`* Re: Labeling micro-SD cards ?R.Wieser
| +- Re: Labeling micro-SD cards ?Ian
| +* Re: Labeling micro-SD cards ?Ian
| |`* Re: Labeling micro-SD cards ?Theo
| | `* Re: Labeling micro-SD cards ?Ahem A Rivet's Shot
| |  `- Re: Labeling micro-SD cards ?The Natural Philosopher
| `- Re: Labeling micro-SD cards ?bob prohaska
+- Re: Labeling micro-SD cards ?Thomas Kempkes
+* Re: Labeling micro-SD cards ?The Natural Philosopher
|`* Re: Labeling micro-SD cards ?Ahem A Rivet's Shot
| `* Re: Labeling micro-SD cards ?Richard Harnden
|  `- Re: Labeling micro-SD cards ?Martin Gregorie
+- Re: Labeling micro-SD cards ?nospam
+* Re: Labeling micro-SD cards ?Computer Nerd Kev
|`* Re: Labeling micro-SD cards ?R.Wieser
| `* Re: Labeling micro-SD cards ?Dennis Lee Bieber
|  `* Re: Labeling micro-SD cards ?R.Wieser
|   +* Re: Labeling micro-SD cards ?Martin Gregorie
|   |`* Re: Labeling micro-SD cards ?R.Wieser
|   | `* Re: Labeling micro-SD cards ?Martin Gregorie
|   |  `* Re: Labeling micro-SD cards ?R.Wieser
|   |   `- Re: Labeling micro-SD cards ?Martin Gregorie
|   `* Re: Labeling micro-SD cards ?David Higton
|    `- Re: Labeling micro-SD cards ?Jim Jackson
+* Re: Labeling micro-SD cards ?scott
|`- Re: Labeling micro-SD cards ?A. Dumas
+- Re: Labeling micro-SD cards ?Andrew Smallshaw
+- Re: Labeling micro-SD cards ?Clive Reuben
+* Re: Labeling micro-SD cards ?Othello
`* Re: Labeling micro-SD cards ?Binaries

Pages:12345
Re: Labeling micro-SD cards ?

<titvnf$k9o1$2@dont-email.me>

  copy mid

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

  copy link   Newsgroups: comp.sys.raspberry-pi
Path: i2pn2.org!i2pn.org!aioe.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: tnp...@invalid.invalid (The Natural Philosopher)
Newsgroups: comp.sys.raspberry-pi
Subject: Re: Labeling micro-SD cards ?
Date: Fri, 21 Oct 2022 12:27:43 +0100
Organization: A little, after lunch
Lines: 46
Message-ID: <titvnf$k9o1$2@dont-email.me>
References: <tiis1u$15dm$1@gioia.aioe.org> <tijbn5$2mn$1@gioia.aioe.org>
<tijcqj$3e4l0$1@dont-email.me> <tijf6l$1ncv$2@gioia.aioe.org>
<tijus3$3fr8o$1@dont-email.me> <tik6nl$1e1t$1@gioia.aioe.org>
<tir4s7$a7nc$1@dont-email.me> <titt88$jvim$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Fri, 21 Oct 2022 11:27:43 -0000 (UTC)
Injection-Info: reader01.eternal-september.org; posting-host="4a5fecb137f98f92b5bedf12ffbf7ce4";
logging-data="665345"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+GEov97ztLBDMTu/SqQAWUDAVMT+Xdq/4="
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101
Thunderbird/102.2.2
Cancel-Lock: sha1:KSo4HXjP/4tEO5+9BgyMCE4nCh8=
In-Reply-To: <titt88$jvim$1@dont-email.me>
Content-Language: en-GB
 by: The Natural Philosop - Fri, 21 Oct 2022 11:27 UTC

On 21/10/2022 11:45, Pancho wrote:
> On 20/10/2022 10:37, mm0fmf wrote:
>> On 17/10/2022 19:25, R.Wieser wrote:
>>> :-)  My Desktop runs windows.  No 'dmesg' on it.
>>>
>>
>> So install WSL on the Windows system and you can use that to
>>
>>      * automount Flash media plugged into the Windows computer
>>      * read the Linux filesystems with ls
>>
>
> How is this done? I recently tried and found the following problem:
>
> <https://learn.microsoft.com/en-us/windows/wsl/wsl2-mount-disk>
>
> ---
> Prerequisites
>
> You will need to be on Windows 11 Build 22000 or later to access this
> feature. You can join the Windows Insiders Program to get the latest
> preview builds.
> ---
>
>
> I have Windows 10, incompatible with W11. Can I do it?
>
> My non windows solution has always been to plug the SD card adapter into
> a USB socket of one of my other rPis.
>

Easiest thing is to boot a linux live CD or live USB or install virtual
box and have a linux virtual machine. Then you aren't handicapped by
Microsofts inadequacies.

--
“I know that most men, including those at ease with problems of the
greatest complexity, can seldom accept even the simplest and most
obvious truth if it be such as would oblige them to admit the falsity of
conclusions which they have delighted in explaining to colleagues, which
they have proudly taught to others, and which they have woven, thread by
thread, into the fabric of their lives.”

― Leo Tolstoy

Re: Labeling micro-SD cards ?

<tj0oqa$tjji$1@dont-email.me>

  copy mid

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

  copy link   Newsgroups: comp.sys.raspberry-pi
Path: i2pn2.org!i2pn.org!aioe.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: Pancho.J...@proton.me (Pancho)
Newsgroups: comp.sys.raspberry-pi
Subject: Re: Labeling micro-SD cards ?
Date: Sat, 22 Oct 2022 13:48:09 +0100
Organization: A noiseless patient Spider
Lines: 69
Message-ID: <tj0oqa$tjji$1@dont-email.me>
References: <tiis1u$15dm$1@gioia.aioe.org> <tijbn5$2mn$1@gioia.aioe.org>
<tijcqj$3e4l0$1@dont-email.me> <tijf6l$1ncv$2@gioia.aioe.org>
<tijus3$3fr8o$1@dont-email.me> <tik6nl$1e1t$1@gioia.aioe.org>
<tir4s7$a7nc$1@dont-email.me> <titt88$jvim$1@dont-email.me>
<titvnf$k9o1$2@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Sat, 22 Oct 2022 12:48:10 -0000 (UTC)
Injection-Info: reader01.eternal-september.org; posting-host="60b0d6c992e5d878e356b49edcbb639e";
logging-data="970354"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/EByVDywqmHHK9HU2Z3/zqzqWAn7iJrDs="
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101
Thunderbird/102.1.2
Cancel-Lock: sha1:1xryWQzR37UKEZXtszJs5dD8qPY=
Content-Language: en-GB
In-Reply-To: <titvnf$k9o1$2@dont-email.me>
 by: Pancho - Sat, 22 Oct 2022 12:48 UTC

On 21/10/2022 12:27, The Natural Philosopher wrote:
> On 21/10/2022 11:45, Pancho wrote:
>> On 20/10/2022 10:37, mm0fmf wrote:
>>> On 17/10/2022 19:25, R.Wieser wrote:
>>>> :-)  My Desktop runs windows.  No 'dmesg' on it.
>>>>
>>>
>>> So install WSL on the Windows system and you can use that to
>>>
>>>      * automount Flash media plugged into the Windows computer
>>>      * read the Linux filesystems with ls
>>>
>>
>> How is this done? I recently tried and found the following problem:
>>
>> <https://learn.microsoft.com/en-us/windows/wsl/wsl2-mount-disk>
>>
>> ---
>> Prerequisites
>>
>> You will need to be on Windows 11 Build 22000 or later to access this
>> feature. You can join the Windows Insiders Program to get the latest
>> preview builds.
>> ---
>>
>>
>> I have Windows 10, incompatible with W11. Can I do it?
>>
>> My non windows solution has always been to plug the SD card adapter
>> into a USB socket of one of my other rPis.
>>
>
> Easiest thing is to boot a linux live CD or live USB or install virtual
> box and have a linux virtual machine. Then you aren't handicapped by
> Microsofts inadequacies.
>

Easier to just use an rPi.

I did use to use VirtualBox, but switched to Hyper-V when I need my VMs
to boot with the host booting, there was a cludgy way to do it in
VirtualBox, but it was a standard feature with Hyper-V.

Anyway, I pretty much gave up using traditional VMs when WSL 2 appeared.
That enabled me to run Linux Docker machines and I had the rPi if I
required a proper Linux machine, for stuff like reading Ext4. It would
be nice to read Ext4 SD cards in WSL2, but I'm not going to run out and
buy a new machine, to get W11.

Anyway, I was interested in the RPi Imager/headless install Andy Burns
was talking about. After some fannying around, I re-remembered that the
SD card boot partition is FAT anyway, so I didn't need Ext4 to see what
was going on.

The RPi imager drops a shell script in the boot partition, firstrun.sh.

SSH worked for me with both password authentication and with public-key
only authentication. A little bit irritating that the password
authentication didn't copy a public key across.

However, all in all, It is nice to be able to do a WIFI headless instal.

Re: Labeling micro-SD cards ?

<tj38qt$16o0b$1@dont-email.me>

  copy mid

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

  copy link   Newsgroups: comp.sys.raspberry-pi
Path: i2pn2.org!i2pn.org!aioe.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: non...@invalid.com (mm0fmf)
Newsgroups: comp.sys.raspberry-pi
Subject: Re: Labeling micro-SD cards ?
Date: Sun, 23 Oct 2022 12:33:48 +0100
Organization: A noiseless patient Spider
Lines: 39
Message-ID: <tj38qt$16o0b$1@dont-email.me>
References: <tiis1u$15dm$1@gioia.aioe.org> <tijbn5$2mn$1@gioia.aioe.org>
<tijcqj$3e4l0$1@dont-email.me> <tijf6l$1ncv$2@gioia.aioe.org>
<tijus3$3fr8o$1@dont-email.me> <tik6nl$1e1t$1@gioia.aioe.org>
<tir4s7$a7nc$1@dont-email.me> <titt88$jvim$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Sun, 23 Oct 2022 11:33:49 -0000 (UTC)
Injection-Info: reader01.eternal-september.org; posting-host="7c6256ba59381156071d48791fbe1453";
logging-data="1269771"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18AhuYJ5XXOwPsuctgkwlE0"
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101
Thunderbird/60.8.0
Cancel-Lock: sha1:5r2yjJOZ2brLMiF7q5JgxO5dapU=
In-Reply-To: <titt88$jvim$1@dont-email.me>
Content-Language: en-US
 by: mm0fmf - Sun, 23 Oct 2022 11:33 UTC

On 21/10/2022 11:45, Pancho wrote:
> On 20/10/2022 10:37, mm0fmf wrote:
>> On 17/10/2022 19:25, R.Wieser wrote:
>>> :-)  My Desktop runs windows.  No 'dmesg' on it.
>>>
>>
>> So install WSL on the Windows system and you can use that to
>>
>>      * automount Flash media plugged into the Windows computer
>>      * read the Linux filesystems with ls
>>
>
> How is this done? I recently tried and found the following problem:
>
> <https://learn.microsoft.com/en-us/windows/wsl/wsl2-mount-disk>
>
> ---
> Prerequisites
>
> You will need to be on Windows 11 Build 22000 or later to access this
> feature. You can join the Windows Insiders Program to get the latest
> preview builds.
> ---
>
>
> I have Windows 10, incompatible with W11. Can I do it?
>
> My non windows solution has always been to plug the SD card adapter into
> a USB socket of one of my other rPis.
>

Don't know. The Windows machines here are all Win10 Pro or Win10
Enterprise. WSL and/or WSL2 install fine on W10. Try it and see if it
works. If it doesn't automount, you just have to manually mount it with
the right fstype, not the end of the world.

You can probably use Cygwin to achieve the same end but WSL/WSL2 seem to
install with less effort IMHO.

Re: Labeling micro-SD cards ?

<tj3isd$18qos$1@dont-email.me>

  copy mid

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

  copy link   Newsgroups: comp.sys.raspberry-pi
Path: i2pn2.org!i2pn.org!aioe.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: Pancho.J...@proton.me (Pancho)
Newsgroups: comp.sys.raspberry-pi
Subject: Re: Labeling micro-SD cards ?
Date: Sun, 23 Oct 2022 15:25:17 +0100
Organization: A noiseless patient Spider
Lines: 68
Message-ID: <tj3isd$18qos$1@dont-email.me>
References: <tiis1u$15dm$1@gioia.aioe.org> <tijbn5$2mn$1@gioia.aioe.org>
<tijcqj$3e4l0$1@dont-email.me> <tijf6l$1ncv$2@gioia.aioe.org>
<tijus3$3fr8o$1@dont-email.me> <tik6nl$1e1t$1@gioia.aioe.org>
<tir4s7$a7nc$1@dont-email.me> <titt88$jvim$1@dont-email.me>
<tj38qt$16o0b$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Sun, 23 Oct 2022 14:25:17 -0000 (UTC)
Injection-Info: reader01.eternal-september.org; posting-host="b6b16d139c2f83f2ecb15f546bb35910";
logging-data="1338140"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+9UyIgctlmbVKy5/lWg0hHd860sRGQlaA="
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101
Thunderbird/102.1.2
Cancel-Lock: sha1:lS58CfaLimioaI1mcztMSbl7gP0=
In-Reply-To: <tj38qt$16o0b$1@dont-email.me>
Content-Language: en-GB
 by: Pancho - Sun, 23 Oct 2022 14:25 UTC

On 23/10/2022 12:33, mm0fmf wrote:
> On 21/10/2022 11:45, Pancho wrote:
>> On 20/10/2022 10:37, mm0fmf wrote:
>>> On 17/10/2022 19:25, R.Wieser wrote:
>>>> :-)  My Desktop runs windows.  No 'dmesg' on it.
>>>>
>>>
>>> So install WSL on the Windows system and you can use that to
>>>
>>>      * automount Flash media plugged into the Windows computer
>>>      * read the Linux filesystems with ls
>>>
>>
>> How is this done? I recently tried and found the following problem:
>>
>> <https://learn.microsoft.com/en-us/windows/wsl/wsl2-mount-disk>
>>
>> ---
>> Prerequisites
>>
>> You will need to be on Windows 11 Build 22000 or later to access this
>> feature. You can join the Windows Insiders Program to get the latest
>> preview builds.
>> ---
>>
>>
>> I have Windows 10, incompatible with W11. Can I do it?
>>
>> My non windows solution has always been to plug the SD card adapter
>> into a USB socket of one of my other rPis.
>>
>
> Don't know. The Windows machines here are all Win10 Pro or Win10
> Enterprise. WSL and/or WSL2 install fine on W10. Try it and see if it
> works.

Yes, I have WSL2, I use WSL2 regularly.

> If it doesn't automount, you just have to manually mount it with
> the right fstype, not the end of the world.
>

Mount what exactly?

AIUI, The hypervisor on Windows (e.g. Hyper-V, Virtual Box) has tended
to get devices handed to it by Windows. If Windows cannot handle a
device, such as an Ext4 USB, Windows will not make the device available
to the hypervisor.

Now, some hypervisors enable hardware passthru, which may make things
such as the USB device directly available to the VM. I've played with
this in the past and generally found it to be a pain. A promise that it
will work, that suddenly vanishes when some arcane gotcha brings the
whole plan grinding to a halt.

In this case, the WSL2 gotcha was I need a specific build which I don't
have, and it is far from obvious that I could have even if I spent hours
researching it.

> You can probably use Cygwin to achieve the same end but WSL/WSL2 seem to
> install with less effort IMHO.
>

It sounds suspiciously like a wild goose chase.

Re: Labeling micro-SD cards ?

<tj3mia$19oda$1@dont-email.me>

  copy mid

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

  copy link   Newsgroups: comp.sys.raspberry-pi
Path: i2pn2.org!i2pn.org!paganini.bofh.team!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: non...@invalid.com (mm0fmf)
Newsgroups: comp.sys.raspberry-pi
Subject: Re: Labeling micro-SD cards ?
Date: Sun, 23 Oct 2022 16:28:09 +0100
Organization: A noiseless patient Spider
Lines: 82
Message-ID: <tj3mia$19oda$1@dont-email.me>
References: <tiis1u$15dm$1@gioia.aioe.org> <tijbn5$2mn$1@gioia.aioe.org>
<tijcqj$3e4l0$1@dont-email.me> <tijf6l$1ncv$2@gioia.aioe.org>
<tijus3$3fr8o$1@dont-email.me> <tik6nl$1e1t$1@gioia.aioe.org>
<tir4s7$a7nc$1@dont-email.me> <titt88$jvim$1@dont-email.me>
<tj38qt$16o0b$1@dont-email.me> <tj3isd$18qos$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Sun, 23 Oct 2022 15:28:10 -0000 (UTC)
Injection-Info: reader01.eternal-september.org; posting-host="7c6256ba59381156071d48791fbe1453";
logging-data="1368490"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19VCkM1yxoYIzABdIGXgLwV"
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101
Thunderbird/60.8.0
Cancel-Lock: sha1:Yt5uHM5c35+AMjEaIQOOmYOr0mI=
In-Reply-To: <tj3isd$18qos$1@dont-email.me>
Content-Language: en-US
 by: mm0fmf - Sun, 23 Oct 2022 15:28 UTC

On 23/10/2022 15:25, Pancho wrote:
> On 23/10/2022 12:33, mm0fmf wrote:
>> On 21/10/2022 11:45, Pancho wrote:
>>> On 20/10/2022 10:37, mm0fmf wrote:
>>>> On 17/10/2022 19:25, R.Wieser wrote:
>>>>> :-)  My Desktop runs windows.  No 'dmesg' on it.
>>>>>
>>>>
>>>> So install WSL on the Windows system and you can use that to
>>>>
>>>>      * automount Flash media plugged into the Windows computer
>>>>      * read the Linux filesystems with ls
>>>>
>>>
>>> How is this done? I recently tried and found the following problem:
>>>
>>> <https://learn.microsoft.com/en-us/windows/wsl/wsl2-mount-disk>
>>>
>>> ---
>>> Prerequisites
>>>
>>> You will need to be on Windows 11 Build 22000 or later to access this
>>> feature. You can join the Windows Insiders Program to get the latest
>>> preview builds.
>>> ---
>>>
>>>
>>> I have Windows 10, incompatible with W11. Can I do it?
>>>
>>> My non windows solution has always been to plug the SD card adapter
>>> into a USB socket of one of my other rPis.
>>>
>>
>> Don't know. The Windows machines here are all Win10 Pro or Win10
>> Enterprise. WSL and/or WSL2 install fine on W10. Try it and see if it
>> works.
>
> Yes, I have WSL2, I use WSL2 regularly.
>
>> If it doesn't automount, you just have to manually mount it with the
>> right fstype, not the end of the world.
>>
>
> Mount what exactly?
>

ISTR the command used was something like

wsl --mount \\.\PHYSICALDRIVE3

I know we did this at work to write files to an ext4 partition on an
SDcard for an RPi Zero being used to do some USB gadget software
debugging. We don't have any Win11 machines. This was during lockdown
and someone would have to had to get permission to visit the office, get
their keycard enabled, driven to the office, put the card in many of the
Linux lab machines, copy the file and drive back. Which was why WSL was
used. I'll ask the guy who did it how he did it next time I see him.

> AIUI, The hypervisor on Windows (e.g. Hyper-V, Virtual Box) has tended
> to get devices handed to it by Windows. If Windows cannot handle a
> device, such as an Ext4 USB, Windows will not make the device available
> to the hypervisor.
>
> Now, some hypervisors enable hardware passthru, which may make things
> such as the USB device directly available to the VM. I've played with
> this in the past and generally found it to be a pain.

I use lots and lots of Virtualbox VMs (running Linux and Windows) on a
Windows 2019 server and we have the VMs accessing the Windows Server USB
and PCI root complex hardware without any issue.

>> You can probably use Cygwin to achieve the same end but WSL/WSL2 seem
>> to install with less effort IMHO.
>>
>
> It sounds suspiciously like a wild goose chase.
>

I gave up using Cygwin as WSL does what was needed better. YMMV

Re: Labeling micro-SD cards ?

<tj4sbn$nf4$1@reader2.panix.com>

  copy mid

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

  copy link   Newsgroups: comp.sys.raspberry-pi
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!panix!.POSTED.panix5.panix.com!not-for-mail
From: jef...@panix.com (Jeff Jonas)
Newsgroups: comp.sys.raspberry-pi
Subject: Re: Labeling micro-SD cards ?
Date: Mon, 24 Oct 2022 02:13:12 -0000 (UTC)
Organization: ferretronix.com
Message-ID: <tj4sbn$nf4$1@reader2.panix.com>
References: <tiis1u$15dm$1@gioia.aioe.org> <tijbn5$2mn$1@gioia.aioe.org>
Injection-Date: Mon, 24 Oct 2022 02:13:12 -0000 (UTC)
Injection-Info: reader2.panix.com; posting-host="panix5.panix.com:166.84.1.5";
logging-data="24036"; mail-complaints-to="abuse@panix.com"
Summary: try a micro-CD card holder with space for labels
 by: Jeff Jonas - Mon, 24 Oct 2022 02:13 UTC

> Yes, *I KNOW* how to put those micro-SD cards into (a bigger) something
> that I /can/ label and have done so.

Good!
The handiest holder I found is this:
https://www.amazon.com/Bandc-Storage-Holder-Memory-Included/dp/B018RUWK98/
A file folder label fits perfectly in the center.

> Thats not the problem.
> What is is when they are *NOT* inside those somethings.

One fellow suggested a "readme" file on the SD card itself
so they're kinda self-identifying.

When possible, I use a descriptive label on the file system
despite the 11 characters limit.

The bottom line:
I agree that they're too small to label at home.
Even permanent markers rub off over time.
Kinda like trying to mark keys.

--

Re: Labeling micro-SD cards ?

<I9n5L.282488$IRd5.138219@fx10.iad>

  copy mid

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

  copy link   Newsgroups: comp.sys.raspberry-pi
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer01.iad!feed-me.highwinds-media.com!news.highwinds-media.com!fx10.iad.POSTED!not-for-mail
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101
Thunderbird/102.3.3
Subject: Re: Labeling micro-SD cards ?
Newsgroups: comp.sys.raspberry-pi
References: <tiis1u$15dm$1@gioia.aioe.org>
Content-Language: en-US
From: othe...@mindspring.com (Othello)
In-Reply-To: <tiis1u$15dm$1@gioia.aioe.org>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Lines: 29
Message-ID: <I9n5L.282488$IRd5.138219@fx10.iad>
X-Complaints-To: abuse(at)newshosting.com
NNTP-Posting-Date: Mon, 24 Oct 2022 02:56:40 UTC
Organization: Newshosting.com - Highest quality at a great price! www.newshosting.com
Date: Sun, 23 Oct 2022 22:56:39 -0400
X-Received-Bytes: 1886
 by: Othello - Mon, 24 Oct 2022 02:56 UTC

On 10/17/2022 2:17 AM, R.Wieser wrote:
> Hello all,
>
> Over time I've acquired a few micro-SD cards for my RPi's, and have a
> problem with labeling them.
>
> Besides the surface of the card being tiny, you can't use a stick-on label
> (would make the whole to thick to fit into the RPi's slot) and I've not been
> able to find a pen thats able to reliable write on the (mostly black
> backside) of the card (the written text is easy to rub off, even after a
> couple of hours)
>
> I've been trying to keep the cards apart to meticulously putting them back
> into their SD card "pockets" (which I do have labeled), but would really
> like the be able to mark the micto-SD cards themselves.
>
> So, how you people mark/label your micro-SD cards to keep them apart ?
>
> Regards,
> Rudy Wieser
>
>
I have had good success using a paint pen. Sharpie for example makes
paint versions of their markers. The tip is fine enough to write an
identifier on the chip and will not rub off easily.

Look for "paint pen fine tip"
Amazon has dozens of examples. Not very expensive either.

Re: Labeling micro-SD cards ?

<tj5b7p$1c4j$1@gioia.aioe.org>

  copy mid

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

  copy link   Newsgroups: comp.sys.raspberry-pi
Path: i2pn2.org!i2pn.org!aioe.org!XakcSTEO51npqVb7OVl71w.user.46.165.242.75.POSTED!not-for-mail
From: addr...@not.available (R.Wieser)
Newsgroups: comp.sys.raspberry-pi
Subject: Re: Labeling micro-SD cards ?
Date: Mon, 24 Oct 2022 08:19:50 +0200
Organization: Aioe.org NNTP Server
Lines: 43
Message-ID: <tj5b7p$1c4j$1@gioia.aioe.org>
References: <tiis1u$15dm$1@gioia.aioe.org> <tijbn5$2mn$1@gioia.aioe.org> <tj4sbn$nf4$1@reader2.panix.com>
Injection-Info: gioia.aioe.org; logging-data="45203"; posting-host="XakcSTEO51npqVb7OVl71w.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org";
X-MSMail-Priority: Normal
X-Notice: Filtered by postfilter v. 0.9.2
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5512
X-RFC2646: Format=Flowed; Original
X-Priority: 3
X-Newsreader: Microsoft Outlook Express 6.00.2900.5512
 by: R.Wieser - Mon, 24 Oct 2022 06:19 UTC

Jeff,

>> Yes, *I KNOW* how to put those micro-SD cards into (a bigger) something
>> that I /can/ label and have done so.
>
> Good!
> The handiest holder I found is this:
> [snip]
>
>> Thats not the problem.

:-) I think you missed the above "thats not the problem" line.

>> Thats not the problem.
>> What is is when they are *NOT* inside those somethings.
>
> One fellow suggested a "readme" file on the SD card itself
> so they're kinda self-identifying.

1) That won't help me much when I have a few micro-SD cards laying on the
table in front of me. Or one micro-SD card and several SD card adapters to
put it in.

2) I can put a file on the card using an RPi, but I than can't read it under
Windows - and vice-versa. Making it a lot less usefull.

> The bottom line:
> I agree that they're too small to label at home.

:-) Although my fine-motor skills agree with you, a few people have
suggested just that. And one of them even posted an image of his, very
readable, handwring.

Also, I and at least one other person here have used a Dymo LetraTag to
create a label (with two lines with upto 8 chars per line) which, after a
bit of trimming, fit neatly on the front of a Micro-SD card.

IOW, Problem solved.

Regards,
Rudy Wieser

Re: Labeling micro-SD cards ?

<tj5b7p$1c4j$2@gioia.aioe.org>

  copy mid

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

  copy link   Newsgroups: comp.sys.raspberry-pi
Path: i2pn2.org!i2pn.org!aioe.org!XakcSTEO51npqVb7OVl71w.user.46.165.242.75.POSTED!not-for-mail
From: addr...@not.available (R.Wieser)
Newsgroups: comp.sys.raspberry-pi
Subject: Re: Labeling micro-SD cards ?
Date: Mon, 24 Oct 2022 08:29:34 +0200
Organization: Aioe.org NNTP Server
Lines: 20
Message-ID: <tj5b7p$1c4j$2@gioia.aioe.org>
References: <tiis1u$15dm$1@gioia.aioe.org> <I9n5L.282488$IRd5.138219@fx10.iad>
Injection-Info: gioia.aioe.org; logging-data="45203"; posting-host="XakcSTEO51npqVb7OVl71w.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org";
X-Newsreader: Microsoft Outlook Express 6.00.2900.5512
X-Priority: 3
X-RFC2646: Format=Flowed; Response
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5512
X-MSMail-Priority: Normal
X-Notice: Filtered by postfilter v. 0.9.2
 by: R.Wieser - Mon, 24 Oct 2022 06:29 UTC

Othello,

> Look for "paint pen fine tip"
> Amazon has dozens of examples. Not very expensive either.

Thank you.

Alas, I've already tried to use something of the kind (a "silver" pen), but
that both didn't really want to stick (on the smooth-and-shiny backside) and
(thus?) rubbed/broke off when even normally used.

I've found a solution in using a literal label. Which solved a number of
problems at the same time : I don't need to try to write anything that
small, it comes with its own background (allowing me to put it on the
front), and its even removable.

Regards,
Rudy Wieser

Re: Labeling micro-SD cards ?

<tj5cts$1k7oo$1@dont-email.me>

  copy mid

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

  copy link   Newsgroups: comp.sys.raspberry-pi
Path: i2pn2.org!i2pn.org!aioe.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: pNaonStp...@yahoo.com (Jan Panteltje)
Newsgroups: comp.sys.raspberry-pi
Subject: Re: Labeling micro-SD cards ?
Date: Mon, 24 Oct 2022 06:54:39 GMT
Organization: A noiseless patient Spider
Lines: 7
Message-ID: <tj5cts$1k7oo$1@dont-email.me>
References: <tiis1u$15dm$1@gioia.aioe.org> <tijbn5$2mn$1@gioia.aioe.org> <tj4sbn$nf4$1@reader2.panix.com> <tj5b7p$1c4j$1@gioia.aioe.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-15
Content-Transfer-Encoding: 8bit
Injection-Date: Mon, 24 Oct 2022 06:55:56 -0000 (UTC)
Injection-Info: reader01.eternal-september.org; posting-host="b25d0b35ad3427f0399c3bffad32619c";
logging-data="1711896"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19H/Pnvunk8gd3FkRm1jC9KdhdVDHyAb6Q="
User-Agent: NewsFleX-1.5.7.5 (Linux-2.6.37.6)
Cancel-Lock: sha1:iQjmyYH0myQ1Lgf6X/7vY3nS7UI=
X-Newsreader-location: NewsFleX-1.5.7.5 (c) 'LIGHTSPEED' off line news reader for the Linux platform
NewsFleX homepage: http://www.panteltje.com/panteltje/newsflex/ and ftp download ftp://sunsite.unc.edu/pub/linux/system/news/readers/
 by: Jan Panteltje - Mon, 24 Oct 2022 06:54 UTC

On a sunny day (Mon, 24 Oct 2022 08:19:50 +0200) it happened "R.Wieser"
<address@not.available> wrote in <tj5b7p$1c4j$1@gioia.aioe.org>:

>2) I can put a file on the card using an RPi, but I than can't read it under
>Windows - and vice-versa. Making it a lot less usefull.

I have an USB card reader, can be used on your running PI to check any cards.

Re: Labeling micro-SD cards ?

<tj5rmc$uvl$1@gioia.aioe.org>

  copy mid

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

  copy link   Newsgroups: comp.sys.raspberry-pi
Path: i2pn2.org!i2pn.org!aioe.org!XakcSTEO51npqVb7OVl71w.user.46.165.242.75.POSTED!not-for-mail
From: addr...@not.available (R.Wieser)
Newsgroups: comp.sys.raspberry-pi
Subject: Re: Labeling micro-SD cards ?
Date: Mon, 24 Oct 2022 13:10:24 +0200
Organization: Aioe.org NNTP Server
Lines: 24
Message-ID: <tj5rmc$uvl$1@gioia.aioe.org>
References: <tiis1u$15dm$1@gioia.aioe.org> <tijbn5$2mn$1@gioia.aioe.org> <tj4sbn$nf4$1@reader2.panix.com> <tj5b7p$1c4j$1@gioia.aioe.org> <tj5cts$1k7oo$1@dont-email.me>
Injection-Info: gioia.aioe.org; logging-data="31733"; posting-host="XakcSTEO51npqVb7OVl71w.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org";
X-Notice: Filtered by postfilter v. 0.9.2
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.5512
X-RFC2646: Format=Flowed; Original
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5512
X-Priority: 3
 by: R.Wieser - Mon, 24 Oct 2022 11:10 UTC

Jan,

> I have an USB card reader, can be used on your running PI to check any
> cards.

Yes, you can - but as mentioned only the "boot" and "root" partitions are
auto-mounted when its inserted, both the Windows "W95" FAT16 and FAT32
partitions stay invisible.

Under Windows I can not see the Linux "boot" and "root" partitions at all,
and only one of the "W95" FAT16 and FAT32 partitions (not yet sure which
one, likely the first, FAT16 one).

And although I'm, as written, quite sure that the RPi can access the "W95"
FAT16 and/or FAT32 partitions, I'm not at all sure how I can do that in an
easy fashion (a shell script perhaps?).

I might try to figure it out some day, but currently I'm happy with being
able to physically label it.

Regards,
Rudy Wieser

Re: Labeling micro-SD cards ?

<tj5s9g$1kueu$26@dont-email.me>

  copy mid

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

  copy link   Newsgroups: comp.sys.raspberry-pi
Path: i2pn2.org!i2pn.org!aioe.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: tnp...@invalid.invalid (The Natural Philosopher)
Newsgroups: comp.sys.raspberry-pi
Subject: Re: Labeling micro-SD cards ?
Date: Mon, 24 Oct 2022 12:18:08 +0100
Organization: A little, after lunch
Lines: 43
Message-ID: <tj5s9g$1kueu$26@dont-email.me>
References: <tiis1u$15dm$1@gioia.aioe.org> <tijbn5$2mn$1@gioia.aioe.org>
<tj4sbn$nf4$1@reader2.panix.com> <tj5b7p$1c4j$1@gioia.aioe.org>
<tj5cts$1k7oo$1@dont-email.me> <tj5rmc$uvl$1@gioia.aioe.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Mon, 24 Oct 2022 11:18:08 -0000 (UTC)
Injection-Info: reader01.eternal-september.org; posting-host="4fa8c0e24439aeb8775a1ac4e7128154";
logging-data="1735134"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19t7cGX5EcI1rKKRHmdPBgNAlSngvxmR2A="
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101
Thunderbird/102.2.2
Cancel-Lock: sha1:9/5/TuZprVwS9P174FJo7HnGR/A=
In-Reply-To: <tj5rmc$uvl$1@gioia.aioe.org>
Content-Language: en-GB
 by: The Natural Philosop - Mon, 24 Oct 2022 11:18 UTC

On 24/10/2022 12:10, R.Wieser wrote:
> Jan,
>
>> I have an USB card reader, can be used on your running PI to check any
>> cards.
>
> Yes, you can - but as mentioned only the "boot" and "root" partitions are
> auto-mounted when its inserted, both the Windows "W95" FAT16 and FAT32
> partitions stay invisible.
>
> Under Windows I can not see the Linux "boot" and "root" partitions at all,
> and only one of the "W95" FAT16 and FAT32 partitions (not yet sure which
> one, likely the first, FAT16 one).
>
> And although I'm, as written, quite sure that the RPi can access the "W95"
> FAT16 and/or FAT32 partitions, I'm not at all sure how I can do that in an
> easy fashion (a shell script perhaps?).
>
Find out their labels, and edit /etc/mnttab to mount them at boot time.
Or find out their labels and write a one line script to mount them under
user control.

If you have a GUI on the pi they should be visible to whatever partition
editor you have.

And should be mountable from there also

> I might try to figure it out some day, but currently I'm happy with being
> able to physically label it.
>
> Regards,
> Rudy Wieser
>
>

--
A lie can travel halfway around the world while the truth is putting on
its shoes.

Re: Labeling micro-SD cards ?

<tj5vfc$1m49q$1@dont-email.me>

  copy mid

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

  copy link   Newsgroups: comp.sys.raspberry-pi
Path: i2pn2.org!i2pn.org!aioe.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: pNaonStp...@yahoo.com (Jan Panteltje)
Newsgroups: comp.sys.raspberry-pi
Subject: Re: Labeling micro-SD cards ?
Date: Mon, 24 Oct 2022 12:11:01 GMT
Organization: A noiseless patient Spider
Lines: 44
Message-ID: <tj5vfc$1m49q$1@dont-email.me>
References: <tiis1u$15dm$1@gioia.aioe.org> <tijbn5$2mn$1@gioia.aioe.org> <tj4sbn$nf4$1@reader2.panix.com> <tj5b7p$1c4j$1@gioia.aioe.org> <tj5cts$1k7oo$1@dont-email.me> <tj5rmc$uvl$1@gioia.aioe.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-15
Content-Transfer-Encoding: 8bit
Injection-Date: Mon, 24 Oct 2022 12:12:28 -0000 (UTC)
Injection-Info: reader01.eternal-september.org; posting-host="02616f72ec6f599c0144db16b0ea9e99";
logging-data="1773882"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+Jbhc2FTZ4gZz0Mr1OKE0CE0JmlX/6tOE="
User-Agent: NewsFleX-1.5.7.5 (Linux-2.6.37.6)
Cancel-Lock: sha1:DmK4oQHJpJTVH29HWb9J9pAdQ6I=
X-Newsreader-location: NewsFleX-1.5.7.5 (c) 'LIGHTSPEED' off line news reader for the Linux platform
NewsFleX homepage: http://www.panteltje.com/panteltje/newsflex/ and ftp download ftp://sunsite.unc.edu/pub/linux/system/news/readers/
 by: Jan Panteltje - Mon, 24 Oct 2022 12:11 UTC

On a sunny day (Mon, 24 Oct 2022 13:10:24 +0200) it happened "R.Wieser"
<address@not.available> wrote in <tj5rmc$uvl$1@gioia.aioe.org>:

>Jan,
>
>> I have an USB card reader, can be used on your running PI to check any
>> cards.
>
>Yes, you can - but as mentioned only the "boot" and "root" partitions are
>auto-mounted when its inserted, both the Windows "W95" FAT16 and FAT32
>partitions stay invisible.
>
>Under Windows I can not see the Linux "boot" and "root" partitions at all,
>and only one of the "W95" FAT16 and FAT32 partitions (not yet sure which
>one, likely the first, FAT16 one).
>
>And although I'm, as written, quite sure that the RPi can access the "W95"
>FAT16 and/or FAT32 partitions, I'm not at all sure how I can do that in an
>easy fashion (a shell script perhaps?).
>
>I might try to figure it out some day, but currently I'm happy with being
>able to physically label it.

Yea, my error perhaps
Many many years ago I bought a book on Unix
Then much later when I found a CD with SLS Linux (maybe around 1998 or so?)
it took me about an hour to get into it and never left Unix again
FIle structure, shells, basic commands is something you SHOULD
really learn when using a raspberry IMO to get out of it what's in there.
I hardly ever use the GUI other than for programs I wrote that use one
and webbrowser
Replaced the whatever GUI that came with the latest raspbian release with fvwm and xfm
and do everything (almost) from the command line.
9 virtual screens, easy to switch between those with the keyboard or mouse,
dmesg
mount unmount
ls
cd
grep
gcc!!
So many things that make using a raspberry or Unix system so nice.

Re: Labeling micro-SD cards ?

<2022102416125099862-notme@nowherecom>

  copy mid

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

  copy link   Newsgroups: comp.sys.raspberry-pi
Path: i2pn2.org!rocksolid2!news.neodome.net!news.mixmin.net!newsreader4.netcologne.de!news.netcologne.de!peer02.ams1!peer.ams1.xlned.com!news.xlned.com!feeder.cambriumusenet.nl!feed.tweaknews.nl!posting.tweaknews.nl!fx14.ams1.POSTED!not-for-mail
From: not...@nowhere.com (Binaries)
Newsgroups: comp.sys.raspberry-pi
Message-ID: <2022102416125099862-notme@nowherecom>
References: <tiis1u$15dm$1@gioia.aioe.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1; format=flowed
Content-Transfer-Encoding: 8bit
Subject: Re: Labeling micro-SD cards ?
User-Agent: Unison/2.1.10
Lines: 16
X-Complaints-To: abuse@tweaknews.nl
NNTP-Posting-Date: Mon, 24 Oct 2022 15:12:50 UTC
Organization: Tweaknews
Date: Mon, 24 Oct 2022 16:12:50 +0100
X-Received-Bytes: 1140
 by: Binaries - Mon, 24 Oct 2022 15:12 UTC

On 2022-10-17 06:17:26 +0000, R.Wieser said:

> Over time I've acquired a few micro-SD cards for my RPi's, and have a
> problem with labeling them.

I started using QR codes printed on a labelling machine - that can
point to either the card's .local address if it's something like
Homebridge or pi-hole. Extendable idea to point to a locally-hosted
more descriptive web page maybe.

Obviously the amount of data you can encode on what is probably a 9mm
square code is limited.

--
not_me

Re: Labeling micro-SD cards ?

<12ff5c25-b6c1-4d81-a900-2a957c02004dn@googlegroups.com>

  copy mid

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

  copy link   Newsgroups: comp.sys.raspberry-pi
X-Received: by 2002:ae9:d806:0:b0:6f1:15cc:d870 with SMTP id u6-20020ae9d806000000b006f115ccd870mr10596135qkf.114.1666650762159;
Mon, 24 Oct 2022 15:32:42 -0700 (PDT)
X-Received: by 2002:a05:6808:14a:b0:357:5f3a:34f4 with SMTP id
h10-20020a056808014a00b003575f3a34f4mr4315647oie.253.1666650761770; Mon, 24
Oct 2022 15:32:41 -0700 (PDT)
Path: i2pn2.org!i2pn.org!aioe.org!news.mixmin.net!proxad.net!feeder1-2.proxad.net!209.85.160.216.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.sys.raspberry-pi
Date: Mon, 24 Oct 2022 15:32:41 -0700 (PDT)
In-Reply-To: <tj5rmc$uvl$1@gioia.aioe.org>
Injection-Info: google-groups.googlegroups.com; posting-host=122.151.218.142; posting-account=Qldn6woAAADpKSXOFggZ2oKrkHh1H-fQ
NNTP-Posting-Host: 122.151.218.142
References: <tiis1u$15dm$1@gioia.aioe.org> <tijbn5$2mn$1@gioia.aioe.org>
<tj4sbn$nf4$1@reader2.panix.com> <tj5b7p$1c4j$1@gioia.aioe.org>
<tj5cts$1k7oo$1@dont-email.me> <tj5rmc$uvl$1@gioia.aioe.org>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <12ff5c25-b6c1-4d81-a900-2a957c02004dn@googlegroups.com>
Subject: Re: Labeling micro-SD cards ?
From: chris.ho...@gmail.com (Chris)
Injection-Date: Mon, 24 Oct 2022 22:32:42 +0000
Content-Type: text/plain; charset="UTF-8"
 by: Chris - Mon, 24 Oct 2022 22:32 UTC

On Monday, 24 October 2022 at 22:07:57 UTC+11, R.Wieser wrote:
> Jan,
> > I have an USB card reader, can be used on your running PI to check any
> > cards.
> Yes, you can - but as mentioned only the "boot" and "root" partitions are
> auto-mounted when its inserted, both the Windows "W95" FAT16 and FAT32
> partitions stay invisible.
>
> Under Windows I can not see the Linux "boot" and "root" partitions at all,
> and only one of the "W95" FAT16 and FAT32 partitions (not yet sure which
> one, likely the first, FAT16 one).
>
> And although I'm, as written, quite sure that the RPi can access the "W95"
> FAT16 and/or FAT32 partitions, I'm not at all sure how I can do that in an
> easy fashion (a shell script perhaps?).
>
> I might try to figure it out some day, but currently I'm happy with being
> able to physically label it.
>
> Regards,
> Rudy Wieser

Check out "Linux Reader" from www.diskinternals.com

The free version allows you to freely mount & examine Linux formatted (and others) partitions from Windows (read only).
--
Cheers,
Chris.

Re: Labeling micro-SD cards ?

<tj7v4f$13gi$1@gioia.aioe.org>

  copy mid

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

  copy link   Newsgroups: comp.sys.raspberry-pi
Path: i2pn2.org!i2pn.org!aioe.org!XakcSTEO51npqVb7OVl71w.user.46.165.242.75.POSTED!not-for-mail
From: addr...@not.available (R.Wieser)
Newsgroups: comp.sys.raspberry-pi
Subject: Re: Labeling micro-SD cards ?
Date: Tue, 25 Oct 2022 08:02:11 +0200
Organization: Aioe.org NNTP Server
Lines: 15
Message-ID: <tj7v4f$13gi$1@gioia.aioe.org>
References: <tiis1u$15dm$1@gioia.aioe.org> <2022102416125099862-notme@nowherecom>
Injection-Info: gioia.aioe.org; logging-data="36370"; posting-host="XakcSTEO51npqVb7OVl71w.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org";
X-RFC2646: Format=Flowed; Response
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5512
X-MSMail-Priority: Normal
X-Priority: 3
X-Notice: Filtered by postfilter v. 0.9.2
X-Newsreader: Microsoft Outlook Express 6.00.2900.5512
 by: R.Wieser - Tue, 25 Oct 2022 06:02 UTC

Binaries,

> I started using QR codes printed on a labelling machine

Although that could certainly work, its also means that you would always
need the QR code scanning hardware and a computer pulling up the associated
information active/running. Not really something I would be doing for a
once-in-a-while (might be weeks apart) situations.

Thank you for the suggestion though.

Regards,
Rudy Wieser

Re: Labeling micro-SD cards ?

<tj7v4g$13gi$2@gioia.aioe.org>

  copy mid

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

  copy link   Newsgroups: comp.sys.raspberry-pi
Path: i2pn2.org!i2pn.org!aioe.org!XakcSTEO51npqVb7OVl71w.user.46.165.242.75.POSTED!not-for-mail
From: addr...@not.available (R.Wieser)
Newsgroups: comp.sys.raspberry-pi
Subject: Re: Labeling micro-SD cards ?
Date: Tue, 25 Oct 2022 08:21:13 +0200
Organization: Aioe.org NNTP Server
Lines: 14
Message-ID: <tj7v4g$13gi$2@gioia.aioe.org>
References: <tiis1u$15dm$1@gioia.aioe.org> <tijbn5$2mn$1@gioia.aioe.org> <tj4sbn$nf4$1@reader2.panix.com> <tj5b7p$1c4j$1@gioia.aioe.org> <tj5cts$1k7oo$1@dont-email.me> <tj5rmc$uvl$1@gioia.aioe.org> <12ff5c25-b6c1-4d81-a900-2a957c02004dn@googlegroups.com>
Injection-Info: gioia.aioe.org; logging-data="36370"; posting-host="XakcSTEO51npqVb7OVl71w.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org";
X-Notice: Filtered by postfilter v. 0.9.2
X-Newsreader: Microsoft Outlook Express 6.00.2900.5512
X-Priority: 3
X-MSMail-Priority: Normal
X-RFC2646: Format=Flowed; Original
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5512
 by: R.Wieser - Tue, 25 Oct 2022 06:21 UTC

Chris,

> Check out "Linux Reader" from www.diskinternals.com

Thanks. As it so happens I, while looking for something simpler than WSL,
found it too. Might even try to use it. :-)

On the other hand, the RPi /should/ be able to access a W95 FAT16/32
partition without the need of any additional software ...

Regards,
Rudy Wieser

Re: Labeling micro-SD cards ?

<tj80jq$1tr5h$1@dont-email.me>

  copy mid

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

  copy link   Newsgroups: comp.sys.raspberry-pi
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: david-ta...@blueyonder.co.uk.invalid (David Taylor)
Newsgroups: comp.sys.raspberry-pi
Subject: Re: Labeling micro-SD cards ?
Date: Tue, 25 Oct 2022 07:44:10 +0100
Organization: A noiseless patient Spider
Lines: 18
Message-ID: <tj80jq$1tr5h$1@dont-email.me>
References: <tiis1u$15dm$1@gioia.aioe.org>
<2022102416125099862-notme@nowherecom> <tj7v4f$13gi$1@gioia.aioe.org>
Reply-To: david-taylor@blueyonder.co.uk
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Tue, 25 Oct 2022 06:44:11 -0000 (UTC)
Injection-Info: reader01.eternal-september.org; posting-host="d0a06fea894022ff6d7307eb2da60135";
logging-data="2026673"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19ZYy1WWn0NhcndQgggo0PJY8q2UP+1YsE="
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101
Thunderbird/102.4.0
Cancel-Lock: sha1:e0T2EB4A6JhFLzOwFxkOzstQOqQ=
Content-Language: en-GB
In-Reply-To: <tj7v4f$13gi$1@gioia.aioe.org>
 by: David Taylor - Tue, 25 Oct 2022 06:44 UTC

On 25/10/2022 07:02, R.Wieser wrote:
> Although that could certainly work, its also means that you would always
> need the QR code scanning hardware and a computer pulling up the associated
> information active/running. Not really something I would be doing for a
> once-in-a-while (might be weeks apart) situations.
>
> Thank you for the suggestion though.
>
> Regards,
> Rudy Wieser

Your phone may already have the "QR scanning hardware" and you could keep the
associated information on your Web site. The QR code could be just the URL.
--
Cheers,
David
Web: https://www.satsignal.eu

Re: Labeling micro-SD cards ?

<XBw*2AF1y@news.chiark.greenend.org.uk>

  copy mid

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

  copy link   Newsgroups: comp.sys.raspberry-pi
Path: i2pn2.org!i2pn.org!news.nntp4.net!nntp.terraraq.uk!nntp-feed.chiark.greenend.org.uk!ewrotcd!.POSTED.chiark.greenend.org.uk!not-for-mail
From: theom+n...@chiark.greenend.org.uk (Theo)
Newsgroups: comp.sys.raspberry-pi
Subject: Re: Labeling micro-SD cards ?
Date: 25 Oct 2022 13:47:21 +0100 (BST)
Organization: University of Cambridge, England
Message-ID: <XBw*2AF1y@news.chiark.greenend.org.uk>
References: <tiis1u$15dm$1@gioia.aioe.org> <tijbn5$2mn$1@gioia.aioe.org> <tj4sbn$nf4$1@reader2.panix.com> <tj5b7p$1c4j$1@gioia.aioe.org> <tj5cts$1k7oo$1@dont-email.me> <tj5rmc$uvl$1@gioia.aioe.org> <12ff5c25-b6c1-4d81-a900-2a957c02004dn@googlegroups.com> <tj7v4g$13gi$2@gioia.aioe.org>
Injection-Info: chiark.greenend.org.uk; posting-host="chiark.greenend.org.uk:212.13.197.229";
logging-data="28775"; mail-complaints-to="abuse@chiark.greenend.org.uk"
User-Agent: tin/1.8.3-20070201 ("Scotasay") (UNIX) (Linux/5.10.0-15-amd64 (x86_64))
Originator: theom@chiark.greenend.org.uk ([212.13.197.229])
 by: Theo - Tue, 25 Oct 2022 12:47 UTC

R.Wieser <address@not.available> wrote:
> Chris,
>
> > Check out "Linux Reader" from www.diskinternals.com
>
> Thanks. As it so happens I, while looking for something simpler than WSL,
> found it too. Might even try to use it. :-)
>
> On the other hand, the RPi /should/ be able to access a W95 FAT16/32
> partition without the need of any additional software ...

It is, assuming the partition is in good order. I just do:

sudo mount /dev/sda1 /mnt

(assuming the USB drive is sda, which it probably is if you booted from SD
card)

and then poke around in /mnt to see what's there. Then:

sudo umount /mnt

Rinse and repeat for the remaining sda2, sda3, etc.

That works irrespective of distro, desktop environment, fancy GUI
automounter, etc etc.

If it fails to detect the partition type it suggests something is quite
wrong with the partition, as most common formats can be autodetected.

Theo

Re: Labeling micro-SD cards ?

<tj8n87$2hk$1@gioia.aioe.org>

  copy mid

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

  copy link   Newsgroups: comp.sys.raspberry-pi
Path: i2pn2.org!i2pn.org!aioe.org!XakcSTEO51npqVb7OVl71w.user.46.165.242.75.POSTED!not-for-mail
From: addr...@not.available (R.Wieser)
Newsgroups: comp.sys.raspberry-pi
Subject: Re: Labeling micro-SD cards ?
Date: Tue, 25 Oct 2022 15:04:42 +0200
Organization: Aioe.org NNTP Server
Lines: 24
Message-ID: <tj8n87$2hk$1@gioia.aioe.org>
References: <tiis1u$15dm$1@gioia.aioe.org> <2022102416125099862-notme@nowherecom> <tj7v4f$13gi$1@gioia.aioe.org> <tj80jq$1tr5h$1@dont-email.me>
Injection-Info: gioia.aioe.org; logging-data="2612"; posting-host="XakcSTEO51npqVb7OVl71w.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org";
X-Newsreader: Microsoft Outlook Express 6.00.2900.5512
X-MSMail-Priority: Normal
X-Notice: Filtered by postfilter v. 0.9.2
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5512
X-Priority: 3
X-RFC2646: Format=Flowed; Response
 by: R.Wieser - Tue, 25 Oct 2022 13:04 UTC

David,

> Your phone may already have the "QR scanning hardware" and you could keep
> the associated information on your Web site.

Neither of which I have. :-)

> The QR code could be just the URL.

I've just taken a peek at the different QR types. The smallest one, "Micro
QR" has 35 "numerical characters". I'm not sure if those are automatically
translated to characters / a string.

But assuming those "numerical characters" contain 4 bits a piece and the
character encoding would use 6 bits per char you would be left with about 23
chars - which is enough for an URL.

The biggest problem is that even that "Micro QR" is a 15x15 grid, making, on
a 9x9mm surface, its squares less than a mm across ...

Regards,
Rudy Wieser

Re: Labeling micro-SD cards ?

<tj8n87$2hk$2@gioia.aioe.org>

  copy mid

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

  copy link   Newsgroups: comp.sys.raspberry-pi
Path: i2pn2.org!rocksolid2!i2pn.org!aioe.org!XakcSTEO51npqVb7OVl71w.user.46.165.242.75.POSTED!not-for-mail
From: addr...@not.available (R.Wieser)
Newsgroups: comp.sys.raspberry-pi
Subject: Re: Labeling micro-SD cards ?
Date: Tue, 25 Oct 2022 15:12:59 +0200
Organization: Aioe.org NNTP Server
Lines: 23
Message-ID: <tj8n87$2hk$2@gioia.aioe.org>
References: <tiis1u$15dm$1@gioia.aioe.org> <tijbn5$2mn$1@gioia.aioe.org> <tj4sbn$nf4$1@reader2.panix.com> <tj5b7p$1c4j$1@gioia.aioe.org> <tj5cts$1k7oo$1@dont-email.me> <tj5rmc$uvl$1@gioia.aioe.org> <12ff5c25-b6c1-4d81-a900-2a957c02004dn@googlegroups.com> <tj7v4g$13gi$2@gioia.aioe.org> <XBw*2AF1y@news.chiark.greenend.org.uk>
Injection-Info: gioia.aioe.org; logging-data="2612"; posting-host="XakcSTEO51npqVb7OVl71w.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org";
X-Newsreader: Microsoft Outlook Express 6.00.2900.5512
X-MSMail-Priority: Normal
X-Notice: Filtered by postfilter v. 0.9.2
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5512
X-RFC2646: Format=Flowed; Original
X-Priority: 3
 by: R.Wieser - Tue, 25 Oct 2022 13:12 UTC

Theo,

> I just do:
>
> sudo mount /dev/sda1 /mnt
>
> and then poke around in /mnt to see what's there. Then:
>
> sudo umount /mnt

Thanks. I guessed as much, but had nothing to go on.

And I read somewhere I had to create that "mnt" directory first ? You do
not seem to do so.

And a question : do you know wat happens when you (try to) eject the USB
dongle containing the uSD card you just mounted a partition of ? I would
not like to have either the boot uSD or the mounted one trashed.

Regards,
Rudy Wieser

Re: Labeling micro-SD cards ?

<YBw*AIF1y@news.chiark.greenend.org.uk>

  copy mid

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

  copy link   Newsgroups: comp.sys.raspberry-pi
Path: i2pn2.org!i2pn.org!news.nntp4.net!nntp.terraraq.uk!nntp-feed.chiark.greenend.org.uk!ewrotcd!.POSTED.chiark.greenend.org.uk!not-for-mail
From: theom+n...@chiark.greenend.org.uk (Theo)
Newsgroups: comp.sys.raspberry-pi
Subject: Re: Labeling micro-SD cards ?
Date: 25 Oct 2022 14:19:38 +0100 (BST)
Organization: University of Cambridge, England
Message-ID: <YBw*AIF1y@news.chiark.greenend.org.uk>
References: <tiis1u$15dm$1@gioia.aioe.org> <tijbn5$2mn$1@gioia.aioe.org> <tj4sbn$nf4$1@reader2.panix.com> <tj5b7p$1c4j$1@gioia.aioe.org> <tj5cts$1k7oo$1@dont-email.me> <tj5rmc$uvl$1@gioia.aioe.org> <12ff5c25-b6c1-4d81-a900-2a957c02004dn@googlegroups.com> <tj7v4g$13gi$2@gioia.aioe.org> <XBw*2AF1y@news.chiark.greenend.org.uk> <tj8n87$2hk$2@gioia.aioe.org>
Injection-Info: chiark.greenend.org.uk; posting-host="chiark.greenend.org.uk:212.13.197.229";
logging-data="24531"; mail-complaints-to="abuse@chiark.greenend.org.uk"
User-Agent: tin/1.8.3-20070201 ("Scotasay") (UNIX) (Linux/5.10.0-15-amd64 (x86_64))
Originator: theom@chiark.greenend.org.uk ([212.13.197.229])
 by: Theo - Tue, 25 Oct 2022 13:19 UTC

R.Wieser <address@not.available> wrote:
> Theo,
>
> > I just do:
> >
> > sudo mount /dev/sda1 /mnt
> >
> > and then poke around in /mnt to see what's there. Then:
> >
> > sudo umount /mnt
>
> Thanks. I guessed as much, but had nothing to go on.
>
> And I read somewhere I had to create that "mnt" directory first ? You do
> not seem to do so.

Most distros already have an empty /mnt directory there, ready for something
to be mounted.

> And a question : do you know wat happens when you (try to) eject the USB
> dongle containing the uSD card you just mounted a partition of ? I would
> not like to have either the boot uSD or the mounted one trashed.

If you use the desktop environment 'eject' button, it may or may not remove
the mountpoints. In the above it's done as root, and a regular user won't
be able to unmount something mounted by root, so the eject complains
something is still using the device.

If you 'sudo umount' it first, everything should be fine.

You can also just forcibly do 'sudo umount /dev/sda1; sudo umount /dev/sda2;
....' to make sure everything is unmounted first, irrespective of whatever
the desktop does.

If in doubt, 'sync' to ensure anything unwritten is flushed to the disc before
removing it.

Theo

Re: Labeling micro-SD cards ?

<tj8pti$20m9q$6@dont-email.me>

  copy mid

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

  copy link   Newsgroups: comp.sys.raspberry-pi
Path: i2pn2.org!i2pn.org!aioe.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: tnp...@invalid.invalid (The Natural Philosopher)
Newsgroups: comp.sys.raspberry-pi
Subject: Re: Labeling micro-SD cards ?
Date: Tue, 25 Oct 2022 14:56:02 +0100
Organization: A little, after lunch
Lines: 24
Message-ID: <tj8pti$20m9q$6@dont-email.me>
References: <tiis1u$15dm$1@gioia.aioe.org> <tijbn5$2mn$1@gioia.aioe.org>
<tj4sbn$nf4$1@reader2.panix.com> <tj5b7p$1c4j$1@gioia.aioe.org>
<tj5cts$1k7oo$1@dont-email.me> <tj5rmc$uvl$1@gioia.aioe.org>
<12ff5c25-b6c1-4d81-a900-2a957c02004dn@googlegroups.com>
<tj7v4g$13gi$2@gioia.aioe.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Tue, 25 Oct 2022 13:56:02 -0000 (UTC)
Injection-Info: reader01.eternal-september.org; posting-host="873f92ef92ccc8b11d1cee23867ee8b5";
logging-data="2119994"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18PheWpTBXoVD/Phyp9g4zoK5qGouhtaM8="
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101
Thunderbird/102.2.2
Cancel-Lock: sha1:XHCNdENmHuelN98b5OYSrH+5Q0Y=
In-Reply-To: <tj7v4g$13gi$2@gioia.aioe.org>
Content-Language: en-GB
 by: The Natural Philosop - Tue, 25 Oct 2022 13:56 UTC

On 25/10/2022 07:21, R.Wieser wrote:
> Chris,
>
>> Check out "Linux Reader" from www.diskinternals.com
>
> Thanks. As it so happens I, while looking for something simpler than WSL,
> found it too. Might even try to use it. :-)
>
> On the other hand, the RPi /should/ be able to access a W95 FAT16/32
> partition without the need of any additional software ...
>
It almost certainly can. Certainly my desktop can see everything on my
PIs SD card - or could when it was inserted to build it. The PI doesn't
mount more than the boot and root partitions though by default.

If you want it to, edit /etc/mnttab

--
It’s easier to fool people than to convince them that they have been fooled.
Mark Twain

Re: Labeling micro-SD cards ?

<tj8q9q$20m9q$9@dont-email.me>

  copy mid

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

  copy link   Newsgroups: comp.sys.raspberry-pi
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: tnp...@invalid.invalid (The Natural Philosopher)
Newsgroups: comp.sys.raspberry-pi
Subject: Re: Labeling micro-SD cards ?
Date: Tue, 25 Oct 2022 15:02:34 +0100
Organization: A little, after lunch
Lines: 43
Message-ID: <tj8q9q$20m9q$9@dont-email.me>
References: <tiis1u$15dm$1@gioia.aioe.org> <tijbn5$2mn$1@gioia.aioe.org>
<tj4sbn$nf4$1@reader2.panix.com> <tj5b7p$1c4j$1@gioia.aioe.org>
<tj5cts$1k7oo$1@dont-email.me> <tj5rmc$uvl$1@gioia.aioe.org>
<12ff5c25-b6c1-4d81-a900-2a957c02004dn@googlegroups.com>
<tj7v4g$13gi$2@gioia.aioe.org> <XBw*2AF1y@news.chiark.greenend.org.uk>
<tj8n87$2hk$2@gioia.aioe.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Tue, 25 Oct 2022 14:02:34 -0000 (UTC)
Injection-Info: reader01.eternal-september.org; posting-host="873f92ef92ccc8b11d1cee23867ee8b5";
logging-data="2119994"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18GsIrUDqVH7ik2nGFdHWgDcbsqQvW8VUs="
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101
Thunderbird/102.2.2
Cancel-Lock: sha1:oaEOMbtU5+rGHXxv11HZJzV+JE0=
Content-Language: en-GB
In-Reply-To: <tj8n87$2hk$2@gioia.aioe.org>
 by: The Natural Philosop - Tue, 25 Oct 2022 14:02 UTC

On 25/10/2022 14:12, R.Wieser wrote:
> Theo,
>
>> I just do:
>>
>> sudo mount /dev/sda1 /mnt
>>
>> and then poke around in /mnt to see what's there. Then:
>>
>> sudo umount /mnt
>
> Thanks. I guessed as much, but had nothing to go on.
>
> And I read somewhere I had to create that "mnt" directory first ? You do
> not seem to do so.
>
> And a question : do you know wat happens when you (try to) eject the USB
> dongle containing the uSD card you just mounted a partition of ? I would
> not like to have either the boot uSD or the mounted one trashed.
>
umount /mnt

/mnt may or may not be created by default - I think /media/<username> is
often used to mount removable drives at least on my desktop linux

This is all superstructure though - as root you can mount a drive
partition any damn where you please, even to the point of screwing up
your machine if e.g. you decide to mount it over /bin!!!!

> Regards,
> Rudy Wieser
>
>

--
Outside of a dog, a book is a man's best friend. Inside of a dog it's
too dark to read.

Groucho Marx

Re: Labeling micro-SD cards ?

<tj8ud0$1qqr$1@gioia.aioe.org>

  copy mid

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

  copy link   Newsgroups: comp.sys.raspberry-pi
Path: i2pn2.org!i2pn.org!aioe.org!XakcSTEO51npqVb7OVl71w.user.46.165.242.75.POSTED!not-for-mail
From: addr...@not.available (R.Wieser)
Newsgroups: comp.sys.raspberry-pi
Subject: Re: Labeling micro-SD cards ?
Date: Tue, 25 Oct 2022 17:15:00 +0200
Organization: Aioe.org NNTP Server
Lines: 37
Message-ID: <tj8ud0$1qqr$1@gioia.aioe.org>
References: <tiis1u$15dm$1@gioia.aioe.org> <tijbn5$2mn$1@gioia.aioe.org> <tj4sbn$nf4$1@reader2.panix.com> <tj5b7p$1c4j$1@gioia.aioe.org> <tj5cts$1k7oo$1@dont-email.me> <tj5rmc$uvl$1@gioia.aioe.org> <12ff5c25-b6c1-4d81-a900-2a957c02004dn@googlegroups.com> <tj7v4g$13gi$2@gioia.aioe.org> <XBw*2AF1y@news.chiark.greenend.org.uk> <tj8n87$2hk$2@gioia.aioe.org> <YBw*AIF1y@news.chiark.greenend.org.uk>
Injection-Info: gioia.aioe.org; logging-data="60251"; posting-host="XakcSTEO51npqVb7OVl71w.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org";
X-RFC2646: Format=Flowed; Original
X-Notice: Filtered by postfilter v. 0.9.2
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.5512
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5512
X-Priority: 3
 by: R.Wieser - Tue, 25 Oct 2022 15:15 UTC

Theo,

>> And I read somewhere I had to create that "mnt" directory first ?
>> You do not seem to do so.
>
> Most distros already have an empty /mnt directory there, ready for
> something to be mounted.

Ah. Understood.

>> And a question : do you know wat happens when you (try to) eject the
>> USB dongle containing the uSD card you just mounted a partition of ?
....
> If you use the desktop environment 'eject' button, it may or may not
> remove the mountpoints.

Thats currently what I know too. "it may or may not". :-)

> If in doubt, 'sync' to ensure anything unwritten is flushed to the disc
> before removing it.

So, either unmount or flush. I had hoped to hear (for sure) that under
raspberian the "eject" would automatically unmount first. The less stuff
you have to remember the better.

> In the above it's done as root, and a regular user won't be able
> to unmount something mounted by root, so the eject complains
> something is still using the device.

I had not considered that. Hmm... Not being able to eject some removable
USB stick "root" forgot to take with him. Oh well. I guess nothing a
shutdown won't solve. :-)

Regards,
Rudy Wieser

Pages:12345
server_pubkey.txt

rocksolid light 0.9.8
clearnet tor