Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

"The medium is the message." -- Marshall McLuhan


computers / comp.os.linux.misc / Short name for USB

SubjectAuthor
* Short name for USBdb
+* Re: Short name for USBCarlos E.R.
|+* Re: Short name for USBdb
||+- Re: Short name for USBLew Pitcher
||+- Re: Short name for USBThe Natural Philosopher
||+* Re: Short name for USBCarlos E. R.
|||`* Re: Short name for USBCarlos E. R.
||| `* Re: Short name for USBDavid W. Hodgins
|||  `* Re: Short name for USBCarlos E. R.
|||   `- Re: Short name for USB26C.Z968
||`- Re: Short name for USB26C.Z968
|`* Re: Short name for USBpH
| +- Re: Short name for USBCarlos E.R.
| +* Re: Short name for USBThe Natural Philosopher
| |+- Re: Short name for USBmarrgol
| |`* Re: Short name for USBCarlos E.R.
| | `- Re: Short name for USBThe Natural Philosopher
| `- Re: Short name for USBdb
`* Re: Short name for USBGerald Gruner
 `* Re: Short name for USBDavid W. Hodgins
  `* Re: Short name for USBThe Natural Philosopher
   +* Re: Short name for USBCarlos E.R.
   |`* Re: Short name for USB25B.R867
   | +* Re: Short name for USBCarlos E.R.
   | |`* Re: Short name for USB25B.R867
   | | `* Re: Short name for USBCarlos E. R.
   | |  `* Re: Short name for USB25B.R867
   | |   `- Re: Short name for USBCarlos E.R.
   | `* Re: Short name for USBRich
   |  +* Re: Short name for USB25B.R867
   |  |`* Re: Short name for USBRich
   |  | `* Re: Short name for USB25B.R867
   |  |  `* Re: Short name for USBCarlos E.R.
   |  |   +* Re: Short name for USBThe Natural Philosopher
   |  |   |`* Re: Short name for USB25B.R867
   |  |   | `* Re: Short name for USBThe Natural Philosopher
   |  |   |  +* Re: Short name for USBCarlos E.R.
   |  |   |  |+* Re: Short name for USBThe Natural Philosopher
   |  |   |  ||`* Re: Short name for USB25B.R866
   |  |   |  || `* Re: Short name for USBComputer Nerd Kev
   |  |   |  ||  +* Re: Short name for USBThe Natural Philosopher
   |  |   |  ||  |`- Re: Short name for USBComputer Nerd Kev
   |  |   |  ||  `* Re: Short name for USBCarlos E.R.
   |  |   |  ||   `* Re: Short name for USBComputer Nerd Kev
   |  |   |  ||    `* Re: Short name for USBCarlos E.R.
   |  |   |  ||     +- Re: Short name for USBComputer Nerd Kev
   |  |   |  ||     +* Re: Short name for USB25B.E866
   |  |   |  ||     |+* Re: Short name for USBComputer Nerd Kev
   |  |   |  ||     ||+* Re: Short name for USBCarlos E. R.
   |  |   |  ||     |||`* Re: Short name for USBThe Natural Philosopher
   |  |   |  ||     ||| `* Re: Short name for USBCarlos E.R.
   |  |   |  ||     |||  `- Re: Short name for USBThe Natural Philosopher
   |  |   |  ||     ||`* Re: Short name for USBThe Natural Philosopher
   |  |   |  ||     || +- Re: Short name for USBCarlos E. R.
   |  |   |  ||     || `* Re: Short name for USBComputer Nerd Kev
   |  |   |  ||     ||  `* Re: Short name for USBThe Natural Philosopher
   |  |   |  ||     ||   `* Re: Short name for USBComputer Nerd Kev
   |  |   |  ||     ||    `- Re: Short name for USBThe Natural Philosopher
   |  |   |  ||     |`- Re: Short name for USBThe Natural Philosopher
   |  |   |  ||     `* Re: Short name for USBThe Natural Philosopher
   |  |   |  ||      `* Re: Short name for USBCarlos E. R.
   |  |   |  ||       `* Re: Short name for USBThe Natural Philosopher
   |  |   |  ||        `- Re: Short name for USBCarlos E. R.
   |  |   |  |`* Re: Short name for USB25B.R866
   |  |   |  | `- Re: Short name for USBThe Natural Philosopher
   |  |   |  `- Re: Short name for USB25B.R866
   |  |   `* Re: Short name for USB25B.R867
   |  |    `* Re: Short name for USBCarlos E.R.
   |  |     +* Re: Short name for USBJim Jackson
   |  |     |`* Re: Short name for USB25B.R866
   |  |     | `* Re: Short name for USBCarlos E.R.
   |  |     |  `* Re: Short name for USB25B.R866
   |  |     |   `- Re: Short name for USBCarlos E.R.
   |  |     `* Re: Short name for USB25B.R866
   |  |      `* Re: Short name for USBCarlos E.R.
   |  |       `* Re: Short name for USB25B.E866
   |  |        `* Re: Short name for USBCarlos E. R.
   |  |         `* Re: Short name for USB25B.E866
   |  |          `- Re: Short name for USBCarlos E. R.
   |  `* Re: Short name for USBThe Natural Philosopher
   |   `* Re: Short name for USBThe Natural Philosopher
   |    `- Re: Short name for USB25B.R866
   `* Re: Short name for USBComputer Nerd Kev
    `* Re: Short name for USB25B.R866
     `* Re: Short name for USBThe Natural Philosopher
      `* Re: Short name for USB25B.R866
       +* Re: Short name for USBThe Natural Philosopher
       |`* Re: Short name for USB25B.E866
       | +- Re: Short name for USBCarlos E. R.
       | `* Re: Short name for USBCharlie Gibbs
       |  +* Re: Short name for USBThe Natural Philosopher
       |  |`- Re: Short name for USB25B.E866
       |  `* Re: Short name for USB25B.E866
       |   `* Re: Short name for USBThe Natural Philosopher
       |    `- Re: Short name for USB25B.E866
       `* Re: Short name for USBCarlos E.R.
        +- Re: Short name for USBThe Natural Philosopher
        `* Re: Short name for USB25B.E866
         `* Re: Short name for USBThe Natural Philosopher
          `- Re: Short name for USB25B.E866

Pages:1234
Short name for USB

<ts2hst$l6ua$2@dont-email.me>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=9714&group=comp.os.linux.misc#9714

  copy link   Newsgroups: comp.os.linux.misc
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: dieterha...@gmail.com (db)
Newsgroups: comp.os.linux.misc
Subject: Short name for USB
Date: Thu, 9 Feb 2023 11:28:45 +0100
Organization: A noiseless patient Spider
Lines: 5
Message-ID: <ts2hst$l6ua$2@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Thu, 9 Feb 2023 10:28:45 -0000 (UTC)
Injection-Info: reader01.eternal-september.org; posting-host="684febc47e5b26c1ad82869ea203ee90";
logging-data="695242"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19kxD2qlYeX4w7Xl61ElyyIfg3X6zcdNUI="
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101
Thunderbird/102.7.1
Cancel-Lock: sha1:P4RdBhIut34hHWFyMQrWE8smr9o=
Content-Language: en-US
 by: db - Thu, 9 Feb 2023 10:28 UTC

When I want to operate on a USB, it has a long unwieldy
name. How do I give it a short name? I have forgotten
how to do it. Alias? Or what?
--
Dieter Britz

Re: Short name for USB

<f10fbjx0r.ln2@Telcontar.valinor>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=9715&group=comp.os.linux.misc#9715

  copy link   Newsgroups: comp.os.linux.misc
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!news.szaf.org!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: robin_li...@es.invalid (Carlos E.R.)
Newsgroups: comp.os.linux.misc
Subject: Re: Short name for USB
Date: Thu, 9 Feb 2023 11:55:11 +0100
Lines: 10
Message-ID: <f10fbjx0r.ln2@Telcontar.valinor>
References: <ts2hst$l6ua$2@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Trace: individual.net K5pfdKOf1CHF0yEbN/S0AwUouYx7FQ9pTa72D0as3MTzvF1Kbk
X-Orig-Path: Telcontar.valinor!not-for-mail
Cancel-Lock: sha1:ODB8f6bw2cCAYu3EDXjSVRniD4s=
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101
Thunderbird/102.6.1
Content-Language: es-ES, en-CA
In-Reply-To: <ts2hst$l6ua$2@dont-email.me>
 by: Carlos E.R. - Thu, 9 Feb 2023 10:55 UTC

On 2023-02-09 11:28, db wrote:
> When I want to operate on a USB, it has a long unwieldy
> name. How do I give it a short name? I have forgotten
> how to do it. Alias? Or what?

USB what? A keyboard? A mouse? A scanner? A printer? A modem?

--
Cheers, Carlos.

Re: Short name for USB

<ts343k$n5sj$1@dont-email.me>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=9719&group=comp.os.linux.misc#9719

  copy link   Newsgroups: comp.os.linux.misc
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: dieterha...@gmail.com (db)
Newsgroups: comp.os.linux.misc
Subject: Re: Short name for USB
Date: Thu, 9 Feb 2023 16:39:32 +0100
Organization: A noiseless patient Spider
Lines: 13
Message-ID: <ts343k$n5sj$1@dont-email.me>
References: <ts2hst$l6ua$2@dont-email.me> <f10fbjx0r.ln2@Telcontar.valinor>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Thu, 9 Feb 2023 15:39:33 -0000 (UTC)
Injection-Info: reader01.eternal-september.org; posting-host="14ea8d626938bfadbdcd91d2871aec3b";
logging-data="759699"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19eYKdRsfohWHZCNvY4vLrJvH3qBDVN3VQ="
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101
Thunderbird/102.7.1
Cancel-Lock: sha1:lRG3UZ8VZ6cPWaWhy3+aZBC5PyM=
In-Reply-To: <f10fbjx0r.ln2@Telcontar.valinor>
Content-Language: en-US
 by: db - Thu, 9 Feb 2023 15:39 UTC

On 09.02.2023 11.55, Carlos E.R. wrote:
> On 2023-02-09 11:28, db wrote:
>> When I want to operate on a USB, it has a long unwieldy
>> name. How do I give it a short name? I have forgotten
>> how to do it. Alias? Or what?
>
> USB what? A keyboard? A mouse? A scanner? A printer? A modem?
>
Sigh... a USB stick, which appears e.g. as "/media/.../KINGSTON".
How do I give it a shorter name?
--
Dieter Britz

Re: Short name for USB

<ts361a$mogt$1@dont-email.me>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=9721&group=comp.os.linux.misc#9721

  copy link   Newsgroups: comp.os.linux.misc
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: lew.pitc...@digitalfreehold.ca (Lew Pitcher)
Newsgroups: comp.os.linux.misc
Subject: Re: Short name for USB
Date: Thu, 9 Feb 2023 16:12:26 -0000 (UTC)
Organization: The Pitcher Digital Freehold
Lines: 39
Message-ID: <ts361a$mogt$1@dont-email.me>
References: <ts2hst$l6ua$2@dont-email.me> <f10fbjx0r.ln2@Telcontar.valinor>
<ts343k$n5sj$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Thu, 9 Feb 2023 16:12:26 -0000 (UTC)
Injection-Info: reader01.eternal-september.org; posting-host="a0ad817ff2e5c6854ed4a5ce0f8d4755";
logging-data="746013"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/gQfjFrM6X5whbijkoD5VqZWahePmPJ2s="
User-Agent: Pan/0.139 (Sexual Chocolate; GIT bf56508
git://git.gnome.org/pan2)
Cancel-Lock: sha1:P6BsXBfQP19aX7VKevbhp7CPLX0=
 by: Lew Pitcher - Thu, 9 Feb 2023 16:12 UTC

On Thu, 09 Feb 2023 16:39:32 +0100, db wrote:

> On 09.02.2023 11.55, Carlos E.R. wrote:
>> On 2023-02-09 11:28, db wrote:
>>> When I want to operate on a USB, it has a long unwieldy name. How do I
>>> give it a short name? I have forgotten how to do it. Alias? Or what?
>>
>> USB what? A keyboard? A mouse? A scanner? A printer? A modem?
>>
> Sigh... a USB stick, which appears e.g. as "/media/.../KINGSTON".
> How do I give it a shorter name?

It depends on what you actually want to do.

1) You can change the name of the final directory in that mount path (that
is, from KINGSTON to something else)

2) Depending on what system component actually mounted the USB drive, you
/may/ be able to change the path to that final directory (the
"/media/.../" part). If your DM's automounter mounted it for you, you
probably can't change that part; if udev mounted it for you, you might
be able to change the path, and if you mounted it by hand, you can
definitely change that part.

3) If you can't change the path, you can make a symlink to that path from
a more convenient place (ie /mnt/MYDRIVE, which symlinks to
/media/.../KINGSTON)

So, how about a little more detail.

How did you manage to mount the USB drive? By hand, by udev, or by
automount?

What part of the path do you want to shorten? What would you like
to shorten it to?

--
Lew Pitcher
"In Skills We Trust"

Re: Short name for USB

<ts3bld$o4b5$2@dont-email.me>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=9723&group=comp.os.linux.misc#9723

  copy link   Newsgroups: comp.os.linux.misc
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.os.linux.misc
Subject: Re: Short name for USB
Date: Thu, 9 Feb 2023 17:48:29 +0000
Organization: A little, after lunch
Lines: 25
Message-ID: <ts3bld$o4b5$2@dont-email.me>
References: <ts2hst$l6ua$2@dont-email.me> <f10fbjx0r.ln2@Telcontar.valinor>
<ts343k$n5sj$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Thu, 9 Feb 2023 17:48:29 -0000 (UTC)
Injection-Info: reader01.eternal-september.org; posting-host="c6f82211df571fc3bb3bd8fc82690e11";
logging-data="790885"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX188woZsx3yjMo+rSeDMvn/+fEBesQc3+0w="
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101
Thunderbird/102.4.2
Cancel-Lock: sha1:v7TWBXO3PHdMfuvTi9pO8Sa230M=
Content-Language: en-GB
In-Reply-To: <ts343k$n5sj$1@dont-email.me>
 by: The Natural Philosop - Thu, 9 Feb 2023 17:48 UTC

On 09/02/2023 15:39, db wrote:
> On 09.02.2023 11.55, Carlos E.R. wrote:
>> On 2023-02-09 11:28, db wrote:
>>> When I want to operate on a USB, it has a long unwieldy
>>> name. How do I give it a short name? I have forgotten
>>> how to do it. Alias? Or what?
>>
>> USB what? A keyboard? A mouse? A scanner? A printer? A modem?
>>
>  Sigh... a USB stick, which appears e.g. as "/media/.../KINGSTON".
> How do I give it a shorter name?

You can rename it to something shorter like PORN

You can create a link to /home/you/media from e.g., your desktop so you
now have ~/desktop/PORN.
etc...

--
“Ideas are inherently conservative. They yield not to the attack of
other ideas but to the massive onslaught of circumstance"

- John K Galbraith

Re: Short name for USB

<k4kqaqF55rlU1@mid.individual.net>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=9724&group=comp.os.linux.misc#9724

  copy link   Newsgroups: comp.os.linux.misc
Path: i2pn2.org!i2pn.org!news.swapon.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: robin_li...@es.invalid (Carlos E. R.)
Newsgroups: comp.os.linux.misc
Subject: Re: Short name for USB
Date: Thu, 9 Feb 2023 18:54:34 +0100
Lines: 33
Message-ID: <k4kqaqF55rlU1@mid.individual.net>
References: <ts2hst$l6ua$2@dont-email.me> <f10fbjx0r.ln2@Telcontar.valinor>
<ts343k$n5sj$1@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Trace: individual.net 328GwfXqAxiNTXTi+GdI/w6Shtesm3SVifEGC5vh1V9mAE/jCe
Cancel-Lock: sha1:81Od4Ya9pRovhAyX/jKj+Pb1OQg=
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101
Thunderbird/102.7.1
Content-Language: en-US
In-Reply-To: <ts343k$n5sj$1@dont-email.me>
 by: Carlos E. R. - Thu, 9 Feb 2023 17:54 UTC

