Path: csiph.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: "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: References: 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: Xref: csiph.com comp.os.linux.misc:36984 On 2023-02-09 19:14, David W. Hodgins wrote: > On Thu, 09 Feb 2023 13:05:37 -0500, Carlos E. R. 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.