billw2 / rpi-clone

A shell script to clone a booted disk.
BSD 3-Clause "New" or "Revised" License
2.52k stars 331 forks source link

No -b option to findmnt on wheeze raspbian #47

Closed 6b6561 closed 7 years ago

6b6561 commented 7 years ago

rpi-clone fails on wheeze because there is no -b option available on the findmnt command. This is with rpi-clone version 2.0.6

`root@xxx:/ss/rpi-clone# rpi-clone sda findmnt: invalid option -- 'b'

Usage: findmnt [options] findmnt [options] | findmnt [options] findmnt [options] [--source ] [--target ]

Options: -s, --fstab search in static table of filesystems -m, --mtab search in table of mounted filesystems -k, --kernel search in kernel table of mounted filesystems (default)

-p, --poll[=] monitor changes in table of mounted filesystems -w, --timeout upper limit in milliseconds that --poll will block

-a, --ascii use ASCII chars for tree formatting -c, --canonicalize canonicalize printed paths `

billw2 commented 7 years ago

The -b option is removed. Thanks,

6b6561 commented 7 years ago

Confirmed to work! A big thank you!