diff options
| author | 2019-11-15 19:29:20 -0500 | |
|---|---|---|
| committer | 2019-11-15 19:29:20 -0500 | |
| commit | 996bdb61158669323f6c7d0e10fe57f2794f5be9 (patch) | |
| tree | 5e67ef6ee7ad75b3ecc8b784ea22ead13c28f54a /genfstab.in | |
| parent | 9ad058ee2cbce8d249f9dc1ce4f80964e32d2c07 (diff) | |
| parent | e1f5028f2c3adc68d125ddcdb290a34b03bc6809 (diff) | |
Update upstream source from tag 'upstream/23'
Update to upstream version '23'
with Debian dir 276b917a91240fceb27262a0665df9603ccf4581
Diffstat (limited to 'genfstab.in')
| -rw-r--r-- | genfstab.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/genfstab.in b/genfstab.in index b8220ea..c626290 100644 --- a/genfstab.in +++ b/genfstab.in @@ -220,7 +220,7 @@ done [[ $device = *'\040(deleted)' ]] && continue if [[ $type = file ]]; then - printf '%-20s' "$device" + printf '%-20s' "${device#${root%/}}" elif [[ $device = /dev/dm-+([0-9]) ]]; then # device mapper doesn't allow characters we need to worry # about being mangled, and it does the escaping of dashes |