On 2023-02-09 16:39, db wrote:
> On 09.02.2023 11.55, Carlos E.R. wrote:
>> On 2023-02-09 11:28, db wrote:
>>> When I want to operate on a USB, it has a long unwieldy
>>> name. How do I give it a short name? I have forgotten
>>> how to do it. Alias? Or what?
>>
>> USB what? A keyboard? A mouse? A scanner? A printer? A modem?
>>
>  Sigh... a USB stick, which appears e.g. as "/media/.../KINGSTON".
> How do I give it a shorter name?

It depends on what distro you are using.

For example, on openSUSE, the default is "/run/media/<user>/name". You
can change it to /media/name by creating file
/etc/udev/rules.d/99-correct-media-mount-point.rules with line (single
line):

ENV{ID_FS_USAGE}=="filesystem|other|crypto",
ENV{UDISKS_FILESYSTEM_SHARED}="1"

and run and "udevadm control --reload"

Make sure that /media does exist in advance.

Other distros may have other tricks.

--
Cheers,
Carlos E.R.

Re: Short name for USB

<k4kqvhF55rmU1@mid.individual.net>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=9725&group=comp.os.linux.misc#9725

  copy link   Newsgroups: comp.os.linux.misc
Path: i2pn2.org!i2pn.org!news.swapon.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: robin_li...@es.invalid (Carlos E. R.)
Newsgroups: comp.os.linux.misc
Subject: Re: Short name for USB
Date: Thu, 9 Feb 2023 19:05:37 +0100
Lines: 22
Message-ID: <k4kqvhF55rmU1@mid.individual.net>
References: <ts2hst$l6ua$2@dont-email.me> <f10fbjx0r.ln2@Telcontar.valinor>
<ts343k$n5sj$1@dont-email.me> <k4kqaqF55rlU1@mid.individual.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Trace: individual.net BFJ7+GCrc37RgmyMExvWPgRYhI5LMkqpoaHqDxeI6Zh9JfzjfT
Cancel-Lock: sha1:ukbRH08D5WlUBheokckjAed70gU=
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101
Thunderbird/102.7.1
Content-Language: en-US
In-Reply-To: <k4kqaqF55rlU1@mid.individual.net>
 by: Carlos E. R. - Thu, 9 Feb 2023 18:05 UTC

On 2023-02-09 18:54, Carlos E. R. wrote:
> On 2023-02-09 16:39, db wrote:
>> On 09.02.2023 11.55, Carlos E.R. wrote:
>>> On 2023-02-09 11:28, db wrote:
>>>> When I want to operate on a USB, it has a long unwieldy
>>>> name. How do I give it a short name? I have forgotten
>>>> how to do it. Alias? Or what?
>>>
>>> USB what? A keyboard? A mouse? A scanner? A printer? A modem?
>>>
>>   Sigh... a USB stick, which appears e.g. as "/media/.../KINGSTON".
>> How do I give it a shorter name?
>
> It depends on what distro you are using.

With some distros, creating an entry in fstab (noauto,user) works.

--
Cheers,
Carlos E.R.

Re: Short name for USB

<op.1z32agu1a3w0dxdave@hodgins.homeip.net>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=9726&group=comp.os.linux.misc#9726

  copy link   Newsgroups: comp.os.linux.misc
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: dwhodg...@nomail.afraid.org (David W. Hodgins)
Newsgroups: comp.os.linux.misc
Subject: Re: Short name for USB
Date: Thu, 09 Feb 2023 13:14:30 -0500
Organization: A noiseless patient Spider
Lines: 24
Message-ID: <op.1z32agu1a3w0dxdave@hodgins.homeip.net>
References: <ts2hst$l6ua$2@dont-email.me> <f10fbjx0r.ln2@Telcontar.valinor>
<ts343k$n5sj$1@dont-email.me> <k4kqaqF55rlU1@mid.individual.net>
<k4kqvhF55rmU1@mid.individual.net>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed; delsp=yes
Content-Transfer-Encoding: 8bit
Injection-Info: reader01.eternal-september.org; posting-host="86d59b798331d57219c907758488d985";
logging-data="798070"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/9IKcxe15KnvrajiuweUotlUbzkXnXQQk="
User-Agent: Opera Mail/12.16 (Linux)
Cancel-Lock: sha1:2B5E+tH4ISmrFhBxxyjkD/0bYbc=
 by: David W. Hodgins - Thu, 9 Feb 2023 18:14 UTC

On Thu, 09 Feb 2023 13:05:37 -0500, Carlos E. R. <robin_listas@es.invalid> wrote:

> On 2023-02-09 18:54, Carlos E. R. wrote:
>> On 2023-02-09 16:39, db wrote:
>>> On 09.02.2023 11.55, Carlos E.R. wrote:
>>>> On 2023-02-09 11:28, db wrote:
>>>>> When I want to operate on a USB, it has a long unwieldy
>>>>> name. How do I give it a short name? I have forgotten
>>>>> how to do it. Alias? Or what?
>>>>
>>>> USB what? A keyboard? A mouse? A scanner? A printer? A modem?
>>>>
>>> Sigh... a USB stick, which appears e.g. as "/media/.../KINGSTON".
>>> How do I give it a shorter name?
>>
>> It depends on what distro you are using.
>
> With some distros, creating an entry in fstab (noauto,user) works.

Another technique is to assign a label to the file system on the usb stick.
The label will be used in the directory name used for the mountpoint instead
of using the uuid.

Regards, Dave Hodgins

Re: Short name for USB

<k4kru6F55rmU2@mid.individual.net>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=9727&group=comp.os.linux.misc#9727

  copy link   Newsgroups: comp.os.linux.misc
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!lilly.ping.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: robin_li...@es.invalid (Carlos E. R.)
Newsgroups: comp.os.linux.misc
Subject: Re: Short name for USB
Date: Thu, 9 Feb 2023 19:21:58 +0100
Lines: 31
Message-ID: <k4kru6F55rmU2@mid.individual.net>
References: <ts2hst$l6ua$2@dont-email.me> <f10fbjx0r.ln2@Telcontar.valinor>
<ts343k$n5sj$1@dont-email.me> <k4kqaqF55rlU1@mid.individual.net>
<k4kqvhF55rmU1@mid.individual.net> <op.1z32agu1a3w0dxdave@hodgins.homeip.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Trace: individual.net KUu6YXBrEoOF/3rrDyczEwI3ha2JppGf2Pca2mKXqX90Cfclnx
Cancel-Lock: sha1:F2o540NnOEMAozUurUmn5/ev8lk=
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101
Thunderbird/102.7.1
Content-Language: en-US
In-Reply-To: <op.1z32agu1a3w0dxdave@hodgins.homeip.net>
 by: Carlos E. R. - Thu, 9 Feb 2023 18:21 UTC

On 2023-02-09 19:14, David W. Hodgins wrote:
> On Thu, 09 Feb 2023 13:05:37 -0500, Carlos E. R. <robin_listas@es.invalid> wrote:
>> On 2023-02-09 18:54, Carlos E. R. wrote:
>>> On 2023-02-09 16:39, db wrote:
>>>> On 09.02.2023 11.55, Carlos E.R. wrote:
>>>>> On 2023-02-09 11:28, db wrote:
>>>>>> When I want to operate on a USB, it has a long unwieldy
>>>>>> name. How do I give it a short name? I have forgotten
>>>>>> how to do it. Alias? Or what?
>>>>>
>>>>> USB what? A keyboard? A mouse? A scanner? A printer? A modem?
>>>>>
>>>>   Sigh... a USB stick, which appears e.g. as "/media/.../KINGSTON".
>>>> How do I give it a shorter name?
>>>
>>> It depends on what distro you are using.
>>
>> With some distros, creating an entry in fstab (noauto,user) works.
>
> Another technique is to assign a label to the file system on the usb stick.
> The label will be used in the directory name used for the mountpoint
> instead of using the uuid.

