diff options
author | TruongSinh Tran-Nguyen <i@truongsinh.pro> | 2023-04-26 10:15:12 -0700 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2023-04-26 17:46:23 -0400 |
commit | 9ee211eacad51bce6858ca9b9755b6c9eb253f2e (patch) | |
tree | 13b7f55bb984c88d1534c96722f366792ab6a178 /rust-src/bch_bindgen/src/opts.rs | |
parent | 47ec3ed6edb90c1117d0c79c382f03a3ed87c5ca (diff) |
feat(cmd_mount): Add support for magic keyword `OLD_BLKID_UUID`
This commit enhances mount sub command by allowing it to accept
`OLD_BLKID_UUID=xxx` as the device, enabling whole fs mounting without relying
on colon-separated devices.
Using colon-separated devices in fstab is discouraged due to potential device
reference issues after reboot. Additionally, using `UUID=xxx` in fstab or with
`mount -t bcachefs` is currently infeasible as it depends on blkid, which prior
to v2.39, does not recognize bcachefs. This update enables mounting via fstab
using `OLD_BLKID_UUID=xxx` as obtained from `bcachefs show-super` "External
UUID".
Signed-off-by: TruongSinh Tran-Nguyen <i@truongsinh.pro>
Diffstat (limited to 'rust-src/bch_bindgen/src/opts.rs')
0 files changed, 0 insertions, 0 deletions