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

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?

--
https://www.greenend.org.uk/rjk/

--- 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™.