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