[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: device names - so much escaping



On 05.04.2021 17:36, Richard Hector wrote:
On 5/04/21 11:48 pm, Greg Wooledge wrote:
On Mon, Apr 05, 2021 at 09:29:59PM +1200, Richard Hector wrote:
/dev/vg-backup0/d-rh-rm1-home

/dev/mapper/vg--backup0-d--rh--rm1--home

Apr  5 07:06:25 backup systemd[1]:
dev-mapper-vg\x2d\x2dbackup0\x2dd\x2d\x2drh\x2d\x2drm1\x2d\x2dsrv.device:
Job dev-mapper-vg\x2d\x2dbackup0\x2dd\x2d\x2drh\x2d\x2drm1\x2d\x2dsrv.device/start
failed with result 'timeout'.

But is this all really necessary? Can't these tools work without assigning
special meaning to ordinary characters?

Well, you're asking in the wrong place.  We're just end users here.  If
you want the tools to behave differently, you need to get in touch with
their respective developers or support forums.


True, true.

I guess I was hoping for general comment, whether anyone had insights, or agreed/disagreed with me :-)

Richard

One general comment coming right up. :)
The answer is always in man pages. [1] [2]
Maybe you can use "systemd-escape" utility to unescape messages before sending them via mail.

Systemd is quite complex tool and just as every other tool you have to learn how to use it.

[1] man systemd-escape
[2] man systemd.unit

-- 
With kindest regards, Alexander.

⢀⣴⠾⠻⢶⣦⠀ 
⣾⠁⢠⠒⠀⣿⡁ Debian - The universal operating system
⢿⡄⠘⠷⠚⠋⠀ https://www.debian.org
⠈⠳⣄⠀⠀⠀⠀ 

Reply to: