TIP: Click on subject to list as thread! ANSI
echo: rberrypi
to: RICHARD KETTLEWELL
from: MARTIN GREGORIE
date: 2019-03-29 11:23:00
subject: Re: Mounting USB drives v

On Fri, 29 Mar 2019 08:32:14 +0000, Richard Kettlewell wrote:

> Martin Gregorie  writes:
>> On Thu, 28 Mar 2019 00:56:36 +0000, Martin Gregorie wrote:
>>> On Wed, 27 Mar 2019 19:46:42 +0000, Richard Kettlewell wrote:
>>>
>>>> Does it not work?
>>>>
>>>>
>> No, it does not.
>>
>> The manual says that labels can be used equivalently to /dev/sdn or
>> UUIDs,
>> but while
>>
>> usb_label="USB_SNAPSHOT"
>> usb_disk="/media/snapshot"
>> sudo mount -t ext4 -L "$usb_label" "$usb_disk"
>>
>> works correctly
>>
>> sudo fsck -n $usb_label
>
> Does it work if you use the syntax quoted in the man page, rather than
> using just the label name?

Yes it does.




--
Martin    | martin at
Gregorie  | gregorie dot org

--- SoupGate-Win32 v1.05
* Origin: Agency HUB, Dunedin - New Zealand | FidoUsenet Gateway (3:770/3)

SOURCE: echomail via QWK@docsplace.org

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.