Right.

I forgot that, because all my filesystems have labels :-)

--
Cheers,
Carlos E.R.

Re: Short name for USB

<-T2dnVhtKok5M3j-nZ2dnZfqnPqdnZ2d@earthlink.com>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=9729&group=comp.os.linux.misc#9729

  copy link   Newsgroups: comp.os.linux.misc
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!nntp.club.cc.cmu.edu!45.76.7.193.MISMATCH!3.us.feeder.erje.net!feeder.erje.net!border-1.nntp.ord.giganews.com!nntp.giganews.com!Xl.tags.giganews.com!local-2.nntp.ord.giganews.com!nntp.earthlink.com!news.earthlink.com.POSTED!not-for-mail
NNTP-Posting-Date: Fri, 10 Feb 2023 02:40:36 +0000
Subject: Re: Short name for USB
Newsgroups: comp.os.linux.misc
References: <ts2hst$l6ua$2@dont-email.me> <f10fbjx0r.ln2@Telcontar.valinor>
<ts343k$n5sj$1@dont-email.me>
From: 26C.Z...@noaada.net (26C.Z968)
Date: Thu, 9 Feb 2023 21:40:35 -0500
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101
Thunderbird/78.13.0
MIME-Version: 1.0
In-Reply-To: <ts343k$n5sj$1@dont-email.me>
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Language: en-US
Content-Transfer-Encoding: 8bit
Message-ID: <-T2dnVhtKok5M3j-nZ2dnZfqnPqdnZ2d@earthlink.com>
Lines: 27
X-Usenet-Provider: http://www.giganews.com
NNTP-Posting-Host: 68.222.41.46
X-Trace: sv3-5AkW8PXPY5jkVGD2bbaHWLGVXvDr082RB9gfLHiBR58exQoVuf+430oflGzBLvhLAL3RFg9Yc+V04YH!0UAGoN7vX1IOS7xIMVSOl4jBlZUn0gJecd203/n4eqE+qPUS62OmwANuF7XZ+pHAkS/cBvkPxXLi!aYEZvpYlN5tOOHT05zw=
X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers
X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly
X-Postfilter: 1.3.40
 by: 26C.Z968 - Fri, 10 Feb 2023 02:40 UTC

On 2/9/23 10:39 AM, db wrote:
> On 09.02.2023 11.55, Carlos E.R. wrote:
>> On 2023-02-09 11:28, db wrote:
>>> When I want to operate on a USB, it has a long unwieldy
>>> name. How do I give it a short name? I have forgotten
>>> how to do it. Alias? Or what?
>>
>> USB what? A keyboard? A mouse? A scanner? A printer? A modem?
>>
>  Sigh... a USB stick, which appears e.g. as "/media/.../KINGSTON".
> How do I give it a shorter name?

If it's semi-permanent just make a symlink with a
name like "U1" or something,

Otherwise, every time you plug it in there's a chance
it'll have a different "long name/path". Not USUALLY
true, but it CAN happen and spoil schemes. Something
like a simple Python script can LOOK for it in /proc/mounts
and then create/edit the symlink - but you've gotta run
the Python pgm every time you plug in (no, I'm NOT gonna
even try to get into how to do that automagically).

I've got a backup pgm for a Pi with a USB-HDD attached,
but IT does the look-up when it runs, there's nothing
"automatic" about it.

Re: Short name for USB

<eZecnV6ls89SLHj-nZ2dnZfqnPudnZ2d@earthlink.com>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=9730&group=comp.os.linux.misc#9730

  copy link   Newsgroups: comp.os.linux.misc
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer02.iad!feed-me.highwinds-media.com!news.highwinds-media.com!border-1.nntp.ord.giganews.com!nntp.giganews.com!Xl.tags.giganews.com!local-2.nntp.ord.giganews.com!nntp.earthlink.com!news.earthlink.com.POSTED!not-for-mail
NNTP-Posting-Date: Fri, 10 Feb 2023 02:54:07 +0000
Subject: Re: Short name for USB
Newsgroups: comp.os.linux.misc
References: <ts2hst$l6ua$2@dont-email.me> <f10fbjx0r.ln2@Telcontar.valinor>
<ts343k$n5sj$1@dont-email.me> <k4kqaqF55rlU1@mid.individual.net>
<k4kqvhF55rmU1@mid.individual.net> <op.1z32agu1a3w0dxdave@hodgins.homeip.net>
<k4kru6F55rmU2@mid.individual.net>
From: 26C.Z...@noaada.net (26C.Z968)
Date: Thu, 9 Feb 2023 21:53:51 -0500
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101
Thunderbird/78.13.0
MIME-Version: 1.0
In-Reply-To: <k4kru6F55rmU2@mid.individual.net>
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Language: en-US
Content-Transfer-Encoding: 8bit
Message-ID: <eZecnV6ls89SLHj-nZ2dnZfqnPudnZ2d@earthlink.com>
Lines: 44
X-Usenet-Provider: http://www.giganews.com
NNTP-Posting-Host: 68.222.41.46
X-Trace: sv3-buE2o1PTsb+IJyYTWCsvBa2xK08dcyDrx3zraPrbL+PN50CVguw/HDH5chI+bTKp6ckEUx0RXkaFJJ6!6tjLOkVqYkqM7yvobBWajiSXeIZNgQDHDeHcIISD/hdnjZtruFkOCOfR5zmNAHbtEoEvMJs0Cr4R!yNnS1UnX7pCMrxwC1sc=
X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers
X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly
X-Postfilter: 1.3.40
X-Received-Bytes: 3087
 by: 26C.Z968 - Fri, 10 Feb 2023 02:53 UTC

On 2/9/23 1:21 PM, Carlos E. R. wrote:
> On 2023-02-09 19:14, David W. Hodgins wrote:
>> On Thu, 09 Feb 2023 13:05:37 -0500, Carlos E. R.
>> <robin_listas@es.invalid> wrote:
>>> On 2023-02-09 18:54, Carlos E. R. wrote:
>>>> On 2023-02-09 16:39, db wrote:
>>>>> On 09.02.2023 11.55, Carlos E.R. wrote:
>>>>>> On 2023-02-09 11:28, db wrote:
>>>>>>> When I want to operate on a USB, it has a long unwieldy
>>>>>>> name. How do I give it a short name? I have forgotten
>>>>>>> how to do it. Alias? Or what?
>>>>>>
>>>>>> USB what? A keyboard? A mouse? A scanner? A printer? A modem?
>>>>>>
>>>>>   Sigh... a USB stick, which appears e.g. as "/media/.../KINGSTON".
>>>>> How do I give it a shorter name?
>>>>
>>>> It depends on what distro you are using.
>>>
>>> With some distros, creating an entry in fstab (noauto,user) works.
>>
>> Another technique is to assign a label to the file system on the usb
>> stick.
>> The label will be used in the directory name used for the mountpoint
>> instead of using the uuid.
>
> Right.
>
> I forgot that, because all my filesystems have labels :-)

Wise. Very wise.

UUIDs may have their place, but ......

ANYway, /proc/mounts will have info on everything
that's mounted (in Deb derivs anyhow). You can
'cat' it and Python can open and readlines() the
thing too. Just tuesday I used that to confirm a
programmatic mount actually "took" before trying
to do anything with it. Arch/RH derivs likely
have something similar, just in different places.
I seem to remember stuff in "/sys", maybe 'devices',
buried several dirs down .....

Re: Short name for USB

<ts6a4v$153kk$2@dont-email.me>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=9745&group=comp.os.linux.misc#9745

  copy link   Newsgroups: comp.os.linux.misc
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: wNOSP...@gmail.org (pH)
Newsgroups: comp.os.linux.misc
Subject: Re: Short name for USB
Date: Fri, 10 Feb 2023 20:41:04 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 21
Message-ID: <ts6a4v$153kk$2@dont-email.me>
References: <ts2hst$l6ua$2@dont-email.me> <f10fbjx0r.ln2@Telcontar.valinor>
Injection-Date: Fri, 10 Feb 2023 20:41:04 -0000 (UTC)
Injection-Info: reader01.eternal-september.org; posting-host="4f0285ff84fc0f8ed3b1aadcb01cd95d";
logging-data="1216148"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/b8oAyXJFejcDtaYUaN5/AtyEY2AW/jPU="
User-Agent: slrn/1.0.3 (Linux)
Cancel-Lock: sha1:Cp/2jKB9z8sRTIdZhrq+odmA6bo=
 by: pH - Fri, 10 Feb 2023 20:41 UTC

On 2023-02-09, Carlos E.R. <robin_listas@es.invalid> wrote:
> On 2023-02-09 11:28, db wrote:
>> When I want to operate on a USB, it has a long unwieldy
>> name. How do I give it a short name? I have forgotten
>> how to do it. Alias? Or what?
>
> USB what? A keyboard? A mouse? A scanner? A printer? A modem?
>

"e2label" might do what you want.

use e2label or tune2fs -L to give big long parition names a new, easier
name.
NAME
e2label - Change the label on an ext2/ext3/ext4 filesystem

So don't know if it will work on USB sticks/names.

pH in Aptos

Re: Short name for USB

<qmqibjxum.ln2@Telcontar.valinor>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=9747&group=comp.os.linux.misc#9747

  copy link   Newsgroups: comp.os.linux.misc
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!news.mb-net.net!open-news-network.org!news.mind.de!bolzen.all.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: robin_li...@es.invalid (Carlos E.R.)
Newsgroups: comp.os.linux.misc
Subject: Re: Short name for USB
Date: Fri, 10 Feb 2023 22:48:42 +0100
Lines: 28
Message-ID: <qmqibjxum.ln2@Telcontar.valinor>
References: <ts2hst$l6ua$2@dont-email.me> <f10fbjx0r.ln2@Telcontar.valinor>
<ts6a4v$153kk$2@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Trace: individual.net 8G94bcX44sdD7sJxsVU6KAAjoaX4WAOVH3T8yggvKC0n9JJZv0
X-Orig-Path: Telcontar.valinor!not-for-mail
Cancel-Lock: sha1:5guxBWZBDoF+Y/fpShhCjTDjuls=
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101
Thunderbird/102.7.1
Content-Language: es-ES, en-CA
In-Reply-To: <ts6a4v$153kk$2@dont-email.me>
 by: Carlos E.R. - Fri, 10 Feb 2023 21:48 UTC

On 2023-02-10 21:41, pH wrote:
> On 2023-02-09, Carlos E.R. <robin_listas@es.invalid> wrote:
>> On 2023-02-09 11:28, db wrote:
>>> When I want to operate on a USB, it has a long unwieldy
>>> name. How do I give it a short name? I have forgotten
>>> how to do it. Alias? Or what?
>>
>> USB what? A keyboard? A mouse? A scanner? A printer? A modem?
>>
>
> "e2label" might do what you want.
>
> use e2label or tune2fs -L to give big long parition names a new, easier
> name.
> NAME
> e2label - Change the label on an ext2/ext3/ext4 filesystem
>
>
>
> So don't know if it will work on USB sticks/names.

Yes, if the filesystem is ext2/3/4

For a generic and GUI method, use gparted.

--
Cheers, Carlos.

Re: Short name for USB

<ts7j8d$1c64b$2@dont-email.me>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=9753&group=comp.os.linux.misc#9753

  copy link   Newsgroups: comp.os.linux.misc
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.os.linux.misc
Subject: Re: Short name for USB
Date: Sat, 11 Feb 2023 08:22:37 +0000
Organization: A little, after lunch
Lines: 33
Message-ID: <ts7j8d$1c64b$2@dont-email.me>
References: <ts2hst$l6ua$2@dont-email.me> <f10fbjx0r.ln2@Telcontar.valinor>
<ts6a4v$153kk$2@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Sat, 11 Feb 2023 08:22:37 -0000 (UTC)
Injection-Info: reader01.eternal-september.org; posting-host="5601318b0fcfebf598224ffb2d9d175b";
logging-data="1448075"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18NhwWdo4EwazzBXHHPCLIe1hCbhsXz0o8="
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101
Thunderbird/102.4.2
Cancel-Lock: sha1:evLRv5xXy0sMZJ//go6q4zydlWw=
In-Reply-To: <ts6a4v$153kk$2@dont-email.me>
Content-Language: en-GB
 by: The Natural Philosop - Sat, 11 Feb 2023 08:22 UTC

On 10/02/2023 20:41, pH wrote:
> On 2023-02-09, Carlos E.R. <robin_listas@es.invalid> wrote:
>> On 2023-02-09 11:28, db wrote:
>>> When I want to operate on a USB, it has a long unwieldy
>>> name. How do I give it a short name? I have forgotten
>>> how to do it. Alias? Or what?
>>
>> USB what? A keyboard? A mouse? A scanner? A printer? A modem?
>>
>
> "e2label" might do what you want.
>
> use e2label or tune2fs -L to give big long parition names a new, easier
> name.
> NAME
> e2label - Change the label on an ext2/ext3/ext4 filesystem
>
>
>
> So don't know if it will work on USB sticks/names.
>
It does. First thing I do is rename my sticks.

And you can relabel FAT32 sticks too.
I cant remember how to do it.

--
“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: Short name for USB

<ts7nrm$1ckch$1@dont-email.me>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=9756&group=comp.os.linux.misc#9756

  copy link   Newsgroups: comp.os.linux.misc
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: marr...@address.invalid (marrgol)
Newsgroups: comp.os.linux.misc
Subject: Re: Short name for USB
Date: Sat, 11 Feb 2023 10:41:09 +0100
Organization: A noiseless patient Spider
Lines: 20
Message-ID: <ts7nrm$1ckch$1@dont-email.me>
References: <ts2hst$l6ua$2@dont-email.me> <f10fbjx0r.ln2@Telcontar.valinor>
<ts6a4v$153kk$2@dont-email.me> <ts7j8d$1c64b$2@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Sat, 11 Feb 2023 09:41:10 -0000 (UTC)
Injection-Info: reader01.eternal-september.org; posting-host="80618f896e925b6f314bcec2191bd140";
logging-data="1462673"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+wbhkTfc3sU6YY06YRduuZ"
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101
Thunderbird/78.14.0
Cancel-Lock: sha1:ZSHZJwf62B79NUOWpY7RCXcP7C0=
Content-Language: pl
In-Reply-To: <ts7j8d$1c64b$2@dont-email.me>
 by: marrgol - Sat, 11 Feb 2023 09:41 UTC

On 11/02/2023 at 09.22, The Natural Philosopher wrote:
>> "e2label" might do what you want.
>>
>> use e2label or tune2fs -L to give big long parition names a new, easier
>> name.
>> NAME
>> e2label - Change the label on an ext2/ext3/ext4 filesystem
>>
>> So don't know if it will work on USB sticks/names.
>>
> It does. First thing I do is rename my sticks.
>
> And you can relabel FAT32 sticks too.
> I cant remember how to do it.

fatlabel(8)

--
mrg

Re: Short name for USB

<4a7kbjxsbt.ln2@Telcontar.valinor>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=9757&group=comp.os.linux.misc#9757

  copy link   Newsgroups: comp.os.linux.misc
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!lilly.ping.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: robin_li...@es.invalid (Carlos E.R.)
Newsgroups: comp.os.linux.misc
Subject: Re: Short name for USB
Date: Sat, 11 Feb 2023 11:29:56 +0100
Lines: 39
Message-ID: <4a7kbjxsbt.ln2@Telcontar.valinor>
References: <ts2hst$l6ua$2@dont-email.me> <f10fbjx0r.ln2@Telcontar.valinor>
<ts6a4v$153kk$2@dont-email.me> <ts7j8d$1c64b$2@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Trace: individual.net X7uOfSxrR9sjDT9PCr7iYgk6C1ji6T9ylnK5Jv3HHDNOTIhpeN
X-Orig-Path: Telcontar.valinor!not-for-mail
Cancel-Lock: sha1:rFKkvyWgZyxDUUAQSXcoJGxmAXY=
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101
Thunderbird/102.7.1
Content-Language: es-ES, en-CA
In-Reply-To: <ts7j8d$1c64b$2@dont-email.me>
 by: Carlos E.R. - Sat, 11 Feb 2023 10:29 UTC

