mirror of
https://github.com/AuxXxilium/eudev.git
synced 2024-12-28 06:35:34 +07:00
mount: reword directory empty warning a bit
This commit is contained in:
parent
49111a708e
commit
a99124d92f
@ -502,7 +502,7 @@ static void automount_enter_waiting(Automount *a) {
|
||||
mkdir_p_label(a->where, 0555);
|
||||
|
||||
if (dir_is_empty(a->where) <= 0)
|
||||
log_notice("%s: Directory %s to mount over is not empty, ignoring. (To see the over-mounted files, please manually mount the underlying file system to a secondary location.)", a->meta.id, a->where);
|
||||
log_notice("%s: Directory %s to mount over is not empty, mounting anyway. (To see the over-mounted files, please manually mount the underlying file system to a secondary location.)", a->meta.id, a->where);
|
||||
|
||||
if (pipe2(p, O_NONBLOCK|O_CLOEXEC) < 0) {
|
||||
r = -errno;
|
||||
|
@ -960,7 +960,7 @@ static void mount_enter_mounting(Mount *m) {
|
||||
mkdir_p_label(m->where, m->directory_mode);
|
||||
|
||||
if (dir_is_empty(m->where) <= 0)
|
||||
log_notice("%s: Directory %s to mount over is not empty, ignoring. (To see the over-mounted files, please manually mount the underlying file system to a secondary location.)", m->meta.id, m->where);
|
||||
log_notice("%s: Directory %s to mount over is not empty, mounting anyway. (To see the over-mounted files, please manually mount the underlying file system to a secondary location.)", m->meta.id, m->where);
|
||||
|
||||
/* Create the source directory for bind-mounts if needed */
|
||||
p = get_mount_parameters_fragment(m);
|
||||
|
Loading…
Reference in New Issue
Block a user