summaryrefslogtreecommitdiff
path: root/libbcachefs/alloc_foreground.c
diff options
context:
space:
mode:
authorLauri Tirkkonen <lauri@hacktheplanet.fi>2024-07-09 11:15:20 +0900
committerKent Overstreet <kent.overstreet@linux.dev>2024-07-14 21:49:58 -0400
commit7ebd67e63a37468d1f1dacb92c262f10275f973c (patch)
treeb101354391865ab5bb3764d87dbcbae8f2eab3b8 /libbcachefs/alloc_foreground.c
parent9e12dd06b940bdccb2b686d4bd510a00236d1eab (diff)
mount: replace rpassword with rustix::termios
because rpassword unconditionally open()s /dev/tty, it fails with ENXIO on the console without workarounds like busybox's cttyhack. in contrast, bcachefs unlock works fine on console, so change the passphrase prompt logic in mount to be closer to what it is in unlock. Signed-off-by: Lauri Tirkkonen <lauri@hacktheplanet.fi> Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'libbcachefs/alloc_foreground.c')
0 files changed, 0 insertions, 0 deletions