On 2023-02-11 09:22, The Natural Philosopher wrote:
> On 10/02/2023 20:41, pH wrote:
>> On 2023-02-09, Carlos E.R. <robin_listas@es.invalid> wrote:
>>> On 2023-02-09 11:28, db wrote:
>>>> When I want to operate on a USB, it has a long unwieldy
>>>> name. How do I give it a short name? I have forgotten
>>>> how to do it. Alias? Or what?
>>>
>>> USB what? A keyboard? A mouse? A scanner? A printer? A modem?
>>>
>>
>> "e2label" might do what you want.
>>
>> use e2label or tune2fs -L to give big long parition names a new, easier
>> name.
>> NAME
>>         e2label - Change the label on an ext2/ext3/ext4 filesystem
>>
>>
>>
>> So don't know if it will work on USB sticks/names.
>>
> It does. First thing I do is rename my sticks.
>
> And you can relabel FAT32 sticks too.
> I cant remember how to do it.

cer@Telcontar:~> apropos label | grep fat
fatlabel (8) - set or get MS-DOS filesystem label
cer@Telcontar:~>

Also:

mlabel (1) - make an MSDOS volume label

--
Cheers, Carlos.

Re: Short name for USB

<ts7tq7$1d4b7$3@dont-email.me>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=9758&group=comp.os.linux.misc#9758

  copy link   Newsgroups: comp.os.linux.misc
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.os.linux.misc
Subject: Re: Short name for USB
Date: Sat, 11 Feb 2023 11:22:47 +0000
Organization: A little, after lunch
Lines: 48
Message-ID: <ts7tq7$1d4b7$3@dont-email.me>
References: <ts2hst$l6ua$2@dont-email.me> <f10fbjx0r.ln2@Telcontar.valinor>
<ts6a4v$153kk$2@dont-email.me> <ts7j8d$1c64b$2@dont-email.me>
<4a7kbjxsbt.ln2@Telcontar.valinor>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Sat, 11 Feb 2023 11:22:47 -0000 (UTC)
Injection-Info: reader01.eternal-september.org; posting-host="5601318b0fcfebf598224ffb2d9d175b";
logging-data="1479015"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19I9c5CPTybwNvazr9hQbvy90LjY+79AzE="
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101
Thunderbird/102.4.2
Cancel-Lock: sha1:QYvS+cSEspTwoAORb/bdSU+Xf98=
In-Reply-To: <4a7kbjxsbt.ln2@Telcontar.valinor>
Content-Language: en-GB
 by: The Natural Philosop - Sat, 11 Feb 2023 11:22 UTC

On 11/02/2023 10:29, Carlos E.R. wrote:
> On 2023-02-11 09:22, The Natural Philosopher wrote:
>> On 10/02/2023 20:41, pH wrote:
>>> On 2023-02-09, Carlos E.R. <robin_listas@es.invalid> wrote:
>>>> On 2023-02-09 11:28, db wrote:
>>>>> When I want to operate on a USB, it has a long unwieldy
>>>>> name. How do I give it a short name? I have forgotten
>>>>> how to do it. Alias? Or what?
>>>>
>>>> USB what? A keyboard? A mouse? A scanner? A printer? A modem?
>>>>
>>>
>>> "e2label" might do what you want.
>>>
>>> use e2label or tune2fs -L to give big long parition names a new, easier
>>> name.
>>> NAME
>>>         e2label - Change the label on an ext2/ext3/ext4 filesystem
>>>
>>>
>>>
>>> So don't know if it will work on USB sticks/names.
>>>
>> It does. First thing I do is rename my sticks.
>>
>> And you can relabel FAT32 sticks too.
>> I cant remember how to do it.
>
> cer@Telcontar:~> apropos label | grep fat
> fatlabel (8)         - set or get MS-DOS filesystem label
> cer@Telcontar:~>
>
I certainly didnt use that. Some GUI tool that came with MINT.
Gnome-disks.

Under 'edit filesystem' is the option to change labels

> Also:
>
> mlabel (1)           - make an MSDOS volume label
>
>

--
In theory, there is no difference between theory and practice.
In practice, there is.
-- Yogi Berra

Re: Short name for USB

<1crvbgma7vk4x$.dlg@10235314.user.individual.de>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=9760&group=comp.os.linux.misc#9760

  copy link   Newsgroups: comp.os.linux.misc
Path: i2pn2.org!i2pn.org!news.swapon.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: gerald...@yahoo.de (Gerald Gruner)
Newsgroups: comp.os.linux.misc
Subject: Re: Short name for USB
Date: Sat, 11 Feb 2023 16:33:43 +0100
Organization: -
Lines: 18
Message-ID: <1crvbgma7vk4x$.dlg@10235314.user.individual.de>
References: <ts2hst$l6ua$2@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Trace: individual.net BDd4k7AbvkSUlciGYPyPiwtIRvAXEGLg0PZn799RIUgJWbyrU6
Cancel-Lock: sha1:WmUSm0XF8VYbRlv+zwSXRjD4Eic=
User-Agent: 40tude_Dialog/2.0.15.41de
 by: Gerald Gruner - Sat, 11 Feb 2023 15:33 UTC

db schrieb am 9.02.23:

> When I want to operate on a USB, it has a long unwieldy
> name. How do I give it a short name? I have forgotten
> how to do it. Alias? Or what?

Strangely there seems to be a competition to find the most comoplicated way
here in the thread.
The disk managing/formating tool provided by your distribution should be
able to edit the USB-stick's label. In my distribututio it is
gnome-disks...

MfG
Gerald

--
No trees were killed in the sending of this message. However
a large number of electrons were terribly inconvenienced.

Re: Short name for USB

<op.1z7lczosa3w0dxdave@hodgins.homeip.net>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=9761&group=comp.os.linux.misc#9761

  copy link   Newsgroups: comp.os.linux.misc
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: dwhodg...@nomail.afraid.org (David W. Hodgins)
Newsgroups: comp.os.linux.misc
Subject: Re: Short name for USB
Date: Sat, 11 Feb 2023 10:59:13 -0500
Organization: A noiseless patient Spider
Lines: 12
Message-ID: <op.1z7lczosa3w0dxdave@hodgins.homeip.net>
References: <ts2hst$l6ua$2@dont-email.me>
<1crvbgma7vk4x$.dlg@10235314.user.individual.de>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed; delsp=yes
Content-Transfer-Encoding: 8bit
Injection-Info: reader01.eternal-september.org; posting-host="e954b21aa155507fe2b42d28bc3f04b5";
logging-data="1537368"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+ydeqUPhfsObp/ncRz3CZIYsA+mu65a2U="
User-Agent: Opera Mail/12.16 (Linux)
Cancel-Lock: sha1:kijG+4WFnC78gzeBFjcb1X0Umps=
 by: David W. Hodgins - Sat, 11 Feb 2023 15:59 UTC

On Sat, 11 Feb 2023 10:33:43 -0500, Gerald Gruner <gerald314@yahoo.de> wrote:
> Strangely there seems to be a competition to find the most comoplicated way
> here in the thread.
> The disk managing/formating tool provided by your distribution should be
> able to edit the USB-stick's label. In my distribututio it is
> gnome-disks...

As this is a linux newsgroup rather then a gnome newsgroup, indicating
the command line tools that the desktop environment gui tool uses in the
background is appropriate.

Regards, Dave Hodgins

Re: Short name for USB

