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)
|