Rob Landley
|
a682f18b33
Earlier test ensures dev isn't null when !FLAG(a), so don't test same again.
|
2 years ago |
Elliott Hughes
|
b30b1857da
getline() returns -1 on EOF, not 0.
|
2 years ago |
Elliott Hughes
|
0fe9185c66
Fix various typos.
|
4 years ago |
Elliott Hughes
|
75d1bf9add
mount.c: fix an error check.
|
4 years ago |
wayling
|
b9e621e86b
fix loopback device mount fail
|
4 years ago |
Rob Landley
|
8a9484e8bf
Add UUID= support to mount, via blkid -U.
|
5 years ago |
Rob Landley
|
aa8e84dbd9
Switch mount to use FLAG() macros.
|
5 years ago |
Elliott Hughes
|
141a075c0e
Clean up some --help formatting.
|
5 years ago |
Rob Landley
|
d4adb3f8e2
Don't remove "remount" from the option list during early parsing, the mount
|
7 years ago |
Rob Landley
|
75eea7d5aa
Error if we can't autodetect filesystem type.
|
7 years ago |
Rob Landley
|
8fffeffdf2
Fix bug where mount -o leftover string didn't get passed through to kernel
|
8 years ago |
Elliott Hughes
|
289ca9b68c
Fix remounting /system on Android.
|
8 years ago |
Rob Landley
|
776aa3cb92
Before trying to remount read only, see if block device responds to "become rw"
|
9 years ago |
Paul Barker
|
1dd3704c5f
To ensure that toybox can be installed alongside busybox without
|
9 years ago |
Rob Landley
|
70a84a356b
Patches from Elliott Hughes to add missing arguments to error_exit() calls.
|
9 years ago |
Rob Landley
|
a03a0449e8
Don't mount a filesystem over an existing one with the same /dev and /dir.
|
9 years ago |
Rob Landley
|
4f0c3de1bf
Fix two mount bugs: 1) Don't skip a filesystem type when setting up loopback mount, 2) Don't stop checking filesystem types due to EBUSY, it may mean already mounted by another filesystem type you haven't tried yet.
|
9 years ago |
Rob Landley
|
679a21d674
mount: terminate list so unknown user mount attempts don't endlessly loop, add better error reporting.
|
9 years ago |
Rob Landley
|
360d57f843
Split xpopen() into xpopen_both(), xpopen(), and xrun() depending on whether we want to redirect both, one, or neither of stdin/stdout.
|
9 years ago |
Rob Landley
|
9b4ea9cf99
Promote mount. It's not perfect, but it basically works now.
|
9 years ago |