<ts8h4g$1f6gk$3@dont-email.me>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=9762&group=comp.os.linux.misc#9762

  copy link   Newsgroups: comp.os.linux.misc
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.os.linux.misc
Subject: Re: Short name for USB
Date: Sat, 11 Feb 2023 16:52:32 +0000
Organization: A little, after lunch
Lines: 31
Message-ID: <ts8h4g$1f6gk$3@dont-email.me>
References: <ts2hst$l6ua$2@dont-email.me>
<1crvbgma7vk4x$.dlg@10235314.user.individual.de>
<op.1z7lczosa3w0dxdave@hodgins.homeip.net>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Sat, 11 Feb 2023 16:52:32 -0000 (UTC)
Injection-Info: reader01.eternal-september.org; posting-host="5601318b0fcfebf598224ffb2d9d175b";
logging-data="1546772"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19BT0q1zXS79As+7RTcA9RhrsxPUfVRoxI="
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101
Thunderbird/102.4.2
Cancel-Lock: sha1:B/GrhC5TICV5n1hfLC6z6Muapm4=
Content-Language: en-GB
In-Reply-To: <op.1z7lczosa3w0dxdave@hodgins.homeip.net>
 by: The Natural Philosop - Sat, 11 Feb 2023 16:52 UTC

On 11/02/2023 15:59, David W. Hodgins wrote:
> On Sat, 11 Feb 2023 10:33:43 -0500, Gerald Gruner <gerald314@yahoo.de>
> wrote:
>> Strangely there seems to be a competition to find the most
>> comoplicated way
>> here in the thread.
>> The disk managing/formating tool provided by your distribution should be
>> able to edit the USB-stick's label. In my distribututio it is
>> gnome-disks...
>
> As this is a linux newsgroup rather then a gnome newsgroup, indicating
> the command line tools that the desktop environment gui tool uses in the
> background is appropriate.
>
> Regards, Dave Hodgins

Gnome is built over linux.

Anyone who is running a GUI will have a GUI based disk editing tool

Gparted,
Gnome-disk
KDE partition manager
to name but three.

--
"Nature does not give up the winter because people dislike the cold."

― Confucius

Re: Short name for USB

<v22lbjxscc.ln2@Telcontar.valinor>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=9763&group=comp.os.linux.misc#9763

  copy link   Newsgroups: comp.os.linux.misc
Path: i2pn2.org!i2pn.org!news.swapon.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: robin_li...@es.invalid (Carlos E.R.)
Newsgroups: comp.os.linux.misc
Subject: Re: Short name for USB
Date: Sat, 11 Feb 2023 19:06:55 +0100
Lines: 31
Message-ID: <v22lbjxscc.ln2@Telcontar.valinor>
References: <ts2hst$l6ua$2@dont-email.me>
<1crvbgma7vk4x$.dlg@10235314.user.individual.de>
<op.1z7lczosa3w0dxdave@hodgins.homeip.net> <ts8h4g$1f6gk$3@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Trace: individual.net kU/hvNk10UOvyMpnaZJ4xAFCA7JDBkLDsOfMzu92/2mT6iqSh2
X-Orig-Path: Telcontar.valinor!not-for-mail
Cancel-Lock: sha1:nN2zk+dsAVQy8sdaSbomroUqJW0=
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101
Thunderbird/102.7.1
Content-Language: es-ES, en-CA
In-Reply-To: <ts8h4g$1f6gk$3@dont-email.me>
 by: Carlos E.R. - Sat, 11 Feb 2023 18:06 UTC

On 2023-02-11 17:52, The Natural Philosopher wrote:
> On 11/02/2023 15:59, David W. Hodgins wrote:
>> On Sat, 11 Feb 2023 10:33:43 -0500, Gerald Gruner <gerald314@yahoo.de>
>> wrote:
>>> Strangely there seems to be a competition to find the most
>>> comoplicated way
>>> here in the thread.
>>> The disk managing/formating tool provided by your distribution should be
>>> able to edit the USB-stick's label. In my distribututio it is
>>> gnome-disks...
>>
>> As this is a linux newsgroup rather then a gnome newsgroup, indicating
>> the command line tools that the desktop environment gui tool uses in the
>> background is appropriate.
>>
>> Regards, Dave Hodgins
>
> Gnome is built over linux.
>
> Anyone who is running a GUI will have a GUI based disk editing tool
>
> Gparted,
> Gnome-disk
> KDE partition manager
> to name but three.

YaST.

--
Cheers, Carlos.

Re: Short name for USB

<63e8104a@news.ausics.net>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=9767&group=comp.os.linux.misc#9767

  copy link   Newsgroups: comp.os.linux.misc
Message-ID: <63e8104a@news.ausics.net>
From: not...@telling.you.invalid (Computer Nerd Kev)
Subject: Re: Short name for USB
Newsgroups: comp.os.linux.misc
References: <ts2hst$l6ua$2@dont-email.me> <1crvbgma7vk4x$.dlg@10235314.user.individual.de> <op.1z7lczosa3w0dxdave@hodgins.homeip.net> <ts8h4g$1f6gk$3@dont-email.me>
User-Agent: tin/2.0.1-20111224 ("Achenvoir") (UNIX) (Linux/2.4.31 (i586))
NNTP-Posting-Host: news.ausics.net
Date: 12 Feb 2023 08:01:47 +1000
Organization: Ausics - https://www.ausics.net
Lines: 33
X-Complaints: abuse@ausics.net
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.quux.org!news.bbs.nz!news.ausics.net!not-for-mail
 by: Computer Nerd Kev - Sat, 11 Feb 2023 22:01 UTC

The Natural Philosopher <tnp@invalid.invalid> wrote:
> On 11/02/2023 15:59, David W. Hodgins wrote:
>> On Sat, 11 Feb 2023 10:33:43 -0500, Gerald Gruner <gerald314@yahoo.de>
>> wrote:
>>> Strangely there seems to be a competition to find the most
>>> comoplicated way here in the thread.
>>> The disk managing/formating tool provided by your distribution should be
>>> able to edit the USB-stick's label. In my distribututio it is
>>> gnome-disks...
>>
>> As this is a linux newsgroup rather then a gnome newsgroup, indicating
>> the command line tools that the desktop environment gui tool uses in the
>> background is appropriate.
>
> Gnome is built over linux.
>
> Anyone who is running a GUI will have a GUI based disk editing tool
>
> Gparted,
> Gnome-disk
> KDE partition manager
> to name but three.

I don't here, and I know of at least a couple of distros that don't
come with one by default even though they have a GUI. Most people
who use them probably don't need to ask questions like this though.

Not all distros use partition labels to create mount point
directories by default either, for that matter.

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

Re: Short name for USB

<2iednQq3V55KvHb-nZ2dnZfqn_ednZ2d@earthlink.com>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=9784&group=comp.os.linux.misc#9784

  copy link   Newsgroups: comp.os.linux.misc
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!border-2.nntp.ord.giganews.com!border-1.nntp.ord.giganews.com!nntp.giganews.com!Xl.tags.giganews.com!local-2.nntp.ord.giganews.com!nntp.earthlink.com!news.earthlink.com.POSTED!not-for-mail
NNTP-Posting-Date: Tue, 14 Feb 2023 05:53:27 +0000
Subject: Re: Short name for USB
Newsgroups: comp.os.linux.misc
References: <ts2hst$l6ua$2@dont-email.me>
<1crvbgma7vk4x$.dlg@10235314.user.individual.de>
<op.1z7lczosa3w0dxdave@hodgins.homeip.net> <ts8h4g$1f6gk$3@dont-email.me>
<v22lbjxscc.ln2@Telcontar.valinor>
From: 25B.R...@noaaada.net (25B.R867)
Organization: toadfrog levitation
Date: Tue, 14 Feb 2023 00:53:26 -0500
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101
Thunderbird/78.13.0
MIME-Version: 1.0
In-Reply-To: <v22lbjxscc.ln2@Telcontar.valinor>
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Language: en-US
Content-Transfer-Encoding: 7bit
Message-ID: <2iednQq3V55KvHb-nZ2dnZfqn_ednZ2d@earthlink.com>
Lines: 47
X-Usenet-Provider: http://www.giganews.com
NNTP-Posting-Host: 68.222.41.46
X-Trace: sv3-gJA1VHV/m+8PK6czV1pZxHrfpuYQ+I0kxSkHusTnyTG04jU1T33wNw2tT16evGuQP2/xPADVLBLO8l7!c5u4KR+hAHTPtRSYsAU/oHEp8VnnS0WJ7vYza7CWPijkRO+9hItbyivJ4QtCgYseQWcNYNcApdV7!+Fwd3tf5VgvnV8+hDs8=
X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers
X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly
X-Postfilter: 1.3.40
 by: 25B.R867 - Tue, 14 Feb 2023 05:53 UTC

On 2/11/23 1:06 PM, Carlos E.R. wrote:
> On 2023-02-11 17:52, The Natural Philosopher wrote:
>> On 11/02/2023 15:59, David W. Hodgins wrote:
>>> On Sat, 11 Feb 2023 10:33:43 -0500, Gerald Gruner
>>> <gerald314@yahoo.de> wrote:
>>>> Strangely there seems to be a competition to find the most
>>>> comoplicated way
>>>> here in the thread.
>>>> The disk managing/formating tool provided by your distribution
>>>> should be
>>>> able to edit the USB-stick's label. In my distribututio it is
>>>> gnome-disks...
>>>
>>> As this is a linux newsgroup rather then a gnome newsgroup, indicating
>>> the command line tools that the desktop environment gui tool uses in the
>>> background is appropriate.
>>>
>>> Regards, Dave Hodgins
>>
>> Gnome is built over linux.
>>
>> Anyone who is running a GUI will have a GUI based disk editing tool
>>
>> Gparted,
>> Gnome-disk
>> KDE partition manager
>> to name but three.
>
> YaST.

The YAST disk-manager/formatter does deliver much finer setup
control, much more simply, than GParted or anything else.
There are all sorts of fine tweaks you can pick - including
things like sector size ... ie do you expect mass quantities
of small files or fewer huge files to be stored. Yea, some
other CL utilities can do that, but only with lots of often
obscure and poorly documented CL params.

I kinda gave up on SUSE/OpenSuse after IBM took over RH.
Non-paying users are likely to get the "beta", or worse,
code - guinea pigs for IBM/RH testing. SUSE is an RPM
distro and borrows heavily from the RHEL repos. The final
straw was when they removed hddtemp and put an inferior
version of ffmpeg in there ..... <giant flushing sound>

Still, for MOST users/needs, gparted is by far the easiest,
most transparent, way to do disks.

Re: Short name for USB

<3u8sbjxb68.ln2@Telcontar.valinor>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=9785&group=comp.os.linux.misc#9785

  copy link   Newsgroups: comp.os.linux.misc
Path: i2pn2.org!i2pn.org!news.swapon.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: robin_li...@es.invalid (Carlos E.R.)
Newsgroups: comp.os.linux.misc
Subject: Re: Short name for USB
Date: Tue, 14 Feb 2023 12:46:43 +0100
Lines: 56
Message-ID: <3u8sbjxb68.ln2@Telcontar.valinor>
References: <ts2hst$l6ua$2@dont-email.me>
<1crvbgma7vk4x$.dlg@10235314.user.individual.de>
<op.1z7lczosa3w0dxdave@hodgins.homeip.net> <ts8h4g$1f6gk$3@dont-email.me>
<v22lbjxscc.ln2@Telcontar.valinor>
<2iednQq3V55KvHb-nZ2dnZfqn_ednZ2d@earthlink.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Trace: individual.net vGz43RAcBEG51j0Rl+bT9w8k5tQeomsis1+xtsnAw0QZ7mulYu
X-Orig-Path: Telcontar.valinor!not-for-mail
Cancel-Lock: sha1:yb+4ZMSkhfMocbGThgzk4zJpcrU=
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101
Thunderbird/102.7.1
Content-Language: es-ES, en-CA
In-Reply-To: <2iednQq3V55KvHb-nZ2dnZfqn_ednZ2d@earthlink.com>
 by: Carlos E.R. - Tue, 14 Feb 2023 11:46 UTC

On 2023-02-14 06:53, 25B.R867 wrote:
> On 2/11/23 1:06 PM, Carlos E.R. wrote:
>> On 2023-02-11 17:52, The Natural Philosopher wrote:
>>> On 11/02/2023 15:59, David W. Hodgins wrote:
>>>> On Sat, 11 Feb 2023 10:33:43 -0500, Gerald Gruner
>>>> <gerald314@yahoo.de> wrote:
>>>>> Strangely there seems to be a competition to find the most
>>>>> comoplicated way
>>>>> here in the thread.
>>>>> The disk managing/formating tool provided by your distribution
>>>>> should be
>>>>> able to edit the USB-stick's label. In my distribututio it is
>>>>> gnome-disks...
>>>>
>>>> As this is a linux newsgroup rather then a gnome newsgroup, indicating
>>>> the command line tools that the desktop environment gui tool uses in
>>>> the
>>>> background is appropriate.
>>>>
>>>> Regards, Dave Hodgins
>>>
>>> Gnome is built over linux.
>>>
>>> Anyone who is running a GUI will have a GUI based disk editing tool
>>>
>>> Gparted,
>>> Gnome-disk
>>> KDE partition manager
>>> to name but three.
>>
>> YaST.
>
>   The YAST disk-manager/formatter does deliver much finer setup
>   control, much more simply, than GParted or anything else.
>   There are all sorts of fine tweaks you can pick - including
>   things like sector size ... ie do you expect mass quantities
>   of small files or fewer huge files to be stored. Yea, some
>   other CL utilities can do that, but only with lots of often
>   obscure and poorly documented CL params.
>
>   I kinda gave up on SUSE/OpenSuse after IBM took over RH.
>   Non-paying users are likely to get the "beta", or worse,
>   code - guinea pigs for IBM/RH testing. SUSE is an RPM
>   distro and borrows heavily from the RHEL repos. The final
>   straw was when they removed hddtemp and put an inferior
>   version of ffmpeg in there ..... <giant flushing sound>

Your ideas of openSUSE are obsolete.

>
>   Still, for MOST users/needs, gparted is by far the easiest,
>   most transparent, way to do disks.

--
Cheers, Carlos.

Re: Short name for USB

<tsg4je$2hrq7$2@dont-email.me>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=9786&group=comp.os.linux.misc#9786

  copy link   Newsgroups: comp.os.linux.misc
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: ric...@example.invalid (Rich)
Newsgroups: comp.os.linux.misc
Subject: Re: Short name for USB
Date: Tue, 14 Feb 2023 14:07:42 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 10
Message-ID: <tsg4je$2hrq7$2@dont-email.me>
References: <ts2hst$l6ua$2@dont-email.me> <1crvbgma7vk4x$.dlg@10235314.user.individual.de> <op.1z7lczosa3w0dxdave@hodgins.homeip.net> <ts8h4g$1f6gk$3@dont-email.me> <v22lbjxscc.ln2@Telcontar.valinor> <2iednQq3V55KvHb-nZ2dnZfqn_ednZ2d@earthlink.com>
Injection-Date: Tue, 14 Feb 2023 14:07:42 -0000 (UTC)
Injection-Info: reader01.eternal-september.org; posting-host="876f0880ed5364b128c65260339d3fc8";
logging-data="2682695"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+xyA/D/+zvzbcWoAZdayiD"
User-Agent: tin/2.0.1-20111224 ("Achenvoir") (UNIX) (Linux/3.10.17 (x86_64))
Cancel-Lock: sha1:etkDe5DV75+kc7RmE52Rk2Pekyc=
 by: Rich - Tue, 14 Feb 2023 14:07 UTC

25B.R867 <25B.R867@noaaada.net> wrote:
> There are all sorts of fine tweaks you can pick - including
> things like sector size

Sector size is fixed by the disk manufacturer when they create the
disk, and for mechanical drives is either 512 bytes or 4096 bytes.

You are likely referring to "cluster size" which is a different
concept, but is one in which you get to 'tweak' when making a given
filesystem.

Pages:1234